Page MenuHomePhabricator

Make /srv/mediawiki editable for parsoid devs on mw-parsoid
Closed, ResolvedPublic

Description

Currently we have migrated succesfully our rt-testing from parsoidtestXXXX/testreduceXXXX nodes to k8s (mw-parsoid deployment) and cloudvps.
There is one workflow issue raised from our devs regarding editing /srv/mediawiki for debug purposes.

In parsoidtest nodes devs can temporarily edit /srv/mediawiki to add eg a log line to debug an issue.
Currently this is not possible because the /srv/mediawiki codebase on mw-parsoid pods is the one provided by the image.

Can we use the same setup mw-experimental has that allows overriding /srv/mediawiki temporarily and mounts the mw codebase in the k8s deployment?

Event Timeline

Change #1308029 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/deployment-charts@master] mwparsoid: Mount /srv/mediawiki from mw-experimental

https://gerrit.wikimedia.org/r/1308029

Given that this is not something that we generally encourage (its more of a last resort in case we need to debug something complicated) it might also be an option to default to false and let devs know that they can override it by changing the helmfile value (and then revert it).

Also that protects us from the case were multiple devs access mw-experimental codebase at the same time.

Clement_Goubert updated Other Assignee, added: Clement_Goubert.
Clement_Goubert moved this task from Inbox to In Progress on the ServiceOps board.

Change #1308029 merged by jenkins-bot:

[operations/deployment-charts@master] mwparsoid: Mount /srv/mediawiki from mw-experimental

https://gerrit.wikimedia.org/r/1308029

Change #1308119 had a related patch set uploaded (by Jgiannelos; author: Jgiannelos):

[operations/deployment-charts@master] mw-parsoid: Disable default value for mw-experimental after verifying it in codfw

https://gerrit.wikimedia.org/r/1308119

Change #1308119 merged by jenkins-bot:

[operations/deployment-charts@master] mw-parsoid: Disable mw-experimental after verifying it in codfw

https://gerrit.wikimedia.org/r/1308119