1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

feature #3564: Do not output error message on recovering with failure from a epilog failure state

This commit is contained in:
Ruben S. Montero 2015-04-21 23:48:47 +02:00
parent 5a66cefbc1
commit e8c90520d4

View File

@ -1057,7 +1057,10 @@ void LifeCycleManager::epilog_failure_action(int vid)
vm->log("LCM", Log::INFO, "New VM state is EPILOG_UNDEPLOY_FAILURE");
}
else
//wrong state + recover failure from failure state
else if ( state != VirtualMachine::EPILOG_FAILURE &&
state != VirtualMachine::EPILOG_STOP_FAILURE &&
state != VirtualMachine::EPILOG_STOP_FAILURE )
{
vm->log("LCM",Log::ERROR,"epilog_failure_action, VM in a wrong state");
}