Nova-compute does not clean up Logical Volume on resize/migrate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Genin |
Bug Description
Noticed this starting in RC1 of Havana (Replicated with release build of Havana), with
libvirt_
libvirt_
in nova.conf
I am having to manually remove old Logical Volumes after a resize or migrate has completed in the Horizon UI;
Before Resize
[root@hv1 ~]# lvscan
ACTIVE '/dev/hv1_
ACTIVE '/dev/hv1_
After Resize
[root@hv3 ~]# lvscan
ACTIVE '/dev/hv3_
47_disk still exists;
[root@hv1 ~]# lvscan
ACTIVE '/dev/hv1_
ACTIVE '/dev/hv1_
In addition, if an instance is migrated or re-sized to a Hypervisor with a previous old Logical Volume (with that same instance disk ID) it will simply re-use the existing volume and not upgrade/downgrade the size.
Debug logs of the instance going to HV: http://
description: | updated |
tags: | added: compute lvm nova |
description: | updated |
description: | updated |
Changed in nova: | |
assignee: | nobody → Jay Lau (jay-lau-513) |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/52811
Review: https:/