The query generated in get_core_masters_heartbeats is 'A:db-core and A:eqiad and A:db-section-x2 and A:db-role-master'
This creates an exception because the code seems to expect the hosts for A:db-section-x2 to also be in A:db-core, and it's not the case:
cgoubert@cumin1001:~$ sudo cumin 'A:eqiad and A:db-core and A:db-role-master' 11 hosts will be targeted: db[1100,1103,1109,1118,1131,1136,1138,1157,1162].eqiad.wmnet,es[1021,1024].eqiad.wmnet DRY-RUN mode enabled, aborting cgoubert@cumin1001:~$ sudo cumin 'A:eqiad and A:db-section-x2 and A:db-role-master' 1 hosts will be targeted: db1151.eqiad.wmnet DRY-RUN mode enabled, aborting
Should db1151 be in A:db-core or should the check skip x2 because it's active/active?
Stacktrace: