Change in ovirt-engine[master]: core: scheduling: remove migration domain filter

gchaplik at redhat.com gchaplik at redhat.com
Tue Aug 20 07:17:07 UTC 2013


Gilad Chaplik has submitted this change and it was merged.

Change subject: core: scheduling: remove migration domain filter
......................................................................


core: scheduling: remove migration domain filter

Currently there is on way to migrate a vm between clusters, therefore
migration domain filter is causing a problem when it's not enabled.
This patch removes the filter, and added it's logic (up state and same cluster)
to the initial host list provided to the filters.

This patch also includes that balancing initial hosts list to be hosts
without migrating vms to allow backward compatability.

Change-Id: I5aea1d3d1e5e63f03ab0d012d4d3fe9356f26e48
Bug-Url: https://bugzilla.redhat.com/988306
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/PolicyUnitImpl.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/SchedulingManager.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/EvenDistributionBalancePolicyUnit.java
D backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/MigrationDomainPolicyUnit.java
A packaging/dbscripts/upgrade/03_03_0790_remove_migration_domain_filter.sql
5 files changed, 17 insertions(+), 55 deletions(-)

Approvals:
  Gilad Chaplik: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/18069
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5aea1d3d1e5e63f03ab0d012d4d3fe9356f26e48
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list