mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #3654: Add reason to ERROR after a failed resume from POWEROFF or SUSPEND
This commit is contained in:
parent
23aa6b0419
commit
4e884f8683
@ -432,6 +432,8 @@ void LifeCycleManager::deploy_failure_action(int vid)
|
||||
vm->set_etime(the_time);
|
||||
vm->set_running_etime(the_time);
|
||||
|
||||
vm->set_reason(History::ERROR);
|
||||
|
||||
vm->set_state(VirtualMachine::POWEROFF);
|
||||
vm->set_state(VirtualMachine::LCM_INIT);
|
||||
|
||||
@ -445,6 +447,8 @@ void LifeCycleManager::deploy_failure_action(int vid)
|
||||
vm->set_etime(the_time);
|
||||
vm->set_running_etime(the_time);
|
||||
|
||||
vm->set_reason(History::ERROR);
|
||||
|
||||
vm->set_state(VirtualMachine::SUSPENDED);
|
||||
vm->set_state(VirtualMachine::LCM_INIT);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user