commit 0616fcb8fe4ef2734db4b0107a220068170e8683
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon Mar 7 20:06:50 2016 -0500
Disallow scheduling multiple replicas on a given pool
Currently, while scheduling a new replica, the ShareReplicationFilter
passes any host that shares the replication_domain of the active
replica's host. On successive runs on the CI, it was observed
that the same host was chosen multiple times. In a real
deployment, there is no practicality in allowing replication
within the same pool.
Pass more information to assist the filter in disqualifying hosts that
already host replicas for the share.
Also treat NoValidHost exception differently from other scheduler
exceptions to be consistent with other scheduling failures.
Reviewed: https:/ /review. openstack. org/291287 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=0616fcb8fe4 ef2734db4b0107a 220068170e8683
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0616fcb8fe4ef27 34db4b0107a2200 68170e8683
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon Mar 7 20:06:50 2016 -0500
Disallow scheduling multiple replicas on a given pool
Currently, while scheduling a new replica, the ShareReplicatio nFilter
passes any host that shares the replication_domain of the active
replica's host. On successive runs on the CI, it was observed
that the same host was chosen multiple times. In a real
deployment, there is no practicality in allowing replication
within the same pool.
Pass more information to assist the filter in disqualifying hosts that
already host replicas for the share.
Also treat NoValidHost exception differently from other scheduler
exceptions to be consistent with other scheduling failures.
Change-Id: Iedc7b752c7fc47 7d6257d100e2277 378d59f1fde
Closes-Bug: #1554282