Page MenuHomePhabricator

Keep elasticsearch crosscluster settings in puppet
Closed, ResolvedPublic

Description

When enabling cross cluster search to support multi-instance we had to run custom scripts to update cluster settings (ref T213150).
Our puppet repo is not yet aware of this configuration.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
dcausse triaged this task as Medium priority.Mar 21 2019, 7:21 PM
dcausse moved this task from needs triage to Ops / SRE on the Discovery-Search board.

Keeping these configurations in puppet via elasti config file will not happen now due to many constrains. We will continue as it is now and then create icinga checks to alert when the remote clusters or seeds are not what they are in elastic.

Change 502950 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] icinga: add remote cluster check for elastic

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

Change 506378 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] elasticsearch: config file for aligning puppet config

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

Change 507045 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] icinga: create and apply config check

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

Change 506378 abandoned by Mathew.onipe:
elasticsearch: config file for aligning puppet config

Reason:
merged here: https://gerrit.wikimedia.org/r/c/operations/puppet/ /507045

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

Change 507950 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] elasticsearch: add new attribute

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

Change 508742 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] icinga: add unit test for elastic config check

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

Change 508742 abandoned by Mathew.onipe:
icinga: add unit test for elastic config check

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

Change 502950 abandoned by Mathew.onipe:
icinga: add remote cluster check for elastic

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

Change 507950 merged by Gehel:
[operations/puppet@production] elasticsearch: add new attribute

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

Change 507045 merged by Gehel:
[operations/puppet@production] icinga: create and apply cirrus settings check

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

Change 512340 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] icinga: correct cirrus settings file name

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

Change 512340 merged by Gehel:
[operations/puppet@production] icinga: correct cirrus settings file name

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

Change 512352 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[operations/puppet@production] icinga: cirrus settings check is Ok when file config is empty

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

Change 512352 merged by Gehel:
[operations/puppet@production] icinga: cirrus settings check is Ok when file config is empty

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

Fixed false negative bug in the check script (it would never detect drift): https://phabricator.wikimedia.org/T301511#7702414

Change 761721 had a related patch set uploaded (by Ryan Kemper; author: Ryan Kemper):

[operations/puppet@production] elastic: fix cirrus settings false negative

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