Actually the bindings need is clearly documented here:
http://docs.openstack.org/developer/glance/configuring.html#configuring-
the-rbd-storage-backend
I do not see point to keep this bug open.
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1338485
Title:
Glance fail to alert when rados packages are not installed
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
Description of problem:
When the Glance is configure to work with rbd backend (Ceph) & the Rados
packages (python-ceph) are not installed the Error that the Glance's logs show
is:
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils Traceback (most
recent call last):
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils File
"/usr/lib/python2.7/site-packages/glance/api/v1/upload_utils.py", line 99, in
upload_data_to_store
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils store)
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils File
"/usr/lib/python2.7/site-packages/glance/store/__init__.py", line 380, in
store_add_to_backend
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils (location,
size, checksum, metadata) = store.add(image_id, data, size)
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils File
"/usr/lib/python2.7/site-packages/glance/store/rbd.py", line 319, in add
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils with
rados.Rados(conffile=self.conf_file, rados_id=self.user) as conn:
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils AttributeError:
'NoneType' object has no attribute 'Rados'
2014-07-07 11:28:27.982 2222 TRACE glance.api.v1.upload_utils
Instead of catching an import error, the Glance should fail on the
count of lack of Rados packages.
Version-Release number of selected component (if applicable):
python-glance-2014.1-4.el7ost.noarch
python-glanceclient-0.12.0-1.el7ost.noarch
openstack-glance-2014.1-4.el7ost.noarch
How reproducible:
100%
Steps to Reproduce:
1. Configure the glance to work with rbd backend (see
http://ceph.com/docs/master/rbd/rbd-openstack/?highlight=openstack). without
installing the python-ceph packages.
2. try to create a new image.
Actual results:
The Glance catch an import error.
Expected results:
The Glance should alert that the Rados packages are missing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1338485/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp