Status unknown.
Description
Details
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Beta Cluster: Use different Redis instance for LockManager | Southparkfan | operations/mediawiki-config | master | +2 -3 |
| Title | Reference | Author | Source Branch | Dest Branch | |
|---|---|---|---|---|---|
| rdb-lock: Finish Puppet config | cloudvps-repos/deployment-prep/tofu-provisioning!41 | southparkfan | T436480-finish | main | |
| rdb-lock: Add deployment-rdb-lock01 | cloudvps-repos/deployment-prep/tofu-provisioning!40 | southparkfan | T436480-initial | main |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T401839 Migrate deployment-prep away from Debian Bullseye to Bookworm/Trixie | |||
| Resolved | Southparkfan | T436480 Replace deployment-rdb01 (Bullseye deprecation) |
Event Timeline
Hi @Ladsgroup! I am currently working on getting the Beta Cluster off Bullseye. As the author https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1326944 and given your work on T427999, I would like your advice to proceed with this ticket.
As I understand, this change is a hack to rely on the Beta Cluster's redis_misc host for the LockManager. However, unlike in production, redis_misc in Beta was and still is solely used by MediaWiki's LockManager. In other words: replacing this redis_misc host with a single redis_lock one, followed by a change to resolve the ( $wmgRealm !== 'labs' ) ? $wmgRedisLockPassword : $wmgRedisPassword hack, would be a straightforward change to reduce technical debt, while keeping the number of MediaWiki config changes and resource footprint (cpu/mem) at a minimum. Is this correct?
If you feel a different proposal works out better, please let me know. Thanks in advance!
Hi, I think the simplest solution would be to create a new VM with redis, set the password accordingly and then just flip it there, it all should work, once that is set up, we can definitely start to get rid of differences between prod and beta including that password hack.
southparkfan opened https://gitlab.wikimedia.org/cloudvps-repos/deployment-prep/tofu-provisioning/-/merge_requests/40
rdb-lock: Add deployment-rdb-lock01
southparkfan merged https://gitlab.wikimedia.org/cloudvps-repos/deployment-prep/tofu-provisioning/-/merge_requests/40
rdb-lock: Add deployment-rdb-lock01
southparkfan opened https://gitlab.wikimedia.org/cloudvps-repos/deployment-prep/tofu-provisioning/-/merge_requests/41
rdb-lock: Finish Puppet config
southparkfan merged https://gitlab.wikimedia.org/cloudvps-repos/deployment-prep/tofu-provisioning/-/merge_requests/41
rdb-lock: Finish Puppet config
Mentioned in SAL (#wikimedia-cloud) [2026-09-22T22:43:46Z] <Southparkfan> add wmgRedisLockPassword to PrivateSettings.php - T436480
Change #1344405 had a related patch set uploaded (by Southparkfan; author: Southparkfan):
[operations/mediawiki-config@master] Beta Cluster: Use different Redis instance for LockManager
Change #1344405 merged by jenkins-bot:
[operations/mediawiki-config@master] Beta Cluster: Use different Redis instance for LockManager
Mentioned in SAL (#wikimedia-operations) [2026-09-29T20:55:17Z] <cklimas@deploy1003> Started scap sync-world: Backport for [[gerrit:1344405|Beta Cluster: Use different Redis instance for LockManager (T436480)]]
Mentioned in SAL (#wikimedia-operations) [2026-09-29T20:59:36Z] <cklimas@deploy1003> cklimas, southparkfan: Backport for [[gerrit:1344405|Beta Cluster: Use different Redis instance for LockManager (T436480)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.
Mentioned in SAL (#wikimedia-operations) [2026-09-29T21:08:02Z] <cklimas@deploy1003> Finished scap sync-world: Backport for [[gerrit:1344405|Beta Cluster: Use different Redis instance for LockManager (T436480)]] (duration: 12m 45s)
Mentioned in SAL (#wikimedia-releng) [2026-09-29T21:37:09Z] <Southparkfan> Beta Cluster: remove $wmgRedisPassword from PS.php, superseded by $wmgRedisLockPassword - T436480
Mentioned in SAL (#wikimedia-releng) [2026-09-29T21:52:19Z] <Southparkfan> decommission deployment-rdb01 - T436480