mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #1639: The scheduler now rescheds VMs in unknown
This commit is contained in:
1 parent
4b27c66db1
commit
ac7af19bfa
1 file changed
+3
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user