Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
operations/puppet | production | +4 -0 | Assign swift roles via ENC |
Details
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T88701 [Quarterly Success Metric] Green nightly builds on the staging cluster (tracking) | |||
Declined | None | T88702 Create staging cluster | |||
Declined | None | T91553 Create staging-ms-fe* / staging-ms-be* (swift frontend/backend) |
Event Timeline
Comment Actions
Change 200625 had a related patch set uploaded (by Thcipriani):
Assign swift roles via ENC
Comment Actions
Roughly followed wikitech instructions for swift cluster: https://wikitech.wikimedia.org/wiki/Swift/Setup_New_Swift_Cluster
Requires a couple of bash scripts, but can be spun up and down in ~15 mins.
Process
- Create staging-ms-be{0..3} and run puppet on each instance
- Create loopback storage on each backend: https://phabricator.wikimedia.org/P453 and run puppet again
- Create staging-ms-fe01 and run puppet
- Run https://phabricator.wikimedia.org/P454 on staging-ms-fe01 to create account, object, container builders and rings
- Copy {account,container,object}.{builder,ring.gz} from /etc/swift/ on staging-ms-fe01 to /var/lib/puppet/volatile/swift/staging on palladium
- Run puppet agent on staging-ms-be{0..3} to distribute builder and rings
- Run https://phabricator.wikimedia.org/P455 on staging-ms-fe01 to create the mw:media and swift:dispersion accounts and users
still need imagescaler and mw-app instance to really finish off this task, but I think that updates to https://wikitech.wikimedia.org/wiki/Hiera:Staging plus the patch above cover most of the work.