resize to the same host unexpectedly clears host_info cache

Bug #1999126 reported by norman shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Unassigned

Bug Description

Description
===========
We are using victoria nova and find that after a same-host-cold-migrate, subsequently cold migrate could break anti-affinity policy.

Steps to reproduce
==================

1 provision a openstack cluster with 2 compute nodes
2 create a server group with anti-affinity rule
3 create two vms binding tot he server group
4 disable compute node B
5 cold migrate server on node A and confirm it
6 right after confirm succeeded, migrate server on node B
7 check vm host if not on the same host , then repeat 5 - 6

Expected result
===============

servers will reside on different nodes

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/866521

Changed in nova:
status: New → In Progress
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.