OpenStack Cinder volume is unable to attach to a VM instance
Issue
-
On a new OpenStack 6 installation with 3par storage, the following error is seen in
nova-compute.log
:2015-10-19 11:22:15.902 36361 TRACE oslo.messaging.rpc.dispatcher raise exception.VolumeBackendAPIException(data=err_msg) 2015-10-19 11:22:15.902 36361 TRACE oslo.messaging.rpc.dispatcher VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: FibreChannelDriver validate_connector failed. No 'wwpns'. Make sure HBA state is Online.
-
Attaching a cinder volume in OpenStack 4 doesn't work and shows the following error messages in
/var/log/cinder/volume.log
:2014-06-23 23:58:49.949 3874 WARNING nova.virt.libvirt.utils [req-4d3e8dd6-4174-4b24-aa52-4894373478fc d1cda3288e154c3e99690d29e56f4414 faa84109e5d34c61adf39ce8d8921471] systool is not installed
-
Additional errors are seen when attaching a cinder volume to an instance:
2014-06-23 23:59:00.394 22107 ERROR cinder.openstack.common.rpc.amqp [req-d2c5f559-6159-46eb-9b81-587832e8b02b d1cda3288e154c3e99690d29e56f4414 faa84109e5d34c61adf39ce8d8921471] Exception during message handling 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last): 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", line 441, in _process_data 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp **args) 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs) 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 691, in terminate_connection 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp self.driver.terminate_connection(volume_ref, connector, force=force) 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/openstack/common/lockutils.py", line 233, in inner 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp retval = f(*args, **kwargs) 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/san/hp/hp_3par_fc.py", line 226, in terminate_connection 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp wwn=connector['wwpns']) 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp KeyError: 'wwpns' 2014-06-23 23:59:00.394 22107 TRACE cinder.openstack.common.rpc.amqp 2014-06-23 23:59:00.395 22107 ERROR cinder.openstack.common.rpc.common [req-d2c5f559-6159-46eb-9b81-587832e8b02b d1cda3288e154c3e99690d29e56f4414 faa84109e5d34c61adf39ce8d8921471] Returning exception 'wwpns' to caller
Environment
- Red Hat Enterprise Linux OpenStack Platform 4.0 (Havana)
- Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno)
- HP 3PAR Storage
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.