Hi Cephers,

I am trying to configure ceph rbd as backend for cinder and glance by
following the steps mentioned in:

http://ceph.com/docs/master/rbd/rbd-openstack/

Before I start all openstack services are running normally and ceph cluster
health shows "HEALTH_OK"

But once I am done with all steps and restart openstack services,
cinder-volume fails to start and throws an error.

2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd Traceback (most
recent call last):
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd   File
"/opt/stack/cinder/cinder/volume/drivers/rbd.py", line 262, in
check_for_setup_error
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd     with
RADOSClient(self):
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd   File
"/opt/stack/cinder/cinder/volume/drivers/rbd.py", line 234, in __init__
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd     self.cluster,
self.ioctx = driver._connect_to_rados(pool)
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd   File
"/opt/stack/cinder/cinder/volume/drivers/rbd.py", line 282, in
_connect_to_rados
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd     client.connect()
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd   File
"/usr/lib/python2.7/dist-packages/rados.py", line 185, in connect
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd     raise
make_ex(ret, "error calling connect")
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd Error: error
calling connect: error code 95
2014-02-16 00:01:42.582 TRACE cinder.volume.drivers.rbd
2014-02-16 00:01:42.591 ERROR cinder.volume.manager
[req-8134a4d7-53f8-4ada-b4b5-4d96d7cad4bc None None] Error encountered
during initialization of driver: RBDDriver
2014-02-16 00:01:42.592 ERROR cinder.volume.manager
[req-8134a4d7-53f8-4ada-b4b5-4d96d7cad4bc None None] Bad or unexpected
response from the storage volume backend API: error connecting to ceph
cluster
2014-02-16 00:01:42.592 TRACE cinder.volume.manager Traceback (most recent
call last):
2014-02-16 00:01:42.592 TRACE cinder.volume.manager   File
"/opt/stack/cinder/cinder/volume/manager.py", line 190, in init_host
2014-02-16 00:01:42.592 TRACE cinder.volume.manager
self.driver.check_for_setup_error()
2014-02-16 00:01:42.592 TRACE cinder.volume.manager   File
"/opt/stack/cinder/cinder/volume/drivers/rbd.py", line 267, in
check_for_setup_error
2014-02-16 00:01:42.592 TRACE cinder.volume.manager     raise
exception.VolumeBackendAPIException(data=msg)
2014-02-16 00:01:42.592 TRACE cinder.volume.manager
VolumeBackendAPIException: Bad or unexpected response from the storage
volume backend API: error connecting to ceph cluster


Here is the content of my /etc/ceph in openstack node:

ashish@ubuntu:/etc/ceph$ ls -lrt
total 16
-rw-r--r-- 1 cinder cinder 229 Feb 15 23:45 ceph.conf
-rw-r--r-- 1 glance glance  65 Feb 15 23:46 ceph.client.glance.keyring
-rw-r--r-- 1 cinder cinder  65 Feb 15 23:47 ceph.client.cinder.keyring
-rw-r--r-- 1 cinder cinder  72 Feb 15 23:47
ceph.client.cinder-backup.keyring

I am really stuck and tried a lot. What Could possibly I be doing wrong.


HELP.


Thanks and Regards
Ashish Chandra
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to