mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
This commit is contained in:
parent
f1b88a7436
commit
0924ec23f4
@ -522,6 +522,20 @@ void Scheduler::match_schedule()
|
||||
continue;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Filter current Hosts for resched VMs
|
||||
// -----------------------------------------------------------------
|
||||
if (vm->is_resched() && vm->get_hid() == host->get_hid())
|
||||
{
|
||||
ostringstream oss;
|
||||
|
||||
oss << "VM " << oid << ": Host " << host->get_hid()
|
||||
<< " filtered out. VM cannot be migrated to its current Host.";
|
||||
|
||||
NebulaLog::log("SCHED",Log::DEBUG,oss);
|
||||
continue;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Evaluate VM requirements
|
||||
// -----------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user