Page MenuHomePhabricator

SystemdUnitFailed: generate-mysqld-exporter-config.service on prometheus100[56]:9100
Closed, ResolvedPublic

Description

Yesterday we received this alert on the two Prometheus hosts 1005 and 1006.
After adding some debug output, I found that the instance clouddb1024 hasn’t set the section (at least not in the script’s data structure).

...
{'name': 'clouddb1024:3314',
 'group': 'labsdb',
 'section': None,
 'role': 'slave'},
...
...
None: {'slave': ['clouddb1024:13314']}}
...
The query returned instances with NULL sections, aborting.
Check the instances, section_instances or sections tables.

Could this be related to https://gerrit.wikimedia.org/r/c/operations/puppet/+/1205003 and its merge/revert?

Thank you

Event Timeline

Marostegui triaged this task as Medium priority.Nov 18 2025, 9:07 AM
Marostegui moved this task from Triage to In progress on the DBA board.

Yeah could be. We set it up for x4, but later after thinking about it, we decided to leave it on s4 for now as it would complicate things for now.
What I just saw is that I didn't change the config in zarcillo

cumin2024@db1215.eqiad.wmnet[zarcillo]> update section_instances set section='s4' where instance='clouddb1024:3314';
Query OK, 1 row affected (0.002 sec)
Rows matched: 1  Changed: 1  Warnings: 0

I believe this should fix the issue, could you confirm?