<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 'qemu:///system'</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 'hvm'</div><div>Wed, 19 Jan 2011 12:00:03 DEBUG    Received virt method 'hvm'</div>
<div>Wed, 19 Jan 2011 12:00:03 DEBUG    Hypervisor name is 'kvm'</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 '300.0'</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Detected storage as type 'file'</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Setting size for existing storage to '300.0'</div>
<div>Wed, 19 Jan 2011 12:00:26 DEBUG    Detected storage as type 'file'</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Setting size for existing storage to '300.0'</div><div>Wed, 19 Jan 2011 12:00:26 DEBUG    Detected storage as type 'file'</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 '0.530550003052'</div><div>Wed, 19 Jan 2011 12:00:43 DEBUG    Detected storage as type 'file'</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 '0.530550003052'</div><div>Wed, 19 Jan 2011 12:00:43 DEBUG    Detected storage as type 'file'</div><div>
Wed, 19 Jan 2011 12:00:43 DEBUG    Creating guest from:</div><div><domain type='kvm'></div><div>  <name>test</name></div><div>  <currentMemory>8388608</currentMemory></div><div>  <memory>8388608</memory></div>
<div>  <uuid>5c1f79ad-3a6c-f93c-2785-c5f49b182066</uuid></div><div>  <os></div><div>    <type arch='x86_64'>hvm</type></div><div>    <boot dev='cdrom'/></div><div>  </os></div>
<div>  <features></div><div>    <acpi/><apic/><pae/></div><div>  </features></div><div>  <clock offset="utc"/></div><div>  <on_poweroff>destroy</on_poweroff></div>
<div>  <on_reboot>destroy</on_reboot></div><div>  <on_crash>destroy</on_crash></div><div>  <vcpu>1</vcpu></div><div>  <devices></div><div>    <emulator>/usr/libexec/qemu-kvm</emulator></div>
<div>    <console type='pty'/></div><div>    <disk type='file' device='disk'></div><div>      <driver name='qemu' cache='none'/></div><div>      <source file='/var/lib/libvirt/images/test.img'/></div>
<div>      <target dev='hda' bus='ide'/></div><div>    </disk></div><div>    <disk type='file' device='cdrom'></div><div>      <source file='/var/lib/libvirt/images/win2003en.iso'/></div>
<div>      <target dev='hdc' bus='ide'/></div><div>      <readonly/></div><div>    </disk></div><div>    <interface type='bridge'></div><div>      <source bridge='br0'/></div>
<div>      <mac address='54:52:00:42:8c:20'/></div><div>    </interface></div><div>    <input type='mouse' bus='ps2'/></div><div>    <graphics type='vnc' port='-1' keymap='en-us'/></div>
<div>  </devices></div><div></domain></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 'virsh start test'; 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 "/usr/sbin/virt-install", line 889, in ?</div>
<div>    main()</div><div>  File "/usr/sbin/virt-install", line 751, in main</div><div>    start_time, guest.start_install)</div><div>  File "/usr/sbin/virt-install", line 813, in do_install</div><div>
    dom = install_func(conscb, progresscb, wait=(not wait))</div><div>  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install</div><div>    return self._do_install(consolecb, meter, removeOld, wait)</div>
<div>  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install</div><div>    self.domain = self.conn.createLinux(install_xml, 0)</div><div>  File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux</div>
<div>    if ret is None:raise libvirtError('virDomainCreateLinux() failed', 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"><<a href="mailto:iarlyy@gmail.com">iarlyy@gmail.com</a>></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'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 '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 "/usr/share/virt-manager/virtManager/create.py", line 724, in do_install</div><div>    dom = guest.start_install(False, meter = meter)</div><div>  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install</div>

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

<div>  File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux</div><div>    if ret is None:raise libvirtError('virDomainCreateLinux() failed', 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>