Page MenuHomeClusterLabs Projects

crm_resource gets stuck deleting failed resource with a constraint
Open, HighPublic

Assigned To
None
Authored By
clumens
Apr 2 2025, 1:10 PM
Tags
  • Restricted Project
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

  1. Create dummy resource with op_sleep longer than op monitor interval, so it fails.
  2. Create a location constraint on that resource.
  3. Wait until resource fails and then disable it.
  4. Delete the resource.
  5. crm_resource --wait -T 1 will time out instead of succeed.

See also:

Event Timeline

clumens triaged this task as High priority.Apr 2 2025, 1:10 PM
clumens created this task.
clumens created this object with edit policy "Pacemaker (Project)".
clumens moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 2 2025, 1:15 PM
clumens removed a project: Restricted Project.Thu, Apr 24, 10:10 AM