Ask Your Question
0

Caught error: Volume driver not ready.

asked 2015-05-22 06:04:08 -0600

Kishore Devkate gravatar image

updated 2015-05-26 19:49:19 -0600

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

could you edit original question and add related information of /etc/cinder.conf ?

sunnyarora gravatar imagesunnyarora ( 2015-05-25 08:59:36 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-26 00:40:10 -0600

Kishore Devkate gravatar image

updated 2015-05-31 14:17:03 -0600

sunnyarora gravatar image
[root@block1 ~]# cat /etc/cinder/cinder.conf
[DEFAULT]
rpc_backend = rabbit
rabbit_host = 10.0.0.11
rabbit_password = guest
auth_strategy = keystone
my_ip = 10.0.0.41
glance_host = 10.0.0.11
iscsi_helper = lioadm
verbose = True

#
# Options defined in oslo.messaging
#

# Use durable queues in AMQP. (boolean value)
# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
#amqp_durable_queues=false

# Auto-delete queues in AMQP. (boolean value)
#amqp_auto_delete=false

# Size of RPC connection pool. (integer value)
#rpc_conn_pool_size=30

# Qpid broker hostname. (string value)
#qpid_hostname=localhost

# Qpid broker port. (integer value)
#qpid_port=5672

# Qpid HA cluster host:port pairs. (list value)
#qpid_hosts=$qpid_hostname:$qpid_port

# Username for Qpid connection. (string value)
#qpid_username=

# Password for Qpid connection. (string value)
#qpid_password=

# Space separated list of SASL mechanisms to use for auth.
# (string value)
#qpid_sasl_mechanisms=

# Seconds between connection keepalive heartbeats. (integer
# value)
#qpid_heartbeat=60

# Transport to use, either 'tcp' or 'ssl'. (string value)
#qpid_protocol=tcp

# Whether to disable the Nagle algorithm. (boolean value)
#qpid_tcp_nodelay=true

# The number of prefetched messages held by receiver. (integer
# value)
#qpid_receiver_capacity=1

# The qpid topology version to use.  Version 1 is what was
# originally used by impl_qpid.  Version 2 includes some
# backwards-incompatible changes that allow broker federation
# to work.  Users should update to version 2 when they are
# able to take everything down, as it requires a clean break.
# (integer value)
#qpid_topology_version=1

# SSL version to use (valid only if SSL enabled). valid values
# are TLSv1 and SSLv23. SSLv2 and SSLv3 may be available on
# some distributions. (string value)
#kombu_ssl_version=

# SSL key file (valid only if SSL enabled). (string value)
#kombu_ssl_keyfile=

# SSL cert file (valid only if SSL enabled). (string value)
#kombu_ssl_certfile=

# SSL certification authority file (valid only if SSL
# enabled). (string value)
#kombu_ssl_ca_certs=

# How long to wait before reconnecting in response to an AMQP
# consumer cancel notification. (floating point value)
#kombu_reconnect_delay=1.0

# The RabbitMQ broker address where a single node is used.
# (string value)
#rabbit_host=localhost

# The RabbitMQ broker port where a single node is used.
# (integer value)
#rabbit_port=5672

# RabbitMQ HA cluster host:port pairs. (list value)
#rabbit_hosts=$rabbit_host:$rabbit_port

# Connect over SSL for RabbitMQ. (boolean value)
#rabbit_use_ssl=false

# The RabbitMQ userid. (string value)
#rabbit_userid=guest

# The RabbitMQ password. (string value)
#rabbit_password=guest

# The RabbitMQ login method. (string value)
#rabbit_login_method=AMQPLAIN

# The RabbitMQ virtual host. (string value)
#rabbit_virtual_host=/

# How frequently to retry connecting with RabbitMQ. (integer
# value)
#rabbit_retry_interval=1

# How long to backoff for between retries when connecting to
# RabbitMQ. (integer value)
#rabbit_retry_backoff=2

# Maximum number of RabbitMQ connection retries. Default is 0
# (infinite retry count). (integer value)
#rabbit_max_retries=0

# Use HA queues in RabbitMQ (x-ha-policy: all). If you change
# this option, you must wipe the RabbitMQ database. (boolean
# value)
#rabbit_ha_queues=false

# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake
# (boolean value)
#fake_rabbit=false

# ZeroMQ bind address. Should be a wildcard (*), an ethernet
# interface, or IP. The "host" option should point or resolve
# to this address. (string value)
#rpc_zmq_bind_address=*

# MatchMaker driver. (string value)
#rpc_zmq_matchmaker=oslo.messaging._drivers.matchmaker.MatchMakerLocalhost

# ZeroMQ receiver listening port. (integer value)
#rpc_zmq_port=9501

# Number of ZeroMQ contexts, defaults to 1. (integer value ...
(more)
edit flag offensive delete link more

Comments

can you please uncomment line volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver Then restart the cinder service and check again.

sunnyarora gravatar imagesunnyarora ( 2015-05-31 14:20:50 -0600 )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: 2015-05-22 06:04:08 -0600

Seen: 358 times

Last updated: May 31 '15