Parsoid, citoid, mathoid, cxserver, apertium all seem to have ::beta and ::production roles that are a lot of duplicated code except for some jenkins access.
Unify them into just a single role + an additional role for jenkins access.
Parsoid, citoid, mathoid, cxserver, apertium all seem to have ::beta and ::production roles that are a lot of duplicated code except for some jenkins access.
Unify them into just a single role + an additional role for jenkins access.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T53494 Use Beta cluster as a true canary for code deployments (epic) | |||
Open | None | T87220 Minimize infrastructure differences between Beta Cluster and production | |||
Resolved | yuvipanda | T86644 Remove all ::beta roles in puppet | |||
Resolved | hashar | T86633 Unify ::production / ::beta roles for *oid | |||
Resolved | • mobrovac | T90668 Replace custom server.js with service-runner | |||
Resolved | • GWicke | T135679 RFC: Clarify / clean up return values from ServiceRunner.run() | |||
Resolved | yuvipanda | T140227 Remove parsoid UID/GID from Labs LDAP | |||
Resolved | • mobrovac | T140218 Remove automatic beta updates for Parsoid | |||
Resolved | • mobrovac | T140477 Make Parsoid Vagrant role use service::node | |||
Resolved | • santhosh | T101272 Standardise CXServer deployment |
Change 184586 had a related patch set uploaded (by Yuvipanda):
apertium: Unify production and beta roles
Change 184590 had a related patch set uploaded (by Yuvipanda):
cxserver: Unify production and beta roles
Note that hiera changes for deployment-prep must be made before any of
these get merged.
Change 184605 had a related patch set uploaded (by Yuvipanda):
citoid: Unify production and beta roles
Change 184884 had a related patch set uploaded (by Yuvipanda):
Unify mathoid production and beta roles
the parsoid code seems a fair bit more hairy - is it being deployed via different methods in prod vs labs (trebuchet vs jenkins) exclusively? I'm not fully sure. @GWicke thoughts?
Change 193082 had a related patch set uploaded (by Yuvipanda):
parsoid: Attempt to unify prod and beta roles
https://gerrit.wikimedia.org/r/#/c/193082/ has basically killed the current beta role and just picked up the prod role, and testing on deployment-parsoid01-test seems to work fine, but I *think* it is configured to use prod. I see that beta used to have /srv/deployment/parsoid/deploy/conf/wmf/betalabs.localsettings.js as its settings file but I have no idea what puts it there / where it comes from.
And https://github.com/search?q=betalabs.localsettings.js&type=Code&utf8=%E2%9C%93 tells me it isn't really mentioned anywhere other than the role. Is this file hand maintained? @hashar / @GWicke?
It's kept in the parsoid/deploy repository: https://git.wikimedia.org/blob/mediawiki%2Fservices%2Fparsoid%2Fdeploy/ee3529b23fa8e56b06a5090c73ab6bbb96402b47/conf%2Fwmf%2Fbetalabs.localsettings.js
Right, so the file itself is in the parsoid deploy repository, but unsure why the deployment host actually gets the betalabs file.
Yes, definitely. There's already a task for that - T90668: Replace custom server.js with service-runner, but we need to do a bit of more work to satisfy Parsoid's requirements. After the switch to service-runner, Parsoid can start using service::node as well.
or just fix the current manifests (in role namespace unfortunately so it is a bit of work)
I don't know if that's worth the trouble, honestly, given the info above.
@akosiaris, a precondition for parsoid moving is T90668: Replace custom server.js with service-runner.
Edit: Clearly I was too slow to save ;)
Change 193082 abandoned by Hashar:
parsoid: Remove parsoid beta role
Reason:
The bits in the parsoid::beta class are actually needed. When we switch the deployment of services on beta to scap3, we will be able to do the cleanup.
There is still role::parsoid::beta left over. We probably want to audit what is left in puppet.git but afaik there is nothing left to do.
https://gerrit.wikimedia.org/r/#/c/300067/ addresses this. Will amend the commit to link it to this bug too.
Change 300067 had a related patch set uploaded (by Mobrovac):
Parsoid: clean up the manifests and files
Change 300067 merged by Giuseppe Lavagetto:
Parsoid: clean up the manifests and files