1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

bug #1557: Added state to sunstone. Update log messages for BOOT failures

This commit is contained in:
Ruben S. Montero 2012-10-17 10:02:41 +02:00
parent 825b576cb9
commit d131ab927d
2 changed files with 5 additions and 3 deletions

View File

@ -362,7 +362,7 @@ void LifeCycleManager::deploy_failure_action(int vid)
vmpool->update(vm);
vm->log("LCM", Log::INFO, "New VM state is UNKNOWN");
vm->log("LCM", Log::INFO, "Fail to boot VM. New VM state is UNKNOWN");
}
else if (vm->get_lcm_state() == VirtualMachine::BOOT_POWEROFF)
{
@ -371,7 +371,7 @@ void LifeCycleManager::deploy_failure_action(int vid)
vmpool->update(vm);
vm->log("LCM", Log::INFO, "New VM state is POWEROFF");
vm->log("LCM", Log::INFO, "Fail to boot VM. New VM state is POWEROFF");
}
vm->unlock();

View File

@ -97,7 +97,9 @@ var OpenNebula = {
"CLEANUP",
"UNKNOWN",
"HOTPLUG",
"SHUTDOWN_POWEROFF"][value]);
"SHUTDOWN_POWEROFF",
"BOOT_UNKNOWN",
"BOOT_POWEROFF"][value]);
break;
case "IMAGE":
case "image":