[Gluster-users] Ownership changed to root

Anand Avati anand.avati at gmail.com
Wed Aug 29 06:34:57 UTC 2012


Is it possible a gluster volume rebalance (or remove brick) was in progress
in the background? If so you might have hit
http://review.gluster.org/3861. If not, can you please file a bug with the
client logs (of all the machines where 'disk' file was possibly getting
modified?

Thanks,
Avati

On Fri, Aug 24, 2012 at 2:17 PM, Joe Topjian <joe at topjian.net> wrote:

> Hello,
>
> I'm seeing a weird issue with OpenStack and Gluster.
>
> I have /var/lib/nova/instances mounted as a glusterfs volume. The owner of
> /var/lib/nova/instances is nova:nova.
>
> When I launch a vm and watch it launching, I see the following:
>
> root at c01:/var/lib/nova/instances/instance-00000012# ls -l
> total 8
> -rw-rw---- 1 nova nova    0 Aug 24 14:22 console.log
> -rw-rw-r-- 1 nova nova 1459 Aug 24 14:22 libvirt.xml
>
> This is correct.
>
> Then it changes ownership to libvirt-qemu:
>
> root at c01:/var/lib/nova/instances/instance-00000012# ls -l
> total 22556
> -rw-rw---- 1 libvirt-qemu kvm         0 Aug 24 14:22 console.log
> -rw-r--r-- 1 libvirt-qemu kvm  27262976 Aug 24 14:22 disk
> -rw-rw-r-- 1 nova         nova     1459 Aug 24 14:22 libvirt.xm
>
> Again, this is correct.
>
> But then it changes to root:
>
> root at c01:/var/lib/nova/instances/instance-00000012# ls -l
> total 22556
> -rw-rw---- 1 root root        0 Aug 24 14:22 console.log
> -rw-r--r-- 1 root root 27262976 Aug 24 14:22 disk
> -rw-rw-r-- 1 nova nova     1459 Aug 24 14:22 libvirt.xml
>
> OpenStack then errors out due to not being able to correctly access the
> files.
>
> If I remove the /var/lib/nova/instances mount and just use the normal
> filesystem, the root ownership part does not happen.
>
> I have successfully had Gluster working with OpenStack in this way on a
> different installation, so I'm not sure why I'm seeing this issue now.
>
> Any ideas?
>
> Thanks,
> Joe
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120828/77bc97ac/attachment.html>


More information about the Gluster-users mailing list