Werk #23140 · Nov 17, 26
heartbeat_crm: don't crash on enforced services without expected node count
If the service "Heartbeat CRM General" was created as an enforced
service and its rule did not set an expected number of nodes or
resources, the service went to UNKNOWN with KeyError: 'num_nodes'.
The check now only compares the number of nodes and resources when the rule specifies them, and reports the cluster status as usual otherwise.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p22All Editions
- 2.4.0p44Not yet releasedAll Editions