Page MenuHomePhabricator

Provisioning/maintenance scripts
Closed, ResolvedPublic

Description

It would be very beneficial to have a way to script common (and not so common) operational tasks like cluster node maintenance and/or deployment.

Some brainstorming and rationale:
https://etherpad.wikimedia.org/p/wmcs_ops_scripts

Final proposal:
https://wikitech.wikimedia.org/wiki/Wikimedia_Cloud_Services_team/EnhancementProposals/Operational_Automation

Event Timeline

dcaro triaged this task as High priority.Dec 1 2020, 10:23 AM
dcaro moved this task from Inbox to Doing on the cloud-services-team (Kanban) board.

Mentioned in SAL (#wikimedia-cloud) [2020-12-04T10:12:16Z] <dcaro> Trying to create a whole new etcd member from ansible (T267412)

Mentioned in SAL (#wikimedia-cloud) [2020-12-04T11:17:26Z] <dcaro> Created a new 'standardized' security froup for k8s from ansible toolsbeta-k8s-full-connectivity (T267412)

Mentioned in SAL (#wikimedia-cloud) [2020-12-09T15:30:23Z] <dcaro> Playing aronud adding a new etcd node (k8s-etcd-7) (T267412)

Mentioned in SAL (#wikimedia-cloud) [2020-12-10T08:58:35Z] <dcaro> starting a new etcd instance completely from ansible playbook (etcd-8) (T267412)

Change 657780 had a related patch set uploaded (by David Caro; owner: David Caro):
[operations/puppet@production] wmcs.enc: added a small cli to be able to use the enc

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

Change 657780 merged by David Caro:
[operations/puppet@production] wmcs.enc: added a small cli to be able to use the enc

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

Change 659009 had a related patch set uploaded (by David Caro; owner: David Caro):
[operations/software/spicerack@master] remote: allow prepending every command with sudo

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

Change 661921 had a related patch set uploaded (by David Caro; owner: David Caro):
[operations/software/spicerack@master] toolforge.etcdctl: add new etcdctl module

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

Change 659009 merged by David Caro:
[operations/software/spicerack@master] remote: allow prepending every command with sudo

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

Change 661921 merged by David Caro:
[operations/software/spicerack@master] toolforge.etcdctl: add new etcdctl module

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