libgfapi port in Havana 2013.2.1 and CentOS 6.5

asked 2014-02-03 03:29:39 -0600

desalvo gravatar image

Hi, I'm running on a CentOS 6.5 cluster and I've configured my openstack (Havana 2013.2.1) cinder service to use native libgfapi access, by adding the following to /etc/nova/nova.conf

qemu_allowed_storage_drivers=gluster

and adding the appropriate share in /etc/cinder/shares:

gluster.host:/volume-name

All is OK at the beginning, and I can create volumes without troubles. However, when I try to attach any volume to a running instance it fails with the following error message in nova/compute.log:

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 187, in doit

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp result = proxy_call(self._autowrap, f, args, *kwargs)

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 147, in proxy_call

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp rv = execute(f,args,*kwargs)

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/eventlet/tpool.py", line 76, in tworker

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp rv = meth(args,*kwargs)

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.6/site-packages/libvirt.py", line 419, in attachDeviceFlags

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)

2014-02-03 01:55:41.603 10874 TRACE nova.openstack.common.rpc.amqp libvirtError: XML error: missing port for host

I would say the service port is missing from the <host> directive of the xml generated for libvirt, while in fact it is needed. Is there any way to force using the default port='0' at least? Thanks,

Alessandro

edit retag flag offensive close merge delete