<div>debug I get using virt-install instead virt-manager</div><div><br></div><div>[root@kvmsrv001 ~]# virt-install -d --prompt</div><div>Wed, 19 Jan 2011 11:59:59 DEBUG    Requesting libvirt URI default</div><div>Wed, 19 Jan 2011 11:59:59 DEBUG    Received libvirt URI &#39;qemu:///system&#39;</div>
<div>Would you like to use KVM acceleration? (yes or no) yes</div><div>Wed, 19 Jan 2011 12:00:03 DEBUG    Requesting virt method &#39;hvm&#39;</div><div>Wed, 19 Jan 2011 12:00:03 DEBUG    Received virt method &#39;hvm&#39;</div>
<div>Wed, 19 Jan 2011 12:00:03 DEBUG    Hypervisor name is &#39;kvm&#39;</div><div> What is the name of your virtual machine? test</div><div> How much RAM should be allocated (in megabytes)? 8192</div><div> What would you like to use as the disk (file path)? /var/lib/libvirt/images/test.img</div>
<div>Wed, 19 Jan 2011 12:00:26 DEBUG    Setting size for existing storage to &#39;300.0&#39;</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Detected storage as type &#39;file&#39;</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Setting size for existing storage to &#39;300.0&#39;</div>
<div>Wed, 19 Jan 2011 12:00:26 DEBUG    Detected storage as type &#39;file&#39;</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Setting size for existing storage to &#39;300.0&#39;</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Detected storage as type &#39;file&#39;</div>
<div>Wed, 19 Jan 2011 12:00:26 DEBUG    DISPLAY is set: graphics defaulting to VNC.</div><div> What is the install CD-ROM/ISO or URL? /var/lib/libvirt/images/win2003en.iso</div><div>Wed, 19 Jan 2011 12:00:43 DEBUG    DistroInstaller location is a local file/path: /var/lib/libvirt/images/win2003en.iso</div>
<div>Wed, 19 Jan 2011 12:00:43 DEBUG    Setting size for existing storage to &#39;0.530550003052&#39;</div><div>Wed, 19 Jan 2011 12:00:43 DEBUG    Detected storage as type &#39;file&#39;</div><div> </div><div><br></div><div>
Starting install...</div><div>Wed, 19 Jan 2011 12:00:43 DEBUG    Setting size for existing storage to &#39;0.530550003052&#39;</div><div>Wed, 19 Jan 2011 12:00:43 DEBUG    Detected storage as type &#39;file&#39;</div><div>
Wed, 19 Jan 2011 12:00:43 DEBUG    Creating guest from:</div><div>&lt;domain type=&#39;kvm&#39;&gt;</div><div>  &lt;name&gt;test&lt;/name&gt;</div><div>  &lt;currentMemory&gt;8388608&lt;/currentMemory&gt;</div><div>  &lt;memory&gt;8388608&lt;/memory&gt;</div>
<div>  &lt;uuid&gt;5c1f79ad-3a6c-f93c-2785-c5f49b182066&lt;/uuid&gt;</div><div>  &lt;os&gt;</div><div>    &lt;type arch=&#39;x86_64&#39;&gt;hvm&lt;/type&gt;</div><div>    &lt;boot dev=&#39;cdrom&#39;/&gt;</div><div>  &lt;/os&gt;</div>
<div>  &lt;features&gt;</div><div>    &lt;acpi/&gt;&lt;apic/&gt;&lt;pae/&gt;</div><div>  &lt;/features&gt;</div><div>  &lt;clock offset=&quot;utc&quot;/&gt;</div><div>  &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;</div>
<div>  &lt;on_reboot&gt;destroy&lt;/on_reboot&gt;</div><div>  &lt;on_crash&gt;destroy&lt;/on_crash&gt;</div><div>  &lt;vcpu&gt;1&lt;/vcpu&gt;</div><div>  &lt;devices&gt;</div><div>    &lt;emulator&gt;/usr/libexec/qemu-kvm&lt;/emulator&gt;</div>
<div>    &lt;console type=&#39;pty&#39;/&gt;</div><div>    &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;</div><div>      &lt;driver name=&#39;qemu&#39; cache=&#39;none&#39;/&gt;</div><div>      &lt;source file=&#39;/var/lib/libvirt/images/test.img&#39;/&gt;</div>
<div>      &lt;target dev=&#39;hda&#39; bus=&#39;ide&#39;/&gt;</div><div>    &lt;/disk&gt;</div><div>    &lt;disk type=&#39;file&#39; device=&#39;cdrom&#39;&gt;</div><div>      &lt;source file=&#39;/var/lib/libvirt/images/win2003en.iso&#39;/&gt;</div>
<div>      &lt;target dev=&#39;hdc&#39; bus=&#39;ide&#39;/&gt;</div><div>      &lt;readonly/&gt;</div><div>    &lt;/disk&gt;</div><div>    &lt;interface type=&#39;bridge&#39;&gt;</div><div>      &lt;source bridge=&#39;br0&#39;/&gt;</div>
<div>      &lt;mac address=&#39;54:52:00:42:8c:20&#39;/&gt;</div><div>    &lt;/interface&gt;</div><div>    &lt;input type=&#39;mouse&#39; bus=&#39;ps2&#39;/&gt;</div><div>    &lt;graphics type=&#39;vnc&#39; port=&#39;-1&#39; keymap=&#39;en-us&#39;/&gt;</div>
<div>  &lt;/devices&gt;</div><div>&lt;/domain&gt;</div><div><br></div><div><br></div><div><br></div><div>Wed, 19 Jan 2011 12:01:13 ERROR    internal error unable to start guest: qemu: could not open disk image /var/lib/libvirt/images/test.img</div>
<div><br></div><div>Domain installation may not have been</div><div> successful.  If it was, you can restart your domain</div><div> by running &#39;virsh start test&#39;; otherwise, please</div><div> restart your installation.</div>
<div>Wed, 19 Jan 2011 12:01:13 ERROR    internal error unable to start guest: qemu: could not open disk image /var/lib/libvirt/images/test.img</div><div>Traceback (most recent call last):</div><div>  File &quot;/usr/sbin/virt-install&quot;, line 889, in ?</div>
<div>    main()</div><div>  File &quot;/usr/sbin/virt-install&quot;, line 751, in main</div><div>    start_time, guest.start_install)</div><div>  File &quot;/usr/sbin/virt-install&quot;, line 813, in do_install</div><div>
    dom = install_func(conscb, progresscb, wait=(not wait))</div><div>  File &quot;/usr/lib/python2.4/site-packages/virtinst/Guest.py&quot;, line 541, in start_install</div><div>    return self._do_install(consolecb, meter, removeOld, wait)</div>
<div>  File &quot;/usr/lib/python2.4/site-packages/virtinst/Guest.py&quot;, line 633, in _do_install</div><div>    self.domain = self.conn.createLinux(install_xml, 0)</div><div>  File &quot;/usr/lib64/python2.4/site-packages/libvirt.py&quot;, line 974, in createLinux</div>
<div>    if ret is None:raise libvirtError(&#39;virDomainCreateLinux() failed&#39;, conn=self)</div><div>libvirtError: internal error unable to start guest: qemu: could not open disk image /var/lib/libvirt/images/test.img</div>
<div><br></div><div><br></div><div>Thanks for any help.</div> <br>- -<br>iarlyy selbir<br><br><div>:wq!</div><br>
<br><br><div class="gmail_quote">On Tue, Jan 18, 2011 at 12:53 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;">
Hi guys, I posted this question at virt list on Fedora Project but I guess its a best place to ask help for my problem.<div><br></div><div>I&#39;m trying to set up two kvm/libvirt hosts, I installed the set of packages contained in @kvm and @clustering groups, downloaded and installed glusterfs version 3.1.2, configured the cluster ( all working ), configured the gluster volume and mounted it on /var/lib/libvirt/images.</div>


<div><br></div><div>The problem is when I try to create the VM, after click in finish(virt-manager) it returns the following error:</div><div><br></div><div><span style="font-family:arial, sans-serif;font-size:10px;border-collapse:collapse"><div>

Unable to complete install &#39;libvirt.libvirtError internal error unable to start guest: qemu: could not open disk image /var/lib/libvirt/images/test.img</div><div><br></div><div>Traceback (most recent call last):</div>

<div>  File &quot;/usr/share/virt-manager/virtManager/create.py&quot;, line 724, in do_install</div><div>    dom = guest.start_install(False, meter = meter)</div><div>  File &quot;/usr/lib/python2.4/site-packages/virtinst/Guest.py&quot;, line 541, in start_install</div>

<div>    return self._do_install(consolecb, meter, removeOld, wait)</div><div>  File &quot;/usr/lib/python2.4/site-packages/virtinst/Guest.py&quot;, line 633, in _do_install</div><div>    self.domain = self.conn.createLinux(install_xml, 0)</div>

<div>  File &quot;/usr/lib64/python2.4/site-packages/libvirt.py&quot;, line 974, in createLinux</div><div>    if ret is None:raise libvirtError(&#39;virDomainCreateLinux() failed&#39;, conn=self)</div><div>libvirtError: internal error unable to start guest: qemu: could not open disk image /var/lib/libvirt/images/test.img</div>

<div><br></div><div># /var/log/messages</div><div><div><br></div><div>Jan 18 05:36:05 kvmsrv001 libvirtd: 05:36:05.227: error : internal error Timed out while reading console log output </div><div>Jan 18 05:36:05 kvmsrv001 libvirtd: 05:36:05.227: error : internal error unable to start guest: qemu: could not open disk image /var/lib/libvirt/images/test.img  </div>

</div></span></div><div><br></div><div><br></div><div>the image disk was created, but the domain(vm) is not. does someone experienced with this error? If I umount the gluster partition and use local disk the vm creation works fine.</div>

<div><br></div><div>Any suggestion will be appreciated.</div><div><br>- -<br>iarlyy selbir<br><br><div>:wq!</div><br>

</div>
</blockquote></div><br>