Failed evacuations leave cinder volumes mapped to destination host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Description
===========
If a recreate fails after the instance's volumes have their connections initialized on the destination, the connections are not terminated.
Steps to reproduce
==================
During the recreate flow, if after the volumes are attached to the destination something fails, then the volumes are left attached.
To reproduce one could patch manager.py on the destination host and if the compute driver uses the default manager rebuild implementation then force an exception to be raised after the attach_
Expected result
===============
Storage cleanup needs to occur, e.g. host mappings on the storage provider for the destination host need to be removed.
Actual result
=============
Host mappings remain on the storage provider.
Environment
===========
1. Exact version of OpenStack you are running. See the following
Newton
2. Which hypervisor did you use?
PowerVM (nova-powervm)
2. Which storage type did you use?
Cinder (storwize)
3. Which networking type did you use?
Neutron with SEA
Changed in nova: | |
assignee: | Lee Yarwood (lyarwood) → nobody |
Fix proposed to branch: master /review. openstack. org/442105
Review: https:/