OpenStack + Ceph Integration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The section should be

[client.keyring]
  keyring = <path-to-keyring>

Then restart cinder-volume after.

???? 
S?bastien Han 
Cloud Engineer 

"Always give 100%. Unless you're giving blood.? 

Phone: +33 (0)1 49 70 99 72 
Mail: sebastien.han at enovance.com 
Address : 11 bis, rue Roqu?pine - 75008 Paris
Web : www.enovance.com - Twitter : @enovance 

On 02 Apr 2014, at 10:41, Tomokazu HIRAI <tomokazu.hirai at gmail.com> wrote:

> I Integrated Ceph + OpenStack with following document.
> 
> https://ceph.com/docs/master/rbd/rbd-openstack/
> 
> I could put image to glance on ceph cluster. but I can not create any volume to cinder.
> 
> error messages are the same on this URL.
> 
> http://comments.gmane.org/gmane.comp.file-systems.ceph.user/7641
> 
> ---
> 
> 2014-04-02 17:31:57.799 22321 ERROR cinder.volume.drivers.rbd [req-b18d0e8d-c818-4fb4-9dd8-dbdd938f919b None None] error connecting to ceph cluster
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd Traceback (most recent call last):
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd   File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 262, in check_for_setup_error
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd     with RADOSClient(self):
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd   File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 234, in __init__
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd     self.cluster, self.ioctx = driver._connect_to_rados(pool)
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd   File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 282, in _connect_to_rados
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd     client.connect()
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd   File "/usr/lib/python2.7/dist-packages/rados.py", line 408, in connect
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd     raise make_ex(ret, "error calling connect")
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd ObjectNotFound: error calling connect
> 2014-04-02 17:31:57.799 22321 TRACE cinder.volume.drivers.rbd
> 2014-04-02 17:31:57.800 22321 ERROR cinder.volume.manager [req-b18d0e8d-c818-4fb4-9dd8-dbdd938f919b None None] Error encountered during initialization of driver: RBDDriver
> 2014-04-02 17:31:57.801 22321 ERROR cinder.volume.manager [req-b18d0e8d-c818-4fb4-9dd8-dbdd938f919b None None] Bad or unexpected response from the storage volume backend API: error connecting to ceph cluster
> 2014-04-02 17:31:57.801 22321 TRACE cinder.volume.manager Traceback (most recent call last):
> 2014-04-02 17:31:57.801 22321 TRACE cinder.volume.manager   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 190, in init_host
> 2014-04-02 17:31:57.801 22321 TRACE cinder.volume.manager     self.driver.check_for_setup_error()
> 2014-04-02 17:31:57.801 22321 TRACE cinder.volume.manager   File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/rbd.py", line 267, in check_for_setup_error
> 2014-04-02 17:31:57.801 22321 TRACE cinder.volume.manager     raise exception.VolumeBackendAPIException(data=msg)
> 2014-04-02 17:31:57.801 22321 TRACE cinder.volume.manager VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: error connecting to ceph cluster
> 
> so I added these lines to /etc/ceph/ceph.conf
> 
> [client.cinder]
>         key = <key_id>
> 
> but I could not create any volumes to cinder.
> 
> Does anyone have an idea ?
> 
> Thanks from cloudy Tokyo.
> 
> -- Tomokazu HIRAI (@jedipunkz)
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140402/be52997c/attachment.pgp>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux