Page MenuHomeClusterLabs Projects

Clearing of single op's failcount is not connected on controller side
Closed (Duplicate)Public

Assigned To
None
Authored By
nrwahl2
Dec 29 2023, 1:12 AM
Tags
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

Commit 5ddfc16f added XML_RSC_ATTR_CLEAR_OP and XML_RSC_ATTR_CLEAR_INTERVAL. However, nothing set them then (even after 56b7a382 added single-op failcount clearing to crm_resource), and nothing sets them now.

(Also, they're not resource attributes, so the naming convention needs to change.)

We need to decide if this is something that needs fixing (that is, we need to plug this functionality into something); or if 5ddfc16f is a remnant of an abandoned approach and can be reverted.

I haven't done any testing of clearing a single op's failcount yet. I'd hope that it basically works. Probably this controller code either is unnecessary (best case) or implements some aspect of failcount clearing that didn't get integrated and tested properly.

Event Timeline

nrwahl2 triaged this task as Normal priority.Dec 29 2023, 1:12 AM
nrwahl2 created this task.
nrwahl2 created this object with edit policy "Restricted Project (Project)".