Availability zone database record mismatch with nova show command output

Bug #1715623 reported by Anton Rodionov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
High
Andrey Volkov
9.x
Won't Fix
High
Andrey Volkov

Bug Description

When a new aggregate(agg1) is created, a host is added to it and an instance is launched with new availability zone(az1),
then the nova show command output shows availability zone value as "az1" and in the nova database the availability zone value for the instance is stored as "az1"
When the host is removed from the aggregate(agg1), the nova show command output shows the availability zone as "nova" where as the database reflects the old value "az1". There is a mismatch of availability zone field value in nova show command and in the nova database.

The impact of the issue is the migration of vm fails, as the availability zone value in the nova database is not updated to new value.
Please refer to a similar bug which we have found https://bugs.launchpad.net/nova/+bug/1378904.

MOS 9.2 + code from stable branch from June 2017

description: updated
Revision history for this message
Andrey Volkov (avolkov) wrote :

Anton,
Please provide api/cli you issued and sql requests as well, thanks.

Changed in mos:
importance: Undecided → High
Revision history for this message
Anton Rodionov (arodionov) wrote :

Andrey, I have attached the requested information.

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

The corresponding upstream bug has been recently closed as Won't Fix - https://bugs.launchpad.net/nova/+bug/1378904/comments/10. Unfortunately the proposed fix is not safe enough to be backported into the stable branch and it goes against OpenStack idea to prohibit AZ renaming totally. For the above reasons I'm closing this bug as Won't Fix.

Changed in mos:
status: New → Won't Fix
Andrey Volkov (avolkov)
Changed in mos:
status: Won't Fix → Confirmed
Andrey Volkov (avolkov)
Changed in mos:
assignee: nobody → Andrey Volkov (avolkov)
Revision history for this message
Andrey Volkov (avolkov) wrote :
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

Setting status to "In progress" for 9.x as a proposed fix is on code review:
https://review.fuel-infra.org/#/c/36842/

Changed in mos:
status: In Progress → Won't Fix
milestone: none → 10.0
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

The change 36842 is being reverted: https://review.fuel-infra.org/#/c/37299/

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

The revert is merged, setting the status as Won't Fix.

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.