Page MenuHomePhabricator

Translate ES ansible playbook to cumin cookbook
Closed, InvalidPublic

Description

I wrote this playbook to troubleshoot startup issues and upgrade Elasticsearch in our deployment-prep environment.

Since cumin is preferred over ansible at WMF, creating this task to translate the playbook into a cumin cookbook (or modify existing cookbook).

Event Timeline

hashar subscribed.

I have removed Phabricator (Search) .

According to closed T301954: Upgrade deployment-prep to elasticsearch 6.8.23 the Beta-Cluster-Infrastructure ElasticSearch has been upgraded so I guess this task is no more needed.

I wrote this before I realized that there is no cumin/spicerack in the deployment-prep env. I still need to get more familiar with cookbooks, but we'll close this one for now and get another ticket with some better requirements started.

@bking do note there is a Cumin instance on Beta-Cluster-Infrastructure : deployment-cumin.deployment-prep.eqiad.wmflabs

hashar@deployment-cumin:~$ sudo cumin --force '*' 'true'
66 hosts will be targeted:
...
100.0% (66/66) success ratio (>= 100.0% threshold) for command: 'true'.
100.0% (66/66) success ratio (>= 100.0% threshold) of nodes successfully executed all commands.

I don't know anything about Spicerack / cookbooks though.