mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
parent
c8251dc733
commit
54d60c4223
@ -847,6 +847,10 @@ void HostShareNUMA::set_monitorization(Template &ht, unsigned int _vt)
|
||||
|
||||
node.set_memory();
|
||||
}
|
||||
|
||||
ht.erase("CORE");
|
||||
ht.erase("HUGEPAGE");
|
||||
ht.erase("MEMORY_NODE");
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -531,11 +531,11 @@ void InformationManager::_vm_state(unique_ptr<Message<OpenNebulaMessages>> msg)
|
||||
|
||||
LCMAction::Actions action;
|
||||
|
||||
if ( state_str == "POWEROFF" )
|
||||
if ( missing_state == "POWEROFF" )
|
||||
{
|
||||
action = LCMAction::MONITOR_POWEROFF;
|
||||
}
|
||||
else if ( state_str == "UNKNOWN" )
|
||||
else if ( missing_state == "UNKNOWN" )
|
||||
{
|
||||
action = LCMAction::MONITOR_DONE;
|
||||
}
|
||||
@ -546,7 +546,7 @@ void InformationManager::_vm_state(unique_ptr<Message<OpenNebulaMessages>> msg)
|
||||
|
||||
NebulaLog::debug("InM", "VM_STATE update from host: " +
|
||||
to_string(msg->oid()) + ". VM id: " + to_string(vm->get_oid()) +
|
||||
", state: " + state_str);
|
||||
", state: " + missing_state);
|
||||
|
||||
lcm->trigger(action, vm->get_oid());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user