Hi all,
The Toolforge Elasticsearch cluster is being replaced with a cluster
based on OpenSearch v2[0]. If your tool uses the writable
Elastic/OpenSearch functionality you will need to manually migrate
your tool to the new cluster as described in the rest of this email.
(Note that this is different from the "Cloud Elastic" service which
provides read-only access to the search indexes of Wikimedia wikis.)
The Wikitech page[0] has been updated with the details of the new
cluster, which are almost identical to the previous cluster except the
hostname and software version used. The same set of credentials will
also work on the new cluster. There are, however, some breaking API
changes between the old version and the new one, which is why we are
not just migrating all indexes for all tools at once.
To help migrate data from the old cluster to the new one, we have
temporarily added a `toolforge migrate-index` command to the bastion
servers to copy over an index and its mappings, aliases and
replication settings. The tool takes a space-separated list of indexes
to migrate, and will use credentials saved as envvars by default (and
prompt you if those are not available). Migration is relatively quick,
in my tests an index with about 400k records and 1+1 replication takes
about a minute to migrate.
The old Elasticsearch cluster will be shut down on 24 August.
This work is tracked as T401818.[1]
[0]: https://wikitech.wikimedia.org/wiki/Help:Toolforge/OpenSearch
[1]: https://phabricator.wikimedia.org/T401818
--
Taavi Väänänen (he/they)
Site Reliability Engineer, Tools Infrastructure
Wikimedia Foundation
_______________________________________________
Cloud-announce mailing list -- cloud-announce(a)lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.…
This email relates to the shared /data/scratch mount used by toolforge
and some cloud-vps projects. It is provided to the following projects:
- dumps
- language
- maps
- math
- mwoffliner
- paws
- statanalyser
- testlabs
- tools
- toolsbeta
- video
- wikidata-query
- wikidumpparse
- wikiqlever
As part of our push to eliminate the use of Debian Bullseye, we will be
replacing the server that hosts the nfs scratch volume on Monday,
sometime around 15:00 UTC. Testing suggests that this will only produce
a few minutes of downtime for the volume (likely reported as 'Permission
Denied'); if you find your system frozen please give it a few minutes
and then reboot if waiting doesn't help.
The data on the old server will be transferred to the new server, so no
data will be lost.[0]
Bonus points: If you are a cloud-vps admin and have read this far,
please consider whether you still need the scratch volume. This service
was initially provided before we had attachable block storage
available[1], so many users rely on scratch not for file transfer
between hosts but because they needed extra storage space. If you are
one of those cases, please open a quota ticket[2] and mention that you
are moving off of scratch. Life without NFS is better for everyone!
This work is tracked on phabricator here:
https://phabricator.wikimedia.org/T433426
- Andrew + the WMCS team
[0] ...but if you have data on scratch that you care about, it should be
somewhere else! We make no reliability guarantees for this storage.
[1]
https://wikitech.wikimedia.org/wiki/Help:Adding_disk_space_to_Cloud_VPS_ins…
[2] https://phabricator.wikimedia.org/project/view/2880/
_______________________________________________
Cloud-announce mailing list -- cloud-announce(a)lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.…
Hello all,
If you don't access (xmldata)dumps over NFS you can stop reading now.
*tl;dr make sure your Cloud VPS and Toolforge code accesses NFS dumps via
canonical path /public/dumps*
*Paths with hostnames hardcoded
(/mnt/nfs/dumps-clouddumps100[12].wikimedia.org <http://wikimedia.org>)
are deprecated and will stop working after Monday 28th September 2026*
Over the next few days Cloud VPS hosts will start mounting xmldatadumps at
/mnt/nfs/dumps. This move is part of the work to simplify dumps-nfs
operations (https://phabricator.wikimedia.org/T411248) and deprecate paths
with hardcoded hostnames.
What does this mean for your code?
If your code accesses xmldatadumps via /public/dumps symlinks in Cloud VPS
there is no action required. This location will be maintained as the public
and recommended interface to access xmldatadumps over NFS as per
https://wikitech.wikimedia.org/wiki/Help:Shared_storage#/public/dumps
If your Cloud VPS/Toolforge code uses paths with hostnames hardcoded
(/mnt/nfs/dumps-clouddumps1001.wikimedia.org and /mnt/nfs/
dumps-clouddumps1002.wikimedia.org) then please change it to use
/public/dumps/public instead. The legacy locations with hostnames will be
maintained as symlinks during a transition phase up until Monday September
28th
best,
Filippo
--
*Filippo Giunchedi*
Staff Site Reliability Engineer
Wikimedia Foundation <https://wikimediafoundation.org/>
_______________________________________________
Cloud-announce mailing list -- cloud-announce(a)lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.…
Hi,
I spend a few days investigating a reproducible system crash in my
mediawiki2latex project. On my local machine it turned out that my fan
was not running which could be resolved by the following the first
answer on the following website.
https://stackoverflow.com/questions/49377334/usr-sbin-pwmconfig-there-are-n…
I tried to run the same code (the one that caused the local system
crash) on the cloud instance mediawiki2latex in the project
collection-alt-renderer on wmcloud. After an hour of processing the
instance was not reachable by ssh and also not reachable via its web
interface (https://mediawiki2latex.wmcloud.org/). This makes me feel
that a similar fan problem might exist in wmcloud. I am very unsure if
this is really the case but I thought is better to tell you about it in
comparison with keeping silent.
Yours Dirk
Forwarding this note about recent Gerrit changes from wikitech-l [0]
for visibility.
[0]: https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/…
---------- Forwarded message ---------
From: Daniel Zahn via Wikitech-l <wikitech-l(a)lists.wikimedia.org>
Date: Tue, Jul 21, 2026 at 2:24 PM
Subject: [Wikitech-l] Gerrit: new SSH host key / fingerprint
To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
Cc: Daniel Zahn <dzahn(a)wikimedia.org>
Hello Gerrit users,
tomorrow, around 1800 UTC [1]; Gerrit will be getting a new SSH host key.
So when you interact with Gerrit via SSH you will see a new
fingerprint and might be asked if you trust it.
We have already added it to the known_hosts file provided by wmf-laptop.
You can also directly import the auto-generated known_hosts file if
you like. [2] or verify it on Wikitech [3] and adding it right here:
SHA256:njCmWMsshq3MqQxyIFO36UNwCwzTamXERqylF1XJhd8 ssh server at
gerrit.wikimedia.org (ED25519)
The old existing RSA key will stay valid in parallel until August 4th
when it will be removed.
The related ticket is T240266 [4].
[1] https://wikitech.wikimedia.org/wiki/Deployments#deploycal-item-20260722T1500
[2] https://config-master.wikimedia.org/known_hosts
[3] https://wikitech.wikimedia.org/wiki/Help:SSH_Fingerprints/gerrit.wikimedia.…
[4] https://phabricator.wikimedia.org/T240266
--
Daniel Zahn <dzahn(a)wikimedia.org>
Site Reliability Engineer
--
Bryan Davis Wikimedia Foundation
Principal Software Engineer Boise, ID USA
[[m:User:BDavis (WMF)]] irc: bd808
_______________________________________________
Cloud-announce mailing list -- cloud-announce(a)lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.…
One of the cloud-vps compute servers, cloudvirt1071, crashed a few
minutes ago. I have now restarted it and moved all VMs to other hosts,
but a small number of VMs suffered 15 or so minutes of downtime followed
by a reboot. Those VMs are:
kube-2js6t-default-worker-5ff26-rg5n9-nxtmp.zuul
kube-2js6t-default-worker-5ff26-rg5n9-r722f.zuul
k3s.catalyst-dev
mediawiki2latex.collection-alt-renderer
toolsbeta-test-k8s-worker-nfs-8.toolsbeta
tools-k8s-worker-nfs-44.tools
tools-k8s-worker-nfs-32.tools
No data was lost, and no action should be needed; this is just
informational for anyone who noticed the downtime. Toolforge tools
should have been unaffected, although some pods were likely rescheduled
after a few seconds of hesitation.
Any followup on this incident will be tracked on
https://phabricator.wikimedia.org/T431374
-Andrew
_______________________________________________
Cloud-announce mailing list -- cloud-announce(a)lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.…
Hello,
This is a friendly reminder that the next Toolforge Monthly Meeting is
coming up in one week, on Tuesday, July 28.
The Toolforge monthly meeting is a one-hour engineering-focused meeting to
discuss the current state and the future plans of Toolforge, to unblock
some decisions or to get everyone on the same page. It's also an
opportunity for technical contributors to connect with the Tools Platform /
Infrastructure teams and contribute to the ongoing and future work to
improve Toolforge.
The meeting agenda and joining information are available on the meeting
wiki page[0].
The current agenda includes:
-
Toolforge Office Hours
-
Is there community interest?
-
What format would work best?
-
Kubernetes upgrade workgroup progress
-
Push-to-Deploy updates
If there are other topics you'd like to discuss, please feel free to add it
to the agenda on the wiki before the meeting. We'd be happy to include
community-driven discussion topics.
Whether you're a long-time Toolforge maintainer or simply interested in the
platform, you're welcome to join the discussion.
We look forward to seeing you there!
[0]:
https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Monthly_meeting
Thanks!
--
Seyram Komla Sapaty
Developer Advocate
Wikimedia Cloud Services
I have a job I run under cron on toolforge:
> toolforge jobs run fac-summary-bot --command $HOME/fac-tools/toolforge/bot.sh --image python3.11 --schedule "*/15 * * * *" --timeout 300
It runs fine, but what I don't understand is that it logs output to fac-summary-bot.out that looks like:
> https://prosesize.toolforge.org/api/en.wikipedia.org/Mike%20Enzi
> {'prose_size': 23337, 'word_count': 3800, 'references': 5976}
Which looks like a request/response pair requests (or urllib) would have logged from:
> def prose_size(self) -> int:
> "Return the readable prose size in words."
> url = "https://prosesize.toolforge.org/api/html"
> headers = {
> "user-agent": f"fac_tools ({argv[0]})",
> "content-type": "test/html",
> }
> r = requests.post(url, headers=headers, data=self.parsoid_html)
> r.raise_for_status()
> data = r.json()
> return data["word_count"]
except that I never turned on logging for these libraries. I've verified that these have no logging configured by dumping the config with logging_tree <https://pypi.org/project/logging-tree/>:
> o<--"requests"
> | Level NOTSET so inherits level WARNING
> | Handler <NullHandler (NOTSET)>
> o<--"urllib3"
> Level NOTSET so inherits level WARNING
> Handler <NullHandler (NOTSET)>
I cannot reproduce this outside the toolforge environment, nor can I reproduce it when I shell into the krb backend and run it manually. As far as I can tell, it only happens when run by cron under toolforge. Anybody have a clue what might be going on?
tl;dr: we are about to delete a whole lot of files on PAWS. Please reach
out /quickly/ if you have unusually large storage needs in paws or if
you find important things missing.
--
Due to an increase in inappropriate and/or abusive uses, we are setting
up more aggressive scanning and clearing of the NFS storage that
underlies PAWS notebooks. This will be largely automated and will be a
fairly blunt instrument; ideally we will only erase files associated
with invalid uses but there are likely to be some false positives so I'm
hoping to get user feedback when we overstep.
In order to free up working space I'm going to need to delete some large
files right now. Going forward, files will be moved into purgatory for a
couple of weeks before deletion, so if you find important data missing
it can likely be recovered if you contact us right away. Either look for
an admin on IRC or follow up on this phab task:
https://phabricator.wikimedia.org/T327936
This is all briefly documented at:
https://wikitech.wikimedia.org/wiki/PAWS/Getting_started_with_PAWS#Usage_an…
_______________________________________________
Cloud-announce mailing list -- cloud-announce(a)lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.…
Hello,
I am facing a problem with a missing directory called "cpufreq" on the
instance mediawiki2latex on the project collection-alt-renderer
the directory:
/sys/devices/system/cpu/cpu0/
exists, but the directory
/sys/devices/system/cpu/cpu0/cpufreq
does not exist. It happened when I ran the following command:
dhun@mediawiki2latex:~$ chromium --no-sandbox --no-pdf-header-footer
--headless --print-to-pdf="map1.pdf" map1.html
[0706/114648.182905:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145]
open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file
or directory (2)
[0706/114648.182973:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145]
open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file
or directory (2)
Trace/breakpoint trap
So I think chromium wants to access the clock rate of the cpu but fails
in doing so. I found a post on a forum that suggests to change the
settings of the hypervisor:
https://unix.stackexchange.com/questions/676022/chrome-crashes-with-subproc…
Any help is appreciated!
Yours Dirk