When a live migration of a VirtualDomain resource fails in a RHEL 7 pacemaker cluster, the underlying VM is completely stopped then booted back up
Issue
- We have tried to live migrate a virtual system with in the cluster, the system was shutdown, after system was started it shutdown second time.
- When a
VirtualDomainwas being migrated in our cluster, it failed and completely restarted. - Our cluster was migrating a VM and we see an error about it being "too active" and then it gets recovered.
Jun 22 13:09:22 [16331] node1 lrmd: notice: operation_finished: > vwskbaubav44_migrate_to_0:4495:stderr [ error: Failed to open file '/iso/rhel-server-6.3-x86_64-dvd.iso': No such fi
[...]
Jun 22 13:09:42 [16334] node1 pengine: info: native_print: myVM (ocf::heartbeat:VirtualDomain): FAILED
Jun 22 13:09:42 [16334] node1 pengine: error: native_create_actions: Resource myVM (ocf::VirtualDomain) is active on 2 nodes attempting recovery
Jun 22 13:09:42 [16334] node1 pengine: warning: native_create_actions: See http://clusterlabs.org/wiki/FAQ#Resource_is_Too_Active for more information.
Jun 22 13:09:42 [16334] node1 pengine: info: RecurringOp: Start recurring monitor (10s) for myVM on vwskbauba002.ba.sk.vw.vwg
Jun 22 13:09:42 [16334] node1 pengine: info: LogActions: Leave myVM (Started node2.example.com)
Jun 22 13:09:42 [16334] node1 pengine: notice: LogActions: Recover myVM (Started node2.example.com)
Environment
- Red Hat Enterprise Linux (RHEL) 6 or 7 with the High Availability Add On
pacemaker- One or more
VirtualDomainresources in the CIBallow-migrate=truein the meta attrs for one or moreVirtualDomainresources
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
