Re: [libvirt] [PATCH] rbd: Do not error out on a single image during pool refresh

2016-01-05 Thread John Ferlan
On 12/29/2015 08:35 AM, Wido den Hollander wrote: > It could happen that rbd_list() returns X names, but that while > refreshing the pool one of those RBD images is removed from Ceph > through a different route then libvirt. > > We do not need to error out in such case, we can simply ignore the

[libvirt] [PATCH] rbd: Do not error out on a single image during pool refresh

2015-12-29 Thread Wido den Hollander
It could happen that rbd_list() returns X names, but that while refreshing the pool one of those RBD images is removed from Ceph through a different route then libvirt. We do not need to error out in such case, we can simply ignore the volume and continue. error :