Ask Your Question
0

Error creating volume on Cinder with RBD driver in Havana

asked 2013-12-12 04:14:54 -0500

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-12-12 05:16:55 -0500

bvivek gravatar image

updated 2013-12-12 05:24:12 -0500

Hi,

After changing the configurations did you restart the cinder-scheduler service before restarting the cinder-volume service.

Also is this a single node deployment? If multiple nodes are present please make sure all nodes are time synced. This is important.

~Vivek

edit flag offensive delete link more

Comments

I forgot to install the service cinder-volume... I followed the guide on the official site http://docs.openstack.org/havana/install-guide/install/apt/content/cinder-controller.html

salvorapi gravatar imagesalvorapi ( 2013-12-12 08:05:53 -0500 )edit

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-12 04:14:54 -0500

Seen: 2,132 times

Last updated: Dec 12 '13