<div dir="ltr"><div>hi</div><div> </div><div>Permission issue is resolved after changing on openfiler NFS share permission .but still on every reboot we need to set below values manually</div><div>Any idea how to make it perm </div>
<div> </div><div>setsebool -P virt_use_sanlock=on<br> setsebool -P virt_use_nfs=on</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 8:24 AM, Itamar Heim <span dir="ltr"><<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 10/15/2013 11:05 AM, Anil Dhingra wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div class="im">
Hi Guys<br>
Any know issue why we are not able to start VM due to permission issue<br>
on disk image file .. as per docs ownership should be vdsm:kvm byt not<br>
sure why its showing below<br>
used - both ovirt-node-iso-3.0.1-1.0.1.<u></u>vdsm.el6 &<br>
ovirt-node-iso-3.0.1-1.0.2.<u></u>vdsm.el6 same issue [ using NFS Domain ]<br>
VM n0001vdap is down. Exit message: internal error process exited while<br>
connecting to monitor: qemu-kvm: -drive<br>
file=/rhev/data-center/<u></u>d09d8a3e-8ab4-42fc-84ec-<u></u>86f307d144a0/1a04e13a-0ed4-<u></u>40d6-a153-f7091c65d916/images/<u></u>44e3fc9b-0382-4c11-b00c-<u></u>35bd74032e9a/34542412-ed50-<u></u>4350-8867-0d7d5f8127fd,if=<u></u>none,id=drive-virtio-disk0,<u></u>format=raw,serial=44e3fc9b-<u></u>0382-4c11-b00c-35bd74032e9a,<u></u>cache=none,werror=stop,rerror=<u></u>stop,aio=threads:<br>
</div>
*could not open *disk image<br>
*/rhev/data-center*/d09d8a3e-<u></u>8ab4-42fc-84ec-86f307d144a0/<u></u>1a04e13a-0ed4-40d6-a153-<u></u>f7091c65d916/*images*/<u></u>44e3fc9b-0382-4c11-b00c-<u></u>35bd74032e9a/34542412-ed50-<u></u>4350-8867-0d7d5f8127fd:<br>
*Permission denied*<div class="im"><br>
<br>
[root@node1 44e3fc9b-0382-4c11-b00c-<u></u>35bd74032e9a]# ls -lh<br>
total 1.1M<br></div>
-rw-rw----+ 1 *vdsm 96* 6.0G 2013-10-15 05:47<br>
34542412-ed50-4350-8867-<u></u>0d7d5f8127fd<br>
-rw-rw----+ 1 *vdsm 96* 1.0M 2013-10-15 05:47<br>
34542412-ed50-4350-8867-<u></u>0d7d5f8127fd.lease<br>
-rw-rw-rw-+ 1 *vdsm 96* 268 2013-10-15 05:47<div class="im"><br>
34542412-ed50-4350-8867-<u></u>0d7d5f8127fd.meta<br>
As it doesn't allow us o change permissions any alternate way for this<br></div>
?or do I need to manually set permissions in *"/etc/libvirt/qemu.conf"*<br>
alos ther is no such *group *with*"96"* .. so from where it picks this<div class="im"><br>
config .<br>
Another question is related to SELINUX config change for below 2<br></div>
parameters to recover from error "*internal error Failed to open socket<br>
to sanlock daemon: Permission denied*" I saw some where this is fixed<div class="im"><br>
but not sure why it appears VDSM should take care of this auto<br>
setsebool -P virt_use_sanlock=on<br>
setsebool -P virt_use_nfs=on<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
have you tried:<br>
<a href="http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues" target="_blank">http://www.ovirt.org/wiki/<u></u>Troubleshooting_NFS_Storage_<u></u>Issues</a><br>
</blockquote></div><br></div>