<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.hmmessage P
{margin:0px;padding:0px;}
body.hmmessage
{font-size:10pt;font-family:Verdana;}

</style>
Subject: virtinst <br>Package: virtinst<br>Version: 0.500.3-1<br>Severity: minor<br>Tags: squeeze experimental<br><br>Using virt-managger, and therefore virtinst, can't manage to create a vm in xen by the import mode.<br>This occurs in the packages in debian and gentoo.<br>I've made a submission to gentoo, which can tell all required, re virt-manager, and I am adding more for this description.<br><br>See&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://bugs.gentoo.org/show_bug.cgi?id=320557">https://bugs.gentoo.org/show_bug.cgi?id=320557</a><br><br>The site suggested to add a run using virtinst, so I've done this.&nbsp; This actually clarifies it a little more.<br><br>This is an added feature to these packages.&nbsp; All that is said re their use is to see man virt-install.&nbsp; <br>This is just a few lines, citing how to state the paths.<br><br>Frankly it's still not clear to me how this is intended to work.&nbsp; It should create a vm, importing an established vm.<br><br>I firstly used virt-install --prompt, and had the same result.&nbsp; Boots the established vm, and that's it.<br>So, again, long hand<br><br>/usr/bin/virt-install -n sample -r 300 -v --os-type=linux --os-variant=ubuntukarmic -w bridge=eth0 --arch=i386 --disk path=/mnt/images/xen/images/ubuntu/ubuntu9.1/ubuntu9.1 path=/mnt/images/xen/images/fedora/fedora8/sample8.img --import<br><br>yields the same result.&nbsp; This output is not too long, so rather than attach it;<br><br>[Wed, 19 May 2010 22:25:52 virt-install 21123] DEBUG (cli:216) Requesting libvirt URI default<br>[Wed, 19 May 2010 22:25:52 virt-install 21123] DEBUG (cli:218) Received libvirt URI xen:///<br>[Wed, 19 May 2010 22:25:52 virt-install 21123] DEBUG (virt-install-2:473) Requesting virt method 'hvm', hv type 'default'.<br>[Wed, 19 May 2010 22:25:52 virt-install 21123] DEBUG (virt-install-2:795) Received virt method 'hvm'<br>[Wed, 19 May 2010 22:25:52 virt-install 21123] DEBUG (virt-install-2:796) Hypervisor name is 'xen'<br>[Wed, 19 May 2010 22:25:52 virt-install 21123] ERROR (cli:196) Cannot mix --file, --nonsparse, or --file-size with --disk options. Please see the manual for --disk syntax.<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (cli:192) Launched with command line:<br>/usr/bin/virt-install -n sample -r 300 -v --os-type=linux --os-variant=ubuntukarmic -w bridge=eth0 --arch=i386 --disk path=/mnt/images/xen/images/ubuntu/ubuntu9.1/ubuntu9.1 path=/mnt/images/xen/images/fedora/fedora8/sample8.img --import<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (cli:216) Requesting libvirt URI default<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (cli:218) Received libvirt URI xen:///<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (virt-install-2:473) Requesting virt method 'hvm', hv type 'default'.<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (virt-install-2:795) Received virt method 'hvm'<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (virt-install-2:796) Hypervisor name is 'xen'<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (virt-install-2:330) parse_disk: returning {'format': None, 'bus': None, 'readOnly': False, 'volInstall': None, 'path': '/mnt/images/xen/images/ubuntu/ubuntu9.1/ubuntu9.1', 'device': 'disk', 'volName': None, 'conn': &lt;libvirt.virConnect instance at 0xd35b00&gt;, 'size': None, 'driverCache': None, 'shareable': False, 'sparse': True}<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (cli:757) DISPLAY is set: graphics defaulting to VNC.<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (util:358) Could not open "/etc/sysconfig/keyboard" [Errno 2] No such file or directory: '/etc/sysconfig/keyboard'<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (util:321) Didn't find keymap in '/etc/X11/xorg.conf'!<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (util:333) Could not open "/etc/default/console-setup": [Errno 2] No such file or directory: '/etc/default/console-setup' <br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (util:380) Did not parse any usable keymapping.<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (Guest:1002) Generated install XML: None required<br>[Wed, 19 May 2010 22:26:39 virt-install 27199] DEBUG (Guest:1020) Generated boot XML: <br>&lt;domain type='xen'&gt;<br>&nbsp; &lt;name&gt;sample&lt;/name&gt;<br>&nbsp; &lt;currentMemory&gt;307200&lt;/currentMemory&gt;<br>&nbsp; &lt;memory&gt;307200&lt;/memory&gt;<br>&nbsp; &lt;uuid&gt;e6885474-a3c5-076a-13fb-673496656a5f&lt;/uuid&gt;<br>&nbsp; &lt;os&gt;<br>&nbsp;&nbsp;&nbsp; &lt;type arch='i686'&gt;hvm&lt;/type&gt;<br>&nbsp;&nbsp;&nbsp; &lt;loader&gt;/usr/lib/xen/boot/hvmloader&lt;/loader&gt;<br>&nbsp;&nbsp;&nbsp; &lt;boot dev='hd'/&gt;<br>&nbsp; &lt;/os&gt;<br>&nbsp; &lt;features&gt;<br>&nbsp;&nbsp;&nbsp; &lt;acpi/&gt;&lt;apic/&gt;&lt;pae/&gt;<br>&nbsp; &lt;/features&gt;<br>&nbsp; &lt;clock offset="utc"/&gt;<br>&nbsp; &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;<br>&nbsp; &lt;on_reboot&gt;restart&lt;/on_reboot&gt;<br>&nbsp; &lt;on_crash&gt;restart&lt;/on_crash&gt;<br>&nbsp; &lt;vcpu&gt;1&lt;/vcpu&gt;<br>&nbsp; &lt;devices&gt;<br>&nbsp;&nbsp;&nbsp; &lt;emulator&gt;/usr/lib64/xen/bin/qemu-dm&lt;/emulator&gt;<br>&nbsp;&nbsp;&nbsp; &lt;disk type='file' device='disk'&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;source file='/mnt/images/xen/images/ubuntu/ubuntu9.1/ubuntu9.1'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;target dev='hda' bus='ide'/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/disk&gt;<br>&nbsp;&nbsp;&nbsp; &lt;interface type='bridge'&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;source bridge='eth0'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mac address='00:16:36:b2:14:fc'/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/interface&gt;<br>&nbsp;&nbsp;&nbsp; &lt;input type='mouse' bus='ps2'/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;graphics type='vnc' port='-1' keymap='en-us'/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;console type='pty'/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;video&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;model type='cirrus'/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/video&gt;<br>&nbsp; &lt;/devices&gt;<br>&lt;/domain&gt;<br><br>[Wed, 19 May 2010 22:26:40 virt-install 27199] DEBUG (Guest:1060) Launching console callback<br><br>In the description in the report to gentoo, I had added the second path manually before getting the xml dump.<br>Here is the dump unfettered.&nbsp; Just one path, and I entered two paths in the long hand entry.&nbsp; In gentoo I submitted it under virt-manager, but this added layer makes it look more like the handcraft of virtinst, again.<br><br>It just doesn't do anything other than boot the established guest.<br>Just like in virt-manager, it discards, <b>actually discards</b> the destination entry.<br>Now I call that a bug.<br><br><br>-- System Information:<br>Debian Release: squeeze/sid<br>&nbsp; APT prefers testing<br>&nbsp; APT policy: (500, 'testing')<br>Architecture: amd64 (x86_64)<br><br>Kernel: Linux 2.6.32-bpo.4-xen-amd64 (SMP w/2 CPU cores)<br>Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)<br>Shell: /bin/sh linked to /bin/dash<br><br>Versions of packages virtinst depends on:<br>ii&nbsp; python&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.5.4-9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; An interactive high-level object-o<br>ii&nbsp; python-libvirt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.8.0-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libvirt Python bindings<br>ii&nbsp; python-libxml2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.7.7.dfsg-2 Python bindings for the GNOME XML <br>ii&nbsp; python-support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0.8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; automated rebuilding support for P<br>ii&nbsp; python-urlgrabber&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.1.0-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A high-level cross-protocol url-gr<br><br>Versions of packages virtinst recommends:<br>ii&nbsp; qemu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.12.3+dfsg-4 fast processor emulator<br>ii&nbsp; virt-viewer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.2.1-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displaying the graphical console o<br><br>virtinst suggests no packages.<br><br>-- no debconf information<br>                                               <br /><hr />Find it on Domain.com.au <a href='http://clk.atdmt.com/NMN/go/157631292/direct/01/' target='_new'>Need a new place to live?</a></body>
</html>