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:
parent
825b576cb9
commit
d131ab927d
@ -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();
|
||||
|
@ -97,7 +97,9 @@ var OpenNebula = {
|
||||
"CLEANUP",
|
||||
"UNKNOWN",
|
||||
"HOTPLUG",
|
||||
"SHUTDOWN_POWEROFF"][value]);
|
||||
"SHUTDOWN_POWEROFF",
|
||||
"BOOT_UNKNOWN",
|
||||
"BOOT_POWEROFF"][value]);
|
||||
break;
|
||||
case "IMAGE":
|
||||
case "image":
|
||||
|
Loading…
Reference in New Issue
Block a user