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

M #-: Update UNKNOWN VMs in sync state messages

This commit is contained in:
Ruben S. Montero 2020-05-10 23:56:18 +02:00
parent 30b1425f2c
commit 392e28768e
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -519,6 +519,7 @@ void InformationManager::_vm_state(unique_ptr<Message<OpenNebulaMessages>> msg)
}
if (vm->get_state() != VirtualMachine::ACTIVE || (
vm->get_lcm_state() != VirtualMachine::UNKNOWN &&
vm->get_lcm_state() != VirtualMachine::RUNNING &&
vm->get_lcm_state() != VirtualMachine::SHUTDOWN &&
vm->get_lcm_state() != VirtualMachine::SHUTDOWN_POWEROFF &&