ClusterLabs / ClusterLabs/resource-agents
VirtualDomain VMs aren't migrated during node shutdown.
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
### Steps to reproduce
* configure a two node cluster
* configure a VirtualDomain resource active on one node
* reboot the node hosting VM
### Expected behavior
The resource will be migrated to the other node using `migrate_from` and `migrate_to` RA actions.
### Actual behavior
The RA cannot query VM state and the `migrate_from` operation times out. (Alternatively, VM is shut off by systemd shutdown transaction before VirtualDomain RA can act on it.)
Technical details and proposal is in the referenced patch.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the VirtualDomain resource and its resource-agent handling of the migrate_from and migrate_to actions. Reproduce the two-node shutdown scenario, then investigate why VM state cannot be queried or why systemd shuts the VM off before the agent acts. Done means migration completes during node shutdown without the migrate_from operation timing 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
- 25/100