mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-20 14:03:36 +03:00
bug #3212: STATE='d' moves the VM to POWEROFF instead of SUSPENDED
This commit is contained in:
parent
af599e55cc
commit
5db8a54091
@ -679,17 +679,15 @@ void VirtualMachineManagerDriver::process_poll(
|
||||
break;
|
||||
|
||||
case 'e': //Failed
|
||||
vm->log("VMM", Log::INFO, "VM running but monitor state is ERROR.");
|
||||
vm->log("VMM",Log::INFO,"VM running but monitor state is ERROR.");
|
||||
|
||||
lcm->trigger(LifeCycleManager::MONITOR_FAILURE, vm->get_oid());
|
||||
break;
|
||||
|
||||
case 'd': //The VM was not found
|
||||
vm->log("VMM", Log::INFO, "VM running but it was not found."
|
||||
" Boot and delete actions available or try to"
|
||||
" recover it manually");
|
||||
case 'd': //The VM was powered-off
|
||||
vm->log("VMM",Log::INFO,"VM running but monitor state is POWEROFF");
|
||||
|
||||
lcm->trigger(LifeCycleManager::MONITOR_DONE, vm->get_oid());
|
||||
lcm->trigger(LifeCycleManager::MONITOR_POWEROFF, vm->get_oid());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user