[virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName

Fasiha Ashraf feehapk at yahoo.co.in
Tue Oct 27 08:43:52 UTC 2009


What I doubt is it using the hvmboot loader and take my VM as HVM. Why the virt type is disabled. Why cant i change it to paravirt. details are as follows:- 
[root at Server1-FC11 ~]# virsh --connect xen:/// capabilities
<capabilities>
  <host>
    <cpu>
      <arch>x86_64</arch>
      <features>
        <pae/>
      </features>
    </cpu>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>xenmigr</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num='1'>
        <cell id='0'>
          <cpus num='8'>
            <cpu id='0'/>
            <cpu id='1'/>
            <cpu id='2'/>
            <cpu id='3'/>
            <cpu id='4'/>
            <cpu id='5'/>
            <cpu id='6'/>
            <cpu id='7'/>
          </cpus>
        </cell>
      </cells>
    </topology>
  </host>

  <guest>
    <os_type>xen</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
      <machine>xenpv</machine>
      <domain type='xen'>
      </domain>
    </arch>
  </guest>

  <guest>
    <os_type>xen</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
      <machine>xenpv</machine>
      <domain type='xen'>
      </domain>
    </arch>
    <features>
      <pae/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
      <loader>/usr/lib/xen/boot/hvmloader</loader>
      <machine>xenfv</machine>
      <domain type='xen'>
      </domain>
    </arch>
    <features>
      <pae/>
      <nonpae/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='yes'/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
      <loader>/usr/lib/xen/boot/hvmloader</loader>
      <machine>xenfv</machine>
      <domain type='xen'>
      </domain>
    </arch>
    <features>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='yes'/>
    </features>
  </guest>
</capabilities>
[root at Server1-FC11 ~]# virsh --connect xen:/// version
Compiled against library: libvir 0.7.1
Using library: libvir 0.7.1
Using API: Xen 3.0.1
Running hypervisor: Xen 3.4.0
Also see this error msg 
virsh: error: failed to disconnect from the hypervisor


Fasiha Ashraf

--- On Mon, 26/10/09, Cole Robinson <crobinso at redhat.com> wrote:

From: Cole Robinson <crobinso at redhat.com>
Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <feehapk at yahoo.co.in>
Cc: virt-tools-list at redhat.com, bderzhavets at yahoo.com, "Xen users" <james.harper at bendigoit.com.au>, "Fedora Xen" <fedora-xen at redhat.com>
Date: Monday, 26 October, 2009, 7:08 PM

On 10/26/2009 09:24 AM, Fasiha Ashraf wrote:
> It seem that its trying to install HVM guest that is not possible using virt-manager.
> But you can see from the attached screen shot that virt type option is disabled and i can't select paravirt from it. what should i do?
> here's the log .virt-manager/virt-manager.log
> 

Please include the other information I asked for:

virsh --connect xen:/// capabilities
virsh --connect xen:/// version

- Cole

> [Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0
> [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0
> [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) Default storage path is: /var/lib/libvirt/images/f.img
> [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f.img'.
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: /dev/sr0
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) Default storage path is: /var/lib/libvirt/images/f.img
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f.img'.
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516) Creating a VM f
>   Type: xen,hvm
>   UUID: 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3
>   Install Source: /dev/sr0
>   OS: linux:fedora11
>   Kernel args: None
>   Memory: 512
>   Max Memory: 512
>   # VCPUs: 1
>   Filesize: 7.0
> [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1565) Starting background install process
> [Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950) Creating storage volume 'f.img' with xml:
> <volume>
>   <name>f.img</name>
>   <capacity>7516192768</capacity>
>   <allocation>7516192768</allocation>
>   <target>
>     <format type='raw'/>
>   </target>
> </volume>
> [Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973) Storage volume 'f.img' install complete.
> [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) Creating guest from:
> <domain type='xen'>
>   <name>f</name>
>   <currentMemory>524288</currentMemory>
>   <memory>524288</memory>
>   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3</uuid>
>   <os>
>     <type arch='x86_64'>hvm</type>
>     <loader>/usr/lib/xen/boot/hvmloader</loader>
>     <boot dev='cdrom'/>
>   </os>
>   <features>
>     <acpi/><apic/><pae/>
>   </features>
>   <clock offset="utc"/>
>   <on_poweroff>destroy</on_poweroff>
>   <on_reboot>destroy</on_reboot>
>   <on_crash>destroy</on_crash>
>   <vcpu>1</vcpu>
>   <devices>
>     <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
>     <disk type='file' device='disk'>
>       <source file='/var/lib/libvirt/images/f.img'/>
>       <target dev='hda' bus='ide'/>
>     </disk>
>     <disk type='block' device='cdrom'>
>       <source dev='/dev/sr0'/>
>       <target dev='hdc' bus='ide'/>
>       <readonly/>
>  </disk>
>     <interface type='bridge'>
>       <source bridge='eth0'/>
>       <mac address='00:16:36:08:9e:36'/>
>     </interface>
>     <input type='tablet' bus='usb'/>
>     <graphics type='vnc' port='-1'/>
>     <console type='pty'/>
>     <sound model='es1370'/>
>   </devices>
> </domain>
> 
> [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (netdevhelper:176) Adding net device vif3.0 fe:ff:ff:ff:ff:ff /sys/class/net/vif3.0 (bridge: None)
> [Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) Tick is slow, not running at requested rate.
> [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138) Removing physical net device vif3.0 from list.
> [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (opticalhelper:205) Optical device removed: /org/freedesktop/Hal/devices/net_fe_ff_ff_ff_ff_ff
> [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76) Uncaught Error: Unable to complete install: 'POST operation failed: xend_post: error from xen $
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/create.py", line 1575, in do_install
>     dom = guest.start_install(False, meter = meter)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install
> File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install
>     return self._do_install(consolecb, meter, removeOld, wait)
>   File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install
>     self.domain = self.conn.createLinux(install_xml, 0)
>   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux
>     if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
> libvirtError: POST operation failed: xend_post: error from xen daemon: <Fault 3: 'f'>
> '
> [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) window counter decremented to 0
> [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) Exiting app normally.
> 
> 
> 
> Fasiha Ashraf
> 
> --- On Mon, 26/10/09, Cole Robinson <crobinso at redhat.com> wrote:
> 
> From: Cole Robinson <crobinso at redhat.com>
> Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
> To: "Fasiha Ashraf" <feehapk at yahoo.co.in>
> Cc: virt-tools-list at redhat.com, bderzhavets at yahoo.com, "Xen users" <james.harper at bendigoit.com.au>, "Fedora Xen" <fedora-xen at redhat.com>
> Date: Monday, 26 October, 2009, 5:58 PM
> 
> On 10/26/2009 06:48 AM, Fasiha Ashraf wrote:
>> Hi all
>> I am facing this error while installing Guest VM on FC11 using virt-manager
>> Unable to complete install '<class 'libvirt.libvirtError'> Domain not found: xenUnifiedDomainLookupByName
>> Traceback (most recent call last):
>>    File "/usr/share/virt-manager/virtManager/create.py", line 1575, in do_install
>>      dom = guest.start_install(False, meter = meter)
>>    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install
>>      return self._do_install(consolecb, meter, removeOld, wait)
>>    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install
>>      self.domain = self.conn.createLinux(install_xml, 0)
>>    File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux
>>      if ret is
>>   None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
>> libvirtError: Domain not found: xenUnifiedDomainLookupByName
>> '
>> What should i do to avoid it? please help!
>> Boris! How did you create PV guests using virt-manager i am following your article 
>>   http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/#comment-623
>> PFA, a screen-shot of the virt-manager
>>
>> Regards,
>> Fasiha Ashraf
>>
> 
> CCing fedora-xen list.
> 
> Rather than a screenshot, can you include:
> 
> ~/.virt-manager/virt-manager.log
> virsh --connect xen:/// capabilities
> virsh --connect xen:/// version
> 
> Thanks,
> Cole





      Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20091027/4547d613/attachment.htm>


More information about the virt-tools-list mailing list