<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 <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. This actually clarifies it a little more.<br><br>This is an added feature to these packages. All that is said re their use is to see man virt-install. <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. It should create a vm, importing an established vm.<br><br>I firstly used virt-install --prompt, and had the same result. 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. 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': <libvirt.virConnect instance at 0xd35b00>, '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><domain type='xen'><br> <name>sample</name><br> <currentMemory>307200</currentMemory><br> <memory>307200</memory><br> <uuid>e6885474-a3c5-076a-13fb-673496656a5f</uuid><br> <os><br> <type arch='i686'>hvm</type><br> <loader>/usr/lib/xen/boot/hvmloader</loader><br> <boot dev='hd'/><br> </os><br> <features><br> <acpi/><apic/><pae/><br> </features><br> <clock offset="utc"/><br> <on_poweroff>destroy</on_poweroff><br> <on_reboot>restart</on_reboot><br> <on_crash>restart</on_crash><br> <vcpu>1</vcpu><br> <devices><br> <emulator>/usr/lib64/xen/bin/qemu-dm</emulator><br> <disk type='file' device='disk'><br> <source file='/mnt/images/xen/images/ubuntu/ubuntu9.1/ubuntu9.1'/><br> <target dev='hda' bus='ide'/><br> </disk><br> <interface type='bridge'><br> <source bridge='eth0'/><br> <mac address='00:16:36:b2:14:fc'/><br> </interface><br> <input type='mouse' bus='ps2'/><br> <graphics type='vnc' port='-1' keymap='en-us'/><br> <console type='pty'/><br> <video><br> <model type='cirrus'/><br> </video><br> </devices><br></domain><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. Just one path, and I entered two paths in the long hand entry. 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> APT prefers testing<br> 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 python 2.5.4-9 An interactive high-level object-o<br>ii python-libvirt 0.8.0-2 libvirt Python bindings<br>ii python-libxml2 2.7.7.dfsg-2 Python bindings for the GNOME XML <br>ii python-support 1.0.8 automated rebuilding support for P<br>ii python-urlgrabber 3.1.0-5 A high-level cross-protocol url-gr<br><br>Versions of packages virtinst recommends:<br>ii qemu 0.12.3+dfsg-4 fast processor emulator<br>ii virt-viewer 0.2.1-1 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>