resize-revert broken anti-affinity policy of server group

Bug #1425859 reported by Rui Chen on 2015-02-26
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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.

Rui Chen (kiwik-chenrui) on 2015-02-26
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)

Fix proposed to branch: master
Review: https://review.openstack.org/160110

Changed in nova:
status: Confirmed → In Progress

Fix proposed to branch: master
Review: https://review.openstack.org/169631

Changed in nova:
assignee: zhangtralon (zhangchunlong1) → Zhenyu Zheng (zhengzhenyu)
Changed in nova:
assignee: Zhenyu Zheng (zhengzhenyu) → nobody
status: In Progress → Confirmed
Charlotte Han (hanrong) on 2016-04-16
Changed in nova:
assignee: nobody → Charlotte Han (hanrong)

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/169631
Reason: This patch has been idle for a long time, so I am abandoning it to keep the review clean sane. If you're interested in still working on this patch, then please unabandon it and upload a new patchset.

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/169604
Reason: This patch has been idle for a long time, so I am abandoning it to keep the review clean sane. If you're interested in still working on this patch, then please unabandon it and upload a new patchset.

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/160110
Reason: This code hasn't been updated in a long time, and is in merge conflict. I am going to abandon this review, but feel free to restore it if you're still working on this.

Maciej Szankin (mszankin) wrote :

Removing assignee due to lack of visible progress. Charlotte Han, if you intend to keep working on this item feel free to reassign yourself.

Changed in nova:
assignee: Charlotte Han (hanrong) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers