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