Ask Your Question

Revision history [back]

Error creating volume on Cinder with RBD driver in Havana

I configured cinder service with RBD Driver in Havana.

/etc/cinder/cinder.conf:

[DEFAULT]
volume_driver=cinder.volume.drivers.rbd.RBDDriver
scheduler_driver=cinder.scheduler.simple.SimpleScheduler
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
debug = True
auth_strategy = keystone
enable_v2_api = True

state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes

service_down_time=5000

rbd_ceph_conf=/etc/ceph/ceph.client.volumes.keyring
rbd_user=volumes
rbd_pool=volumes
glance_api_version=2

# Rabbit
rabbit_password = ********


[database]
connection = mysql://cinder:*******@localhost/cinder

When I create a new volume i have the following error message (nova-scheduler.log):

2013-12-12 11:12:53.302 31413 ERROR cinder.volume.flows.create_volume [req-74f9fbc3-3f7d-4d7d-b5bb-101e7e37d6fc 4364c1d66e7e421bb99e4a72ad16a3d2 ea9b028086c14dd7b087abc6732bf3a1] Failed to schedule_create_volume: No valid host was found. Is the appropriate service running?
2013-12-12 11:12:53.303 31413 DEBUG cinder.volume.flows.create_volume [req-74f9fbc3-3f7d-4d7d-b5bb-101e7e37d6fc 4364c1d66e7e421bb99e4a72ad16a3d2 ea9b028086c14dd7b087abc6732bf3a1] Updating volume: 54e90c5f-e8a7-4f0d-bb11-b3312697732e with {'status': 'error'} due to: No valid host was found. Is the appropriate service running? _error_out_volume /usr/lib/python2.7/dist-packages/cinder/volume/flows/create_volume/__init__.py:142

Any one have the same problem ?

Thanks.

Salvo.