<div dir="ltr"><div>Hi Guys</div><div> </div><div> </div><div>Any know issue why we are not able to start VM due to permission issue on disk image file .. as per docs ownership should be vdsm:kvm byt not sure why its showing below </div>
<div> </div><div>used - both ovirt-node-iso-3.0.1-1.0.1.vdsm.el6 & ovirt-node-iso-3.0.1-1.0.2.vdsm.el6 same issue [ using NFS Domain ]</div><div> </div><div> </div><div><font face="courier new,monospace">VM n0001vdap is down. Exit message: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/rhev/data-center/d09d8a3e-8ab4-42fc-84ec-86f307d144a0/1a04e13a-0ed4-40d6-a153-f7091c65d916/images/44e3fc9b-0382-4c11-b00c-35bd74032e9a/34542412-ed50-4350-8867-0d7d5f8127fd,if=none,id=drive-virtio-disk0,format=raw,serial=44e3fc9b-0382-4c11-b00c-35bd74032e9a,cache=none,werror=stop,rerror=stop,aio=threads: <strong>could not open </strong>disk image <strong>/rhev/data-center</strong>/d09d8a3e-8ab4-42fc-84ec-86f307d144a0/1a04e13a-0ed4-40d6-a153-f7091c65d916/<strong>images</strong>/44e3fc9b-0382-4c11-b00c-35bd74032e9a/34542412-ed50-4350-8867-0d7d5f8127fd: <strong>Permission denied</strong></font></div>
<div><br><font face="courier new,monospace">[root@node1 44e3fc9b-0382-4c11-b00c-35bd74032e9a]# ls -lh<br>total 1.1M<br>-rw-rw----+ 1 <strong>vdsm 96</strong> 6.0G 2013-10-15 05:47 34542412-ed50-4350-8867-0d7d5f8127fd<br>-rw-rw----+ 1 <strong>vdsm 96</strong> 1.0M 2013-10-15 05:47 34542412-ed50-4350-8867-0d7d5f8127fd.lease<br>
-rw-rw-rw-+ 1 <strong>vdsm 96</strong> 268 2013-10-15 05:47 34542412-ed50-4350-8867-0d7d5f8127fd.meta</font></div><div><font face="Courier New"></font> </div><div><font face="Courier New">As it doesn't allow us o change permissions any alternate way for this ?or do I need to manually set permissions in <strong>"/etc/libvirt/qemu.conf"</strong></font></div>
<div><font face="Courier New">alos ther is no such <strong>group </strong>with<strong> "96"</strong> .. so from where it picks this config .</font></div><div><font face="Courier New"></font> </div><div><font face="Courier New">Another question is related to SELINUX config change for below 2 parameters to recover from error "<strong>internal error Failed to open socket to sanlock daemon: Permission denied</strong>" I saw some where this is fixed but not sure why it appears VDSM should take care of this auto</font></div>
<div><font face="Courier New"></font> </div><div>setsebool -P virt_use_sanlock=on<br>setsebool -P virt_use_nfs=on</div></div>