mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #1639: The scheduler now rescheds VMs in unknown
This commit is contained in:
parent
82b4aaed55
commit
027a4ef89c
@ -88,8 +88,9 @@ protected:
|
||||
|
||||
int get_suitable_nodes(vector<xmlNodePtr>& content)
|
||||
{
|
||||
return get_nodes("/VM_POOL/VM[STATE=1 or (LCM_STATE=3 and RESCHED=1)]",
|
||||
content);
|
||||
// Pending or ((running or unknown) and resched))
|
||||
return get_nodes("/VM_POOL/VM[STATE=1 or "
|
||||
"((LCM_STATE=3 or LCM_STATE=16) and RESCHED=1)]", content);
|
||||
}
|
||||
|
||||
virtual void add_object(xmlNodePtr node);
|
||||
|
Loading…
x
Reference in New Issue
Block a user