Page MenuHomePhabricator

Create verification scripts for common operations/fight config drift
Open, MediumPublic

Description

Per IRC conversation with @EBernhardson, some of our common operations depend a little too much on human vigilance and could benefit from some simple verification scripts. Some suggested improvements:

  • OpenSearch plugins: Verify the plugins are installed on all instances after an update, see this comment for an example.
  • Reindexing: we occasionally miss an index.
  • config drift quorum failures in T400160 were caused by forgetting to remove settings that should've only been in place during a migration operation. We should monitor the cluster settings and warn when they deviate from what's set in Puppet for more than a few days.

Creating this ticket to:

  • Create subtickets for specific operations
  • Create verification scripts
  • Document verification scripts on Wikitech, preferably as part of a runbook.
  • Socialize these changes so Search Platform and Data Platform SRE are aware that the scripts exist.

Event Timeline

BTullis renamed this task from Create verification scripts for common operations to OpenSearch: Create verification scripts for common operations.Jul 28 2025, 6:18 PM
BTullis triaged this task as Medium priority.
bking renamed this task from OpenSearch: Create verification scripts for common operations to OpenSearch: Create verification scripts for common operations/fight config drift.Aug 21 2025, 9:59 PM
bking updated the task description. (Show Details)

Some of the above bullet points could be addressed by greater visibility (config drift, plugins installed etc). So there may be some overlap with T392222

bking renamed this task from OpenSearch: Create verification scripts for common operations/fight config drift to Create verification scripts for common operations/fight config drift.Oct 7 2025, 9:35 PM
bking updated the task description. (Show Details)
Gehel subscribed.

This is stalled, returning it to the long term backlog.