Cinder Volume stuck in "Creating". Cinder Volume Gives "Updating Volume Status" Logs

asked 2015-08-04 05:39:11 -0600

gravito gravatar image

updated 2015-08-05 06:25:52 -0600

Hi All,

I have installed Cinder Volume in Compute Node. However, whenever I try to create a Volume using api or command line, the Cinder Volume gets stuck in "Creating" stage. No error message is given in Cinder Scheduler or API side, and I get following message in CInder Volume side:

  • Updating Volume Status

  • Updating Volume Replication Status

This goes on repeating and repeating, with Cinder stuck in Creating stage.

Any direction as to where to head towards would be very much helpful. We have tried following things:

1.) Recreated the physical volumes.
2.) Deleted the database and created it again.
3.) Reinstalled all Nodes.

My cinder.conf file is:

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
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
glance_host = controller
my_ip =
rpc_backend = rabbit
rabbit_userid = guest
rabbit_host = controller
rabbit_password = abc123
rabbit_port = 5672

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

auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = cinder
admin_password = xxx

Regards, Aayush

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-08-04 10:24:18 -0600

mpetason gravatar image

Make sure you have configured the storage for Cinder on the backend. it looks like you are using the local storage currently. You'll want to also look through the cinder logs to see what is causing it to fail:

grep -ir trace /var/log/cinder/

The error messages should indicate what is causing the issue.

Also verify that you have configured DNS for your hostnames. It is possible that it is having issues connecting to the controller hostname if it hasn't been configured on the host. I would verify the same for all hosts in case there are any issues. Normally I would use an IP address during testing to ensure that I'm hitting the correct hosts, then update DNS afterwards to reflect the correct hostnames.

edit flag offensive delete link more


controller hostname is resolved correctly. I tried doing it with IP, same result :(. It's getting irritating now :'(.

gravito gravatar imagegravito ( 2015-08-05 06:26:42 -0600 )edit

What traceback messages are you seeing in the logs? They should help diagnose what is happening.

mpetason gravatar imagempetason ( 2015-08-05 11:50:36 -0600 )edit

That's the weirdest of the weird thing. I am not seeing any traceback logs. The messages that are coming again and again on cinder-volume (Updating Volume Status) are actually DEBUG messages :(.

gravito gravatar imagegravito ( 2015-08-10 01:23:33 -0600 )edit

answered 2015-08-04 15:33:33 -0600

This is wrong, change state_path = /var/llib/cinder to state_path = /var/lib/cinder and ap_paste_confg = /etc/cinder/api-paste.ini to api_paste_config = /etc/cinder/api-paste.ini If you are following the official guide for Juno, at least in redhat/centos the iscsi_helper is configured with lioadm

iscsi_helper = lioadm
edit flag offensive delete link more


I did. Actually those were typos, i am so sorry. However when i changed iscsi_helper = lioadm, it gave me an error saying rtslib not found :(.

gravito gravatar imagegravito ( 2015-08-05 06:24:59 -0600 )edit

Ensure you have installed lvm and targetcli installed in the case of centos and the service lvm running

yum install lvm2 targetcli 
systemctl start lvm2-lvmetad.service target.service

If you are using Ubuntu, i don't know if iscsi_helper = lioadm must be configured, maybe you shouldn't.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-05 06:47:04 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-08-04 05:39:11 -0600

Seen: 2,852 times

Last updated: Aug 05 '15