resize-revert broken anti-affinity policy of server group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Reproduce steps:
1. boot instanceA with anti-affinity policy server group, instanceA start on hostA.
2. resize instanceA, instanceA was migrated to hostB, wait for verify resize.
3. boot instanceB with the same server group, the instanceB was scheduled to hostA because of anti-affinity policy.
4. resize-revert instanceA, the instanceA restart on the source host(hostA).
5. the instanceA and instanceB run on same host (hostA), the anti-affinity policy is broken.
When we setup the server group in booting instance logic, the source and destination hosts of resizing/migrating instance should been add into server group hosts in order to impact on the schedule of other instance with same server group.
Changed in nova: | |
assignee: | nobody → Rui Chen (kiwik-chenrui) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | Rui Chen (kiwik-chenrui) → zhangtralon (zhangchunlong1) |
Changed in nova: | |
assignee: | zhangtralon (zhangchunlong1) → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → nobody |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Charlotte Han (hanrong) |
Fix proposed to branch: master /review. openstack. org/160110
Review: https:/