Looking at /var/lib/libvirt/images is there any attribute or permission here to change?<div><br></div><div><div><div>[root@kvmsrv002 libvirt]# pwd</div><div>/var/lib/libvirt</div></div><div><br></div><div>[root@kvmsrv001 libvirt]# ls -lZ</div>
<div><div>drwx------  root root                                  boot</div><div>drwx--x--x  root root system_u:object_r:fusefs_t:s0    images</div><div>drwx------  root root                                  iptables</div>
<div>drwx------  root root                                  network</div><div>drwx------  root root                                  qemu</div></div><div><br></div><div><br></div><div>Remembering that my SELinux is disabled</div>
<div><br></div> <br>- -<br>iarlyy selbir<br><br><div>:wq!</div><br>
<br><br><div class="gmail_quote">On Tue, Jan 18, 2011 at 1:50 PM, iarly selbir <span dir="ltr">&lt;<a href="mailto:iarlyy@gmail.com">iarlyy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>- -<br>iarlyy selbir<br><br><div>:wq!</div><br>
<br><br><div class="gmail_quote"><div class="im">On Tue, Jan 18, 2011 at 1:38 PM, Thomas Sjolshagen <span dir="ltr">&lt;<a href="mailto:thomas@sjolshagen.net" target="_blank">thomas@sjolshagen.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Tue, 18 Jan 2011 17:29:30 +0100, Dor Laor &lt;<a href="mailto:dlaor@redhat.com" target="_blank">dlaor@redhat.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 01/18/2011 02:06 PM, iarly selbir wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I configured a Gluster volume to work as my backend storage instead gfs<br>
but I can&#39;t finish the setup of a vm, after click em<br>
finish(virt-manager) it show me this error:<br>
<br>
Unable to complete install &#39;libvirt.libvirtError internal error unable<br>
to start guest: qemu: could not open disk image<br>
/var/lib/libvirt/images/test.img<br>
<br>
</blockquote></blockquote></div>
[snip]<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The file test.img is created but the domain is not, If I umount<br>
/var/lib/libvirt/images (mount point to my gluster volume) all works fine.<br>
<br>
Does anyone experienced with this?<br>
</blockquote>
<br>
Seems like there is some sort of an access/permission issue.<br>
Since your disk should be shared, make sure that it&#39;s there in the </blockquote></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
libvirt xml and the file is writable.<br>
<br></blockquote></div></blockquote><div><br></div></div><div>my shared partition is mounted on /var/lib/libvirt/images where only vm images should be stored, I can assume my gluster partition is working fine because the test.img is replicated to another host and I can access it normally.</div>
<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


</blockquote></div>
[snip]<br>
<br>
Try:<br>
# getselinux<br>
<br>
If the result is &quot;1&quot; or &quot;Enabled&quot;, then you have SELinux enabled and you need to label the directory you&#39;ve mounted over /var/lib/libvirt/images with &quot;# restorecon -rv /var/lib/libvirt/&quot; for instance.<br>


</blockquote></div></div><br><div>My SELinux is disabled. </div><div><br></div>
</blockquote></div><br></div>