ClusterLabs / ClusterLabs/resource-agents
VirtualDomain status waits forever if libvirtd is not running
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
If the libvirtd is down or virsh cannot connect to it for whatever reason, VirtualDomain considers that as "no state" for the domain. That turns it into an infinite loop and operations eventually time out (stop too). Noticed while shutting down a node where libvirt got erroneously stopped before pacemaker: the node got fenced because a VirtualDomain resource timed out first in migrate then in stop.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the VirtualDomain resource agent and its handling of virsh connection failures when libvirtd is unavailable. Reproduce the status and stop paths with libvirtd stopped or virsh unable to connect. Done means those operations fail or recover instead of looping until they time out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100