Project

General

Profile

Actions

Bug #11539

closed

python-rados is not installed

Added by yongfeng du almost 9 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I configured openstack with ceph following this doc using ubuntu 14.04:
http://docs.ceph.com/docs/master/rbd/rbd-openstack/

However, there will be errors when uploading a image: =====================================================
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils Traceback (most recent call last):
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance/api/v1/upload_utils.py", line 107, in upload_data_to_store
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils context=req.context)
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/backend.py", line 342, in store_add_to_backend
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils (location, size, checksum, metadata) = store.add(image_id, data, size)
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py", line 326, in add
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils with rados.Rados(conffile=self.conf_file, rados_id=self.user) as conn:
2015-05-06 12:01:10.622 121294 TRACE glance.api.v1.upload_utils AttributeError: 'NoneType' object has no attribute 'Rados' =================================================================

the error is because python-rados is not installed.
the doc only mentioned "apt install python-rbd" for glance-api node, so I guess the dependency of python-rados is missing?
If there should be no dependency, the above doc should mention to install python-rados too.

Actions #1

Updated by Sage Weil about 6 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF