resize-revert broken anti-affinity policy of server group

Bug #1425859 reported by Rui Chen
16
This bug affects 3 people
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.

Tags: compute
Rui Chen (kiwik-chenrui)
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)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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)
Changed in nova:
assignee: nobody → Charlotte Han (hanrong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.