Ask Your Question
0

Unable to create a Boot Volume from Ceph Storage

asked 2013-12-26 12:44:27 -0500

vikrantverma99 gravatar image

Hi All,

I am trying to boot from ceph volume using openstack (Havana). I am able to launch instances using image.

I have a ceph cluster running on storage node, i have created a ceph block device /dev/rbd1

i have done "pvcreate /dev/rbd1" & "vgcreate cinder-volumes /dev/rbd1" with no errors

but i did not get any volumes created under /var/lib/cinder/volumes/ does it create anything under it??

I want to create a Ceph Boot Volume

I am getting following error under cinder-volume.log "cinder.openstack.common.rpc.amqp DriverNotInitialized: Volume driver 'RBDDriver' not initialized"

here is the cinder-volume.log output---------------- 2013-12-26 17:39:59.291 5501 INFO cinder.volume.manager [-] Updating volume status 2013-12-26 17:39:59.291 5501 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized 2013-12-26 17:40:47.264 5501 ERROR cinder.openstack.common.rpc.amqp [req-4939dcd7-a950-4900-b01f-835ba0d559c7 f39286c01b1e4fd3b606a831bdd02d01 864698401111407c8f3962e0bf93b3fe] Exception during message handling 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last): 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py", line 441, in _process_data 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp *args) 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, *kwargs) 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/utils.py", line 807, in wrapper 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp raise exception.DriverNotInitialized(driver=driver_name) 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp DriverNotInitialized: Volume driver 'RBDDriver' not initialized. 2013-12-26 17:40:47.264 5501 TRACE cinder.openstack.common.rpc.amqp 2013-12-26 17:40:59.292 5501 INFO cinder.volume.manager [-] Updating volume status 2013-12-26 17:40:59.292 5501 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized 2013-12-26 17:41:59.293 5501 INFO cinder.volume.manager [-] Updating volume status 2013-12-26 17:41:59.294 5501 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized 2013-12-26 17:42:59.294 5501 INFO cinder.volume.manager [-] Updating volume status


Here is my /etc/cinder/cinder.conf configuration-----------------------------

[DEFAULT] rootwrap_config = /etc/cinder/rootwrap.conf api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper = tgtadm volume_name_template = volume-%s volume_group = cinder-volumes verbose = True auth_strategy = keystone state_path = /var/lib/cinder lock_path = /var/lock/cinder volumes_dir = /var/lib/cinder/volumes rpc_backend = cinder.openstack.common.rpc.impl_kombu rabbit_host = controller rabbit_port = 5672 rabbit_userid = guest rabbit_password = intel123 volume_driver=cinder.volume.drivers.rbd.RBDDriver rbd_pool=volumes glance_api_version=2 rbd_user=volumes rbd_secret_uuid=da161e20-40df-4de9-977b-0a7d6858883d scheduler_driver=cinder.scheduler.simple.SimpleScheduler #service_down_time=5000 rbd_ceph_conf=/etc/ceph/ceph.client.volumes.keyring

Please let me know if any further info is required. Please help me ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-27 05:01:52 -0500

Hi vikrant If you use CentOS6.4 or later, you must install the QEMU KVM packages for ceph. reference: http://openstack.redhat.com/Using_Ceph_for_block_storage_with_RDO (http://openstack.redhat.com/Using_Cep...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-26 12:44:27 -0500

Seen: 172 times

Last updated: Dec 27 '13