<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Guido et al.,<br><br>In the style of the other one re lvnc console in lenny;<br>Installing from the cdrom directky through virt-install and removing virt-manager,<br><br>We have<br><br>.....................................<br><br>idella@squeeze:~$ sudo virt-install -c xen -n centos-5.com -w bridge=eth0 -r 300 --os-type=linux --os-variant=generic26 --disk path=/dev/sdb2 --cdrom=/dev/sr1 -v -vnc --arch=x86_64<br><br><br>Starting install...<br>ERROR Domain not found: xenUnifiedDomainLookupByName<br>Domain installation does not appear to have been<br> successful. If it was, you can restart your domain<br> by running 'virsh start c'; otherwise, please<br> restart your installation.<br>ERROR Domain not found: xenUnifiedDomainLookupByName<br>Traceback (most recent call last):<br> File "/usr/bin/virt-install", line 1033, in <module><br> main()<br> File "/usr/bin/virt-install", line 915, in main<br> start_time, guest.start_install)<br> File "/usr/bin/virt-install", line 957, in do_install<br> dom = install_func(conscb, progresscb, wait=(not wait))<br> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 972, in start_install<br> return self._do_install(consolecb, meter, removeOld, wait)<br> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 1037, in _do_install<br> "install")<br> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 1008, in _create_guest<br> dom = self.conn.createLinux(start_xml, 0)<br> File "/usr/lib/python2.5/site-packages/libvirt.py", line 1190, in createLinux<br> if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)<br>libvirtError: Domain not found: xenUnifiedDomainLookupByName<br><br><br>.....................................................<br><br> so<br><br>................................................<br><br>idella@squeeze:~$ sudo tail /var/log/xen/xend.log<br>Traceback (most recent call last):<br> File "/usr/lib/xen-3.4/lib/python/xen/web/SrvBase.py", line 85, in perform<br> return op_method(op, req)<br> File "/usr/lib/xen-3.4/lib/python/xen/xend/server/SrvDomain.py", line 89, in op_destroy<br> return self.xd.domain_destroy(self.dom.domid)<br> File "/usr/lib/xen-3.4/lib/python/xen/xend/XendDomain.py", line 1272, in domain_destroy<br> dominfo = self.domain_lookup_nr(domid)<br> File "/usr/lib/xen-3.4/lib/python/xen/xend/XendDomain.py", line 566, in domain_lookup_nr<br> if int(domid) in self.domains:<br>TypeError: int() argument must be a string or a number, not 'NoneType'<br><br>.....................................................<br><br><br> so, the tools to pin this down.<br><br><br>.........................................................<br><br>idella@squeeze:~$ sudo strace -otracelog-centos.log virt-install -c xen -n centos-5.com -w bridge=eth0 -r 300 --os-type=linux --os-variant=generic26 --disk path=/dev/sdb2 --cdrom=/dev/sr1 -v -vnc --arch=x86_64<br><br>Starting install...<br>ERROR Domain not found: xenUnifiedDomainLookupByName<br><br> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 1008, in _create_guest<br> dom = self.conn.createLinux(start_xml, 0)<br> File "/usr/lib/python2.5/site-packages/libvirt.py", line 1190, in createLinux<br> if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)<br>libvirtError: Domain not found: xenUnifiedDomainLookupByName<br><br>............................................................<br><br><br> SEE otracelog-centos.log<br><br>and, to cross reference with qemu,<br><br>................................................<br><br>idella@squeeze:~$ sudo strace -otracelog-centos-qemu.log virt-install -c qemu:///system -n centos-5.com -w bridge=eth0 -r 300 --os-type=linux --os-variant=generic26 --disk path=/dev/sdb2 --cdrom=/dev/sr1 -v -vnc --arch=x86_64<br><br><br>Starting install...<br>ERROR Domain not found: xenUnifiedDomainLookupByName<br>Domain installation does not appear to have been<br> successful. If it was, you can restart your domain<br> by running 'virsh start c'; otherwise, please<br> restart your installation.<br>ERROR Domain not found: xenUnifiedDomainLookupByName<br>Traceback (most recent call last):<br> File "/usr/bin/virt-install", line 1033, in <module><br> main()<br> File "/usr/bin/virt-install", line 915, in main<br> start_time, guest.start_install)<br> File "/usr/bin/virt-install", line 957, in do_install<br> dom = install_func(conscb, progresscb, wait=(not wait))<br> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 972, in start_install<br> return self._do_install(consolecb, meter, removeOld, wait)<br> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 1037, in _do_install<br> "install")<br> File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 1008, in _create_guest<br> dom = self.conn.createLinux(start_xml, 0)<br> File "/usr/lib/python2.5/site-packages/libvirt.py", line 1190, in createLinux<br> if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)<br>libvirtError: Domain not found: xenUnifiedDomainLookupByName<br><br>..............................................<br><br> See tracelog-centos-qemu.log. This is unexpected.<br>Why is a qemu install pulling in xenUnifiedDomainLookupByName? I don't know, I hopw someone else does.<br>It may be correct, but it seems totally out of place. How would qemu do a hvm install if xen were not installed?<br>Anyway.<br><br>strace logs are no easy reading. Is there a short route to learning how to read strace??????<br><br>Could you please tell me how to utilise dbg using file command for executable. I can't figure it out. I just get no executable file trying to run these libvirt & python scripts through gdb.<br><br>I should post all this in gentoo. It all applies.<br> It looks more looks xen-utils, do you think?<br><br>                                            <br /><hr />Looking for a hot date? <a href='http://clk.atdmt.com/NMN/go/150855801/direct/01/' target='_new'>View photos of singles in your area!</a></body>
</html>