Issues setting up Red Hat Storage (Gluster) as Cinder backend

Solution Unverified - Updated -

Issue

  • We can create a volume successfully however while attempting to attach the volume to an instance, nova dumps a trace on the compute node on which the instance is running.
2014-04-10 20:55:37.430 13641 ERROR nova.openstack.common.rpc.amqp [req-4c77174e-edbd-4661-912c-15d8438ce328 d2b5aa5eee294a10b41f701b738701fa 2244a5905ad745a49bc80608a0f318f9] Exception during message handling
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     **args)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 90, in wrapped
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     payload)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 73, in wrapped
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 243, in decorated_function
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     pass
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 229, in decorated_function
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 271, in decorated_function
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     e, sys.exc_info())
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 258, in decorated_function
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3653, in attach_volume
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     context, instance, mountpoint)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3648, in attach_volume
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     mountpoint, instance)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3695, in _attach_volume
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     connector)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 3685, in _attach_volume
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     encryption=encryption)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1117, in attach_volume
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     disk_dev)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1104, in attach_volume
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     virt_dom.attachDeviceFlags(conf.to_xml(), flags)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 179, in doit
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     result = proxy_call(self._autowrap, f, *args, **kwargs)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 139, in proxy_call
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     rv = execute(f,*args,**kwargs)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 77, in tworker
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     rv = meth(*args,**kwargs)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 419, in attachDeviceFlags
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp     if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp libvirtError: internal error unable to execute QEMU command '__com.redhat_drive_add': Device 'drive-virtio-disk3' could not be initialized
2014-04-10 20:55:37.430 13641 TRACE nova.openstack.common.rpc.amqp

Environment

  • Red Hat Enterprise Linux OpenStack Platform 4.0
  • Red Hat Storage 2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In