Re: Errors connecting cinder-volume to ceph

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

 



Hi Marko,

Here’s’ my ceph config:

[ceph]
volume_driver = cinder.volume.drivers.rbd.RBDDriver
volume_backend_name = ceph
rbd_pool = volumes
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_flatten_volume_from_snapshot = false
rbd_max_clone_depth = 5
rbd_store_chunk_size = 4
rados_connect_timeout = -1
rbd_user = cinder
rbd_secret_uuid = c80d6505-260c-48c1-a248-7144cd5d5aab
filter_function = "volume.size >= 2"

Setting logging to “debug” doesn’t seem to produce any new information. Here’s a snippet of /var/log/cinder/volume.log:
2017-06-19 16:54:45.056 9797 INFO cinder.volume.manager [req-e556d559-c484-4edf-a458-5afbafcb8e39 - - - - -] Initializing RPC dependent components of volume driver RBDDriver (1.2.0)
2017-06-19 16:54:45.056 9797 ERROR cinder.utils [req-e556d559-c484-4edf-a458-5afbafcb8e39 - - - - -] Volume driver RBDDriver not initialized
2017-06-19 16:54:45.057 9797 ERROR cinder.volume.manager [req-e556d559-c484-4edf-a458-5afbafcb8e39 - - - - -] Cannot complete RPC initialization because driver isn't initialized properly.
2017-06-19 16:54:55.063 9797 ERROR cinder.service [-] Manager for service cinder-volume controller.trilliams.info@ceph is reporting problems, not sending heartbeat. Service will appear "down".
2017-06-19 16:56:34.065 9797 WARNING cinder.volume.manager [req-1309a49a-d5c9-45dd-b277-36cb4ac09dd8 - - - - -] Update driver status failed: (config name ceph) is uninitialized.

I’ve added the entirety of /etc/cinder/cinder.conf to my gist, & thank you all for any help you can provide.


T. Nichole Williams



On Jun 19, 2017, at 4:39 PM, Marko Sluga <marko@xxxxxxxxxxxxxx> wrote:

Hi Nicole,

I can help, I have been working on my own openstack connected to ceph - can you send over the config in your /etc/cinder/cinder.conf file - especially the rbd relevant section starting with:

volume_driver = cinder.volume.drivers.rbd.RBDDriver

Also, make sure your rbd_secret_uuid matches the client volume secret you created.

Regards,

Marko Sluga
Independent Trainer

<1487020143233.jpg>

T: +1 (647) 546-4365

L + M Consulting Inc.
Ste 212, 2121 Lake Shore Blvd W
M8E 4E9, Etobicoke, ON


---- On Mon, 19 Jun 2017 17:25:59 -0400 T. Nichole Williams <tribecca@xxxxxxxxxx> wrote ----

Hello,

I’m having trouble connecting Ceph to OpenStack Cinder following the guide in docs.ceph.com & I can’t figure out what’s wrong. I’ve confirmed auth connectivity for both root & ceph users on my openstack controller node, but the RBDDriver is not initializing. I’ve dug through every related Google article I can find with no results. Any one have any tips?

Here’s output of a few sample errors, auth list from controller, & cinder-manage config list. Please let me know if you need any further info from my side.

T. Nichole Williams



_______________________________________________
ceph-users mailing list


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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


  Powered by Linux