Ask Your Question
1

Caught error: Volume driver not ready.

asked 2015-05-28 03:29:04 -0500

Kishore Devkate gravatar image

updated 2015-05-28 10:56:46 -0500

uts9 gravatar image

Hi Friends,

i have created an instance and volume in cinder, but issue facing is that when i tried to attach the volume to the instance i am unable to attach it to instance. Below is the log of /var/log/cinder/api.log.

"2015-05-22 19:02:28.586 2763 ERROR cinder.api.middleware.fault [req-0721c714-cc3e-4b60-a91c-691f4c320d18 b48ac80d198347cd8d0f61eb0a5d7b3e 72d36b9ab4d74d57ae39095f4dbf6d80 - - -] Caught error: Volume driver not ready."

Could someone please help me in it.

BR, Kishore

edit retag flag offensive close merge delete

Comments

what volume drivers are you using? You may want to post the driver section of your cinder.conf file.

jdexter gravatar imagejdexter ( 2015-05-28 10:36:21 -0500 )edit

@jdexter ..... I removed all the nodes and everything now doing packstart practice as i was waited for someone who help me but no one were responded that is why thanks for the response if in furture i get any issue will post here again....as i already googled it but did not get the proper solution

Kishore Devkate gravatar imageKishore Devkate ( 2015-05-29 00:09:49 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-07-01 05:28:12 -0500

jckreddy gravatar image
 I have also encountered with similar problem 
 and it may be the reason as log looks similar 
 After hours of struggle i realized that 
the path "/var/lock/cinder" where cinder was a file not a directory 
(worngly created as file)
so deleted file and created cinder dir 

mkdir /var/lock/cinder
chmod 777 /var/lock/cinder/
chown -R cinder:cinder /var/lock/cinder/

[root@controller ~]# ls -lrt /var/lock/
total 0
drwxrwxr-x 2 root   lock    40 Jun 27 13:41 lockdev
drwx------ 2 root   root    60 Jun 22 15:15 iscsi
drwxr-xr-x 2 root   root   100 Jun 24 16:06 subsys
drwxrwxrwx 2 cinder cinder  40 Jul  1 10:15 cinder
drwx------ 2 root   root    40 Jun 27 17:41 lvm

After that able to do successfull volume attach 
[root@controller ~]# ls /var/lock/cinder/* -lrt
-rw-r--r-- 1 cinder cinder 0 Jul  1 10:26 /var/lock/cinder/cinder-a8b88ce2-0084-4119-bca9-23f2d7361ae3
-rw-r--r-- 1 cinder cinder 0 Jul  1 10:24 /var/lock/cinder/cinder-4433d217-f046-444a-9f5c-65ab92a9aa83
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

2 followers

Stats

Asked: 2015-05-28 03:29:04 -0500

Seen: 996 times

Last updated: Jul 01 '16