failures during driver.pre_live_migration remove source attachments during rollback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Lee Yarwood | ||
Queens |
Fix Released
|
Undecided
|
Lee Yarwood | ||
Rocky |
Fix Released
|
Undecided
|
Lee Yarwood | ||
Stein |
Fix Released
|
Undecided
|
Lee Yarwood | ||
Train |
Fix Released
|
Undecided
|
Lee Yarwood | ||
Ussuri |
Fix Released
|
Undecided
|
Lee Yarwood |
Bug Description
Description
===========
$subject, the initial rollback and removal of any destination volume attachments is then repeated for the source volume attachments, leaving the volumes connected on the host but listed as `available` in cinder.
Steps to reproduce
==================
Cause a failure during the call to driver.
Expected result
===============
Any volume attachments for the destination host are deleted during the rollback.
Actual result
=============
Both sets of volumes attachments for the destination *and* the source are removed.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
eeeb964a5f65
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
libvirt + KVM
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
N/A
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
N/A
Logs & Configs
==============
When live-migration fails with attached volume changed to active and still in nova
https:/
Related fix proposed to branch: master /review. opendev. org/743289
Review: https:/