Description of problem: the rbd store's get_size() method ignores the pool of the actual parameter and instead uses the glance pool, which breaks cross-pool image access (one such example would be when we'd reference an rbd ephemeral disk snapshot which is in the ephemeral disk pool) Version-Release number of selected component (if applicable): Havana, Icehouse How reproducible: Always Steps to Reproduce: Add an rbd image to glance via --location, pointing to a different ceph pool than glance is configured to use. Try to download the image. Actual results: Glance fails to find the image and returns an error. Expected results: Image downloads successfully.
This was opened in for RHEL-OSP 5.0 although the upstream patch just landed for Juno (6.0). I think this fix is worth backporting.
verified on openstack-glance-2014.1.5-1.el7ost.noarch ceph-common-0.80.7-2.el7.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1760.html