libvirt: cleanup of a volume backed instance resize leaves behind the instance directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Feodor Tersin |
Bug Description
Description
===========
Attempts to cleanup a volume backed instance resize leaves behind the instance directory and additional disk files. This seems to relate to the following change and the additional imagebackend calls made in _cleanup_resize :
libvirt: Fix/implement revert-resize for RBD-backed images
https:/
Steps to reproduce
==================
* Create a volume backed instance.
* Shutdown the instance.
* resize/migrate the instance to another host.
* Review the instance directory on the source host.
Expected result
===============
The instance directory on the source host is removed.
Actual result
=============
The instance directory on the source host remains and is also populated with a previously unused `disk` file and disk.info file.
Environment
===========
1. Exact version of OpenStack you are running. See the following
# git rev-parse HEAD
6e2e1dc912199e0
2. Which hypervisor did you use?
libvirt + kvm
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
LVM/iSCSI
3. Which networking type did you use?
N/A
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Lee Yarwood (lyarwood) → Feodor Tersin (ftersin) |
Fix proposed to branch: master /review. openstack. org/329030
Review: https:/