Re: [libvirt] [PATCH] rbd: Remove snapshots if the FORCED flag has been provided

2015-10-15 Thread Daniel P. Berrange
On Thu, Oct 15, 2015 at 10:28:39AM +0200, Wido den Hollander wrote: > When a RBD volume has snapshots it can not be removed. > > This patch introduces a new flag to force volume removal, > VIR_STORAGE_VOL_DELETE_FORCED. > > With this flag any existing snapshots will be removed prior > to

[libvirt] [PATCH] rbd: Remove snapshots if the FORCED flag has been provided

2015-10-15 Thread Wido den Hollander
When a RBD volume has snapshots it can not be removed. This patch introduces a new flag to force volume removal, VIR_STORAGE_VOL_DELETE_FORCED. With this flag any existing snapshots will be removed prior to removing the volume. No existing mechanism in libvirt allowed us to pass such

Re: [libvirt] [PATCH] rbd: Remove snapshots if the FORCED flag has been provided

2015-10-15 Thread Daniel P. Berrange
On Thu, Oct 15, 2015 at 10:28:39AM +0200, Wido den Hollander wrote: > When a RBD volume has snapshots it can not be removed. > > This patch introduces a new flag to force volume removal, > VIR_STORAGE_VOL_DELETE_FORCED. > > With this flag any existing snapshots will be removed prior > to

Re: [libvirt] [PATCH] rbd: Remove snapshots if the FORCED flag has been provided

2015-10-15 Thread Wido den Hollander
On 15-10-15 10:44, Daniel P. Berrange wrote: > On Thu, Oct 15, 2015 at 10:28:39AM +0200, Wido den Hollander wrote: >> When a RBD volume has snapshots it can not be removed. >> >> This patch introduces a new flag to force volume removal, >> VIR_STORAGE_VOL_DELETE_FORCED. >> >> With this flag any

[libvirt] [PATCH] rbd: Remove snapshots if the FORCED flag has been provided

2015-09-14 Thread Wido den Hollander
When a RBD volume has snapshots it can not be removed. This patch introduces a new flag to force volume removal, VIR_STORAGE_VOL_DELETE_FORCED. With this flag any existing snapshots will be removed prior to removing the volume. No existing mechanism in libvirt allowed us to pass such