[ovirt-users] gluster VM disk permissions

Nir Soffer nsoffer at redhat.com
Fri May 20 18:13:37 UTC 2016


On Fri, May 20, 2016 at 9:02 PM, Bill James <bill.james at j2.com> wrote:

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

Same on ovirt2?


>
>
>
>
> 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> כתב:
>
>> 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
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
> [image: www.j2.com]
> <http://www.j2.com/?utm_source=j2global&utm_medium=xsell-referral&utm_campaign=employeeemail>
>
> This email, its contents and attachments contain information from j2
> Global, Inc
> <http://www.j2.com/?utm_source=j2global&utm_medium=xsell-referral&utm_campaign=employemail>.
> 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. © 2015 j2 Global, Inc
> <http://www.j2.com/>. All rights reserved. eFax ® <http://www.efax.com/>, eVoice
> ® <http://www.evoice.com/>, Campaigner ® <http://www.campaigner.com/>, FuseMail
> ® <http://www.fusemail.com/>, KeepItSafe ® <http://www.keepitsafe.com/>
> and Onebox ® <http://www.onebox.com/> are ! registere d trademarks of j2
> Global, Inc <http://www.j2.com/>. and its affiliates.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160520/a1707d17/attachment-0001.html>


More information about the Users mailing list