xenapi: issues with destroy_vdi masking real errors
Bug #1246276 reported by
John Garbutt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
John Garbutt |
Bug Description
In cleaning up VDIs we call destroy_vdi.
However, should the destroy fail, it masks the real error, for example:
Unable to destroy VDI OpaqueRef:
nova/
...
nova/
DEVICE_SWAP, name_label, swap_mb)
nova/
'swap', swap_mb, fs_type)
nova/virt/
destroy_
nova/
_('Unable to destroy VDI %s') % vdi_ref)
We should instead use the safe_destroy_vdi call.
Changed in nova: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/54526
Review: https:/