ERROR nova.virt.libvirt.driver with Glusterfs in /var/lib/nova/instances

asked 2017-01-23 18:19:17 -0500

fleetdc gravatar image

updated 2017-05-30 09:16:16 -0500

rbowen gravatar image

I have an error creating instances I have upgraded to Newton and trying to use gluster for shared instances. I have followed all the directions from gluster and Openstack for gluster images being located in the /var/lib/nova/instances directory. I have added the uid and gid to the volume along with the server.allow-insecure on per the instructions. I still receive errors when I launch a vm on the gluster share but if I unmount the gluster share and launch on regular disk it works. If anyone has any info that can help it would greatly be appreciated I have included my compute log file from my compute node which is a gluster node and well :

2017-01-23 18:29:25.024 12184 INFO oslo.privsep.daemon [req-ccf734e9-1f88-483c-9f82-ebec1b1236cc d4840d2c54eb44c399544daebfa5bf61 f4b3c97b306f46f3ac42b6a0ab49b155 - - -] Spawned new privsep daemon via rootwrap
2017-01-23 18:29:25.035 12184 WARNING oslo.privsep.daemon [-] privsep log: Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
2017-01-23 18:29:25.037 12184 INFO oslo.privsep.daemon [-] privsep daemon starting
2017-01-23 18:29:25.038 12184 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
2017-01-23 18:29:25.039 12184 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_NET_ADMIN/CAP_NET_ADMIN/none
2017-01-23 18:29:25.040 12184 INFO oslo.privsep.daemon [-] privsep daemon running as pid 12251
2017-01-23 18:29:25.248 12184 INFO os_vif [req-ccf734e9-1f88-483c-9f82-ebec1b1236cc d4840d2c54eb44c399544daebfa5bf61 f4b3c97b306f46f3ac42b6a0ab49b155 - - -] Successfully plugged vif VIFBridge(active=False,address=fa:16:3e:8f:83:36,bridge_name='brq64a83540-1e',has_traffic_filtering=True,id=790eee8b-ab26-4b5c-94d0-093b00c9d020,network=Network(64a83540-1e24-47f4-9ce2-0887db42bcd0),plugin='linux_bridge',port_profile=<?>,preserve_on_delete=False,vif_name='tap790eee8b-ab')
2017-01-23 18:29:25.796 12184 ERROR nova.virt.libvirt.guest [req-ccf734e9-1f88-483c-9f82-ebec1b1236cc d4840d2c54eb44c399544daebfa5bf61 f4b3c97b306f46f3ac42b6a0ab49b155 - - -] Error launching a defined domain with XML: <domain type='kvm'>
    <nova:instance xmlns:nova="">
      <nova:package version="14.0.2-1.el7"/>
      <nova:creationTime>2017-01-23 23:29:23</nova:creationTime>
      <nova:flavor name="m1.small">
        <nova:user uuid="d4840d2c54eb44c399544daebfa5bf61">admin</nova:user>
        <nova:project uuid="f4b3c97b306f46f3ac42b6a0ab49b155">admin</nova:project>
      <nova:root type="image" uuid="f4b31ea1-9630-486d-bf3f-fcef5b9d1f29"/>
  <memory unit='KiB'>1048576</memory>
  <currentMemory unit='KiB'>1048576</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <sysinfo type='smbios'>
      <entry name='manufacturer'>RDO</entry>
      <entry name='product'>OpenStack Compute</entry>
      <entry name='version'>14.0.2-1.el7</entry>
      <entry name='serial'>2098fb47-1960-46be-8e1a-9d9a4e6f79ee</entry>
      <entry name='uuid'>c6634e67-b293-4424-96ec-f0c58b2bf081</entry>
      <entry name='family'>Virtual Machine</entry>
    <type arch='x86_64' machine='pc-i440fx-rhel7.3.0'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  <cpu mode='host-model'>
    <model fallback='allow'/>
    <topology sockets='1' cores='1' threads='1'/>
  <clock offset='utc'>
    <timer name='pit' tickpolicy ...
edit retag flag offensive close merge delete


Hi, I think you should check QEMU/Libvirt logs in /var/log/libvirt. Then you can try to take Nova/Cinder slightly out of equation by using XML file that is being generated, then put the disk file manually and try to do virsh start/virsh define with disk file that you copy yourself.

volenbovsky gravatar imagevolenbovsky ( 2017-01-26 15:24:16 -0500 )edit

what about the cinder volume log?

bcollins gravatar imagebcollins ( 2017-03-03 17:58:14 -0500 )edit