Page MenuHomeClusterLabs Projects

Health agents should use degraded status for unavailable data
Open, NormalPublic

Assigned To
None
Authored By
kgaillot
Dec 12 2023, 10:33 AM
Tags
  • Restricted Project
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

Pacemaker has multiple health agents under agents/ocf. Currently they have inconsistent handling of errors when obtaining the health information (CPU usage, etc.) and when setting the health attribute. In most cases they just ignore errors, potentially leading to syntax errors when trying to use the information, and giving users no clear indication that anything is wrong.

They should use the OCF degraded result (190) along with a helpful exit reason to indicate such errors.

Event Timeline

kgaillot triaged this task as Normal priority.Dec 12 2023, 10:33 AM
kgaillot created this task.
kgaillot created this object with edit policy "Restricted Project (Project)".