Fail to remove logical volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
warewang |
Bug Description
The logical volume can not be removed when delete VM error. I look at the code, found that parameter is a list in the libvirt's lvm, but in imagebackend, parameters passed is a string.
in the Libvirt's LVM
def remove_
"""Remove one or more logical volume."""
errors = []
for path in paths:
lvremove = ('lvremove', '-f', path)
try:
except processutils.
if errors:
raise exception.
in the imagebackend's LVM
@contextlib.
def remove_
try:
yield
except Exception:
with excutils.
Changed in nova: | |
assignee: | nobody → warewang (wangguangcai) |
description: | updated |
Changed in nova: | |
importance: | Undecided → High |
milestone: | none → juno-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/115169
Review: https:/