RHEV Slinux issue

Latest response

Hi Expert,

i have been assigned to test RHEV virtualisation so far i am really impressed, our company wants to migrate to RHEV from ESXI now, i have built some labs to test the functionality, i had stuck with one issue which i am having hard times to figure out, i had create an ISO domain locally on the RHEV-M and shared it, permissions are correct, when i set selinux permissive mode on the RHEV Host it works without issues i can create a vms but when i set it back to enforcing mode i get the following erros message from the RHEV logs:

/vdsm/libvirtconnection.py", line 92, in wrapper#012 File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2665, in createXML#012libvirtError: unable to set security context 'system_u:object_r:virt_content_t:s0' on '/rhev/data-center/mnt/192.168.1.182:_ISO/fa0f87d2-cf45-4829-b52d-701cb61ea424/images/11111111-1111-1111-1111-111111111111/openfiler-2.3-x86_64-disc1.iso': Permission denied

can someone help me pleas?

regards

Responses

I'm not sure but I guess... ISO Domain is not content of virt_content_t TAG..
It's NFS content and need setbool
ISO DOMAIN SERVER(RHEV-M) : nfs_export_all_ro=1
HYPERVISOR : virt_use_nfs=1, qemu_use_nfs=1

thanks lee but how do i set that?
regards

[root@master ~]# setsebool -P qemu_use_nfs=1 virt_use_nfs=1

check this out
http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.