Ask Your Question

Revision history [back]

Try restarting the cinder service, especially the tgt service...

service cinder-volume restart

service tgt restart

service cinder-scheduler restart

service cinder-api restart

Try restarting the cinder service, especially the tgt service...

service cinder-volume restart

service tgt restart

service cinder-scheduler restart

service cinder-api restart

This is my cinder.conf file for your reference:

[DEFAULT]

control_exchange = cinder

notification_driver = cinder.openstack.common.notifier.rpc_notifier

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 = RABBIT_PASS

glance_host = controller

[database]

connection = mysql://cinder:CINDER_DBPASS@controller/cinder

[keystone_authtoken]

auth_uri = http://controller:5000

auth_host = controller

auth_port = 35357

auth_protocol = http

admin_tenant_name = service

admin_user = cinder

admin_password = CINDER_PASS