Bug 1572547
Summary: | ServerGroupAffinityFilter does not allow host-evacuate | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | broskos |
Component: | openstack-nova | Assignee: | OSP DFG:Compute <osp-dfg-compute> |
Status: | CLOSED WONTFIX | QA Contact: | OSP DFG:Compute <osp-dfg-compute> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 10.0 (Newton) | CC: | berrange, dasmith, eglynn, jhakimra, kchamart, sbauza, sferdjao, sgordon, srevivo, vromanso |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-03 17:23:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
broskos
2018-04-27 09:58:15 UTC
Nova does not (and can not) move two instances at the same time. It also will not move an instance in response to some action other than an instance move request (i.e. a change in the server group). Thus, there's really no way for nova today to do the thing you expect (moving both instances) today, and it is unlikely that this will change. The only realistic potential for improvement here is to allow adding and removing instances from server groups which would let you break the affinity bond and move one of the instances alone. However, you'd have to have some way to move both of those to the same host before you could put them back in an affinity group. CRUD operations on server groups has been a point of contention upstream in the past and is also not likely to be implemented soon. So, I'm going to close this as WONTFIX for the above reasons. If you want to actually request implementation of CRUD operations as a workaround, that should be a new RFE bug. As a workaround, as of microversion 2.29 (included in Newton/OSP10), it is possible for an admin to entirely avoid the scheduler during an evacuate operation by passing a host and the 'force' parameter [1]. Using this, an admin can manually chose a new host and evacuate all instances in the same affinity group to that host. This allows the admin to temporarily "break" affinity to evacuate instances. [1] https://developer.openstack.org/api-ref/compute/#evacuate-server-evacuate-action |