Bug 1702870 - connection_info is not reverted properly when nova failed to migrate an instance with cinder volume attached
Summary: connection_info is not reverted properly when nova failed to migrate an insta...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z9
: 13.0 (Queens)
Assignee: Lee Yarwood
QA Contact: James Parker
URL:
Whiteboard:
: 1986985 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-25 03:08 UTC by Takashi Kajinami
Modified: 2023-10-06 18:15 UTC (History)
20 users (show)

Fixed In Version: openstack-nova-17.0.12-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-07 14:14:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1780973 0 None None None 2019-04-25 03:08:33 UTC
OpenStack gerrit 662471 0 None MERGED Restore connection_info after live migration rollback 2020-09-22 06:17:31 UTC
Red Hat Issue Tracker OSP-6562 0 None None None 2022-08-10 16:10:45 UTC
Red Hat Product Errata RHBA-2019:3796 0 None None None 2019-11-07 14:14:28 UTC

Description Takashi Kajinami 2019-04-25 03:08:33 UTC
Description of problem:

When live migration failed for some reason like timeout, nova reverts attachment information
in cinder, but does not properly revert connection info in block device mapping.

This ends up with inconsistency between the real connection infomation and the one in database,
which cause error in cleanup process when we try to hard-reboot the instance.

There is a bug reported to launchpad and this should be also backported to our downstream versions.
 https://bugs.launchpad.net/nova/+bug/1780973

How reproducible:
Always

Steps to Reproduce:
1. Create a instance
2. Live-migrate the instance and cause timeout in pre_live_migration
3. Then see block device mappings table in nova database and check connection_info

Actual results:
block device mapping record is not reverted and has inconsistent information

Expected results:
block device mapping record is properly reverted

Comment 18 Alex McLeod 2019-10-31 11:32:56 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Comment 20 errata-xmlrpc 2019-11-07 14:14:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3796

Comment 21 Lee Yarwood 2021-08-02 13:30:23 UTC
*** Bug 1986985 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.