-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
Management Server
CLOUDSTACK VERSION
Master but maybe 4.8 upwards
CONFIGURATION
OS / ENVIRONMENT
KVM with QEMU 2.12 and libwirtd 5.0.0, i think other other versions are also affected because not always there is the problem.
SUMMARY
STEPS TO REPRODUCE
- Set a Host in Maintenance Mode
- VM Migration is started
- If a VM cant migrate it will hard stopped
after @andrijapanicsb started a discussion on mailing list "VMs crashing/stopped during live migration?" i opened this issue request to track down the problems.
@ustcweizhou gave some interesting hints to this problem.
i picked up specially your point three. i think its most interesting to track this down.
- vm is stopped due to some cloudstack bugs. for example, when we put a
host to maintenance, the vm will be stopped if (1) no other host is Up in
same cluster, or (2) vm migration fails and no retry in cloudstack, or (3)
multiple vms are migrated to same destination at the same time but there is
no enough memory on the destination.
EXPECTED RESULTS
The expected result should be to stop the maintenance mode but dont switch off the virtual machines
ACTUAL RESULTS
virtual machines will be hard stopped