[ovirt-users] gluster VM disk permissions

Bill James bill.james at j2.com
Fri May 20 18:02:38 UTC 2016


[root at ovirt1 prod ~]# sestatus
SELinux status:                 disabled



On 5/20/16 10:49 AM, Nir Soffer wrote:
>
> This smells like selinux issues, did yoi try with permissive mode?
>
> בתאריך 20 במאי 2016 7:59 אחה״צ,‏ "Bill James" <bill.james at j2.com 
> <mailto:bill.james at j2.com>> כתב:
>
>     Nobody has any ideas or thoughts on how to troubleshoot?
>
>     why does qemu group work but not kvm when qemu is part of kvm group?
>
>     [root at ovirt1 prod vdsm]# grep qemu /etc/group
>     cdrom:x:11:qemu
>     kvm:x:36:qemu,sanlock
>     qemu:x:107:vdsm,sanlock
>
>
>     On 5/18/16 3:47 PM, Bill James wrote:
>
>         another data point.
>         Changing just owner to qemu doesn't help.
>         Changing just group to qemu does. VM starts fine after that.
>
>
>
>         On 05/18/2016 11:49 AM, Bill James wrote:
>
>             Some added info. This issue seems to be just like this bug:
>             https://bugzilla.redhat.com/show_bug.cgi?id=1052114
>
>             I have verified that chown qemu:qemu of disk image also
>             fixes the startup issue.
>             I'm using raw, not qcow images.
>
>
>             [root at ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]#
>             qemu-img info 253f9615-f111-45ca-bdce-cbc9e70406df
>             image: 253f9615-f111-45ca-bdce-cbc9e70406df
>             file format: raw
>             virtual size: 20G (21474836480 bytes)
>             disk size: 1.9G
>             [root at ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]#
>             ls -l 253f9615-f111-45ca-bdce-cbc9e70406df
>             -rw-rw---- 1 qemu qemu 21474836480 May 18 11:38
>             253f9615-f111-45ca-bdce-cbc9e70406df
>
>             (default perms = vdsm:kvm)
>
>             qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
>             qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
>             libvirt-daemon-1.2.17-13.el7_2.4.x86_64
>
>
>             Ideas??
>
>
>
>     _______________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/mailman/listinfo/users
>


Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox


This email, its contents and attachments contain information from j2 Global, Inc. and/or its affiliates which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is prohibited. If you have received this email in error please notify the sender by reply e-mail and delete the original message and any copies. (c) 2015 j2 Global, Inc. All rights reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are registered trademarks of j2 Global, Inc. and its affiliates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160520/ba62ecfe/attachment-0001.html>


More information about the Users mailing list