Hello,<div><br></div><div>I&#39;m seeing a weird issue with OpenStack and Gluster. </div><div><br></div><div>I have /var/lib/nova/instances mounted as a glusterfs volume. The owner of /var/lib/nova/instances is nova:nova.</div>
<div><br></div><div>When I launch a vm and watch it launching, I see the following:</div><div><br></div><div><div>root@c01:/var/lib/nova/instances/instance-00000012# ls -l</div><div>total 8</div><div>-rw-rw---- 1 nova nova    0 Aug 24 14:22 console.log</div>
<div>-rw-rw-r-- 1 nova nova 1459 Aug 24 14:22 libvirt.xml</div></div><div><br></div><div>This is correct.</div><div><br></div><div>Then it changes ownership to libvirt-qemu:</div><div><br></div><div><div>root@c01:/var/lib/nova/instances/instance-00000012# ls -l</div>
<div>total 22556</div><div>-rw-rw---- 1 libvirt-qemu kvm         0 Aug 24 14:22 console.log</div><div>-rw-r--r-- 1 libvirt-qemu kvm  27262976 Aug 24 14:22 disk</div><div>-rw-rw-r-- 1 nova         nova     1459 Aug 24 14:22 libvirt.xm</div>
</div><div><br></div><div>Again, this is correct.</div><div><br></div><div>But then it changes to root:</div><div><br></div><div><div>root@c01:/var/lib/nova/instances/instance-00000012# ls -l</div><div>total 22556</div><div>
-rw-rw---- 1 root root        0 Aug 24 14:22 console.log</div><div>-rw-r--r-- 1 root root 27262976 Aug 24 14:22 disk</div><div>-rw-rw-r-- 1 nova nova     1459 Aug 24 14:22 libvirt.xml</div></div><div><br></div><div>OpenStack then errors out due to not being able to correctly access the files.</div>
<div><br></div><div>If I remove the /var/lib/nova/instances mount and just use the normal filesystem, the root ownership part does not happen.</div><div><br></div><div>I have successfully had Gluster working with OpenStack in this way on a different installation, so I&#39;m not sure why I&#39;m seeing this issue now.</div>
<div><br></div><div>Any ideas?</div><div><br></div><div>Thanks,</div><div>Joe</div>