[Openstack] Snapshot: Cannot determine the parent storage pool

Eugen Block eblock at nde.ag
Tue Feb 21 15:16:03 UTC 2017


Just out of curiosity, how exactly did you manage to delete base  
images from running instances? I was not able to do that, glance  
raised error messages when I tried it.

I'm not sure if [1] helps in any way, but here someone tried to edit  
the rbd-information for specific objects in his (copied) pool. But I  
hope there's another way than this...

Regards,
Eugen

[1] http://lists.ceph.com/pipermail/ceph-users-ceph.com/2015-May/001453.html

Zitat von John Petrini <jpetrini at coredial.com>:

> Hi List,
>
> We're running Mitaka with Ceph. Recently I enabled RBD snapshots by adding
> write permissions to the images pool in Ceph. This works perfectly for some
> instances but is failing back to standard snapshots for others with the
> following error:
>
> Performing standard snapshot because direct snapshot failed: Cannot
> determine the parent storage pool for 7a7b5119-
> 85da-429b-89b5-ad345cfb649e; cannot determine where to store images
>
> Looking at the code here:
> https://github.com/openstack/nova/blob/master/nova/virt/libvirt/imagebackend.py
> it appears that it looks for the pool of the base image to determine where
> to save the snapshot. I believe the problem I'm encountering is that for
> some of our instances the base image no longer exists.
>
> Am I understanding this correctly and is there anyway to explicitly set the
> pool to be used for snapshots and bypass this logic?
>
> Thank You,
>
> John Petrini



-- 
Eugen Block                             voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : eblock at nde.ag

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983





More information about the Openstack mailing list