Bug 1868159

Summary: [OSP 16.1.2] failures during driver.pre_live_migration remove source attachments during rollback
Product: Red Hat OpenStack Reporter: Lee Yarwood <lyarwood>
Component: openstack-novaAssignee: Lee Yarwood <lyarwood>
Status: CLOSED ERRATA QA Contact: James Parker <jparker>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: astupnik, dasmith, dvd, eglynn, gconsalv, jhakimra, jparker, kchamart, sbauza, sgordon, vromanso
Target Milestone: z2Keywords: Patch, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-20.4.0-1.20200901093832.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1874428 (view as bug list) Environment:
Last Closed: 2020-10-28 15:39:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1874428, 1874432    

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