Bug 1868159 - [OSP 16.1.2] failures during driver.pre_live_migration remove source attachments during rollback
Summary: [OSP 16.1.2] failures during driver.pre_live_migration remove source attachme...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: Lee Yarwood
QA Contact: James Parker
URL:
Whiteboard:
Depends On:
Blocks: 1874428 1874432
TreeView+ depends on / blocked
 
Reported: 2020-08-11 20:29 UTC by Lee Yarwood
Modified: 2024-03-25 16:20 UTC (History)
11 users (show)

Fixed In Version: openstack-nova-20.4.0-1.20200901093832.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1874428 (view as bug list)
Environment:
Last Closed: 2020-10-28 15:39:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 748494 0 None MERGED Add regression tests for bug #1889108 2021-01-14 11:34:00 UTC
OpenStack gerrit 748495 0 None MERGED compute: refactor volume bdm rollback error handling 2021-01-14 11:34:38 UTC
OpenStack gerrit 748496 0 None MERGED compute: Don't delete the original attachment during pre LM rollback 2021-01-14 11:34:00 UTC
Red Hat Issue Tracker OSP-31724 0 None None None 2024-03-25 16:20:39 UTC
Red Hat Product Errata RHEA-2020:4284 0 None None None 2020-10-28 15:39:30 UTC

Description Lee Yarwood 2020-08-11 20:29:35 UTC
This bug was initially created as a copy of Bug #1860914

Description of problem:

The initial rollback and removal of any destination volume attachments is repeated for the source volume attachments, leaving the volumes connected on the host but listed as `available` in cinder.

Version-Release number of selected component (if applicable):

>= stable/queens when multiattach support was introduced.

How reproducible:

Always.

Steps to Reproduce:

* Cause a failure during the call to driver.pre_live_migration with volumes attached.

Documented in the below functional test on master now:

Actual results:
Both sets of volumes attachments for the destination *and* the source are removed.

Expected results:
Any volume attachments for the destination host are deleted during the rollback.

Additional info:

https://bugs.launchpad.net/nova/+bug/1889108

Comment 13 errata-xmlrpc 2020-10-28 15:39:08 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 (Red Hat OpenStack Platform 16.1 bug fix and enhancement 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/RHEA-2020:4284


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