This volume in LVM with snapshot shouldn't be deleted
with VolumeIsBusy exception.
(At least it's my intension of VolumeDriver::delete_volume() with lvdisplay)
Can you please track down why it can be deleted?
If this volume in LVM is deleted, the all of derived snapshots are
deleted at the same time. So the following lvremove for snapshot
would fail. It explains the below behavior.
On Thu, Nov 10, 2011 at 05:43:59PM -0000, Ollie Leahy wrote: 10T17:36: 41Z snapshot vol-0000007c 10T17:37: 33Z 0%
> $ euca-create-volume -s 1 -z nova
> VOLUME vol-0000007c 1 creating (bocktest, None, None, None) 2011-11-
> # euca-create-
> SNAPSHOT snap-00000018 vol-0000007c creating 2011-11-
> # euca-delete-volume vol-0000007c# euca-delete-volume vol-0000007c
> VOLUME vol-0000007c
This volume in LVM with snapshot shouldn't be deleted :delete_ volume( ) with lvdisplay)
with VolumeIsBusy exception.
(At least it's my intension of VolumeDriver:
Can you please track down why it can be deleted?
If this volume in LVM is deleted, the all of derived snapshots are
deleted at the same time. So the following lvremove for snapshot
would fail. It explains the below behavior.
thanks,
--
yamahata