Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 621890 - Cannot install Debian x86_64 domU with Xen using virt-install
Cannot install Debian x86_64 domU with Xen using virt-install
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-manager (Show other bugs)
5.5
x86_64 Linux
low Severity medium
: rc
: ---
Assigned To: Cole Robinson
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-06 08:17 EDT by Carl Bachman Kharazmi
Modified: 2010-08-06 11:18 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-06 11:18:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Carl Bachman Kharazmi 2010-08-06 08:17:44 EDT
Description of problem:
virt-install --location=http://... fails to fetch debian 64 xen kernel.

Version-Release number of selected component (if applicable):
Release 5.5, with Virtualization meta package

How reproducible:
Always

Steps to Reproduce:
1. virt-install -n backup -r 256 --os-type=linux --os-variant=debianlenny --vcpus=2 -p --location=http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/ --disk path=/dev/guest/stsbackup,cache=none --disk path=/dev/sdd,cache=none -b xenbr1 -m RANDOM --vnc -k sv --prompt -d

Actual results:
Starting install...
Retrieving file MANIFEST...                                               | 1.3 kB     00:00     
ERROR    Couldn't find xen kernel for Debian tree.

Expected results:
Retrieve the kernel and start domU installation.

Additional info:

Host is AMD opteron 64 without VT support.

http://ftp.uk.debian.org/debian/dists/lenny/main/installer-i386/current/images/MANIFEST
seem to include path to xen kernel, while:
http://ftp.uk.debian.org/debian/dists/lenny/main/installer-amd64/current/images/MANIFEST
does not.

From what I have heard debian should have Xen domU support in their standard kernels, but I have not found any option to define that in the virt-install manual.

Debug output:
[root@virtual-int-2 ~]# virt-install -n backup -r 256 --os-type=linux --os-variant=debianlenny --vcpus=2 -p --location=http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/ --disk path=/dev/guest/stsbackup,cache=none --disk path=/dev/sdd,cache=none -b xenbr1 -m RANDOM --vnc -k sv --prompt -d
Fri, 06 Aug 2010 13:45:48 DEBUG    Requesting libvirt URI default
Fri, 06 Aug 2010 13:45:48 DEBUG    Received libvirt URI 'xen:///'
Fri, 06 Aug 2010 13:45:48 DEBUG    Requesting virt method 'xen'
Fri, 06 Aug 2010 13:45:48 DEBUG    Received virt method 'xen'
Fri, 06 Aug 2010 13:45:48 DEBUG    Hypervisor name is 'xen'
Fri, 06 Aug 2010 13:45:48 DEBUG    parse_disk: returning ('/dev/guest/stsbackup', None, None, 'disk', None, False, False, None, True, 'none')
Fri, 06 Aug 2010 13:45:48 DEBUG    Setting size for existing storage to '5.0'
Fri, 06 Aug 2010 13:45:48 DEBUG    Detected storage as type 'block'
Fri, 06 Aug 2010 13:45:48 DEBUG    Setting size for existing storage to '5.0'
Fri, 06 Aug 2010 13:45:48 DEBUG    Detected storage as type 'block'
Fri, 06 Aug 2010 13:45:48 DEBUG    Setting size for existing storage to '5.0'
Fri, 06 Aug 2010 13:45:48 DEBUG    Detected storage as type 'block'
Fri, 06 Aug 2010 13:45:48 DEBUG    parse_disk: returning ('/dev/sdd', None, None, 'disk', None, False, False, None, True, 'none')
Fri, 06 Aug 2010 13:45:48 DEBUG    Setting size for existing storage to '232.830643654'
Fri, 06 Aug 2010 13:45:48 DEBUG    Detected storage as type 'block'
Fri, 06 Aug 2010 13:45:48 DEBUG    Setting size for existing storage to '232.830643654'
Fri, 06 Aug 2010 13:45:48 DEBUG    Detected storage as type 'block'
Fri, 06 Aug 2010 13:45:48 DEBUG    Setting size for existing storage to '232.830643654'
Fri, 06 Aug 2010 13:45:48 DEBUG    Detected storage as type 'block'
Fri, 06 Aug 2010 13:45:48 DEBUG    DistroInstaller location is a network source.


Starting install...
Fri, 06 Aug 2010 13:45:49 DEBUG    Attempting to detect distro:
Fri, 06 Aug 2010 13:45:49 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/.treeinfo
Fri, 06 Aug 2010 13:45:50 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/Fedora
Fri, 06 Aug 2010 13:45:50 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/Server
Fri, 06 Aug 2010 13:45:50 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/Client
Fri, 06 Aug 2010 13:45:51 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/RedHat
Fri, 06 Aug 2010 13:45:54 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/CentOS
Fri, 06 Aug 2010 13:45:55 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/SL
Fri, 06 Aug 2010 13:46:00 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/directory.yast
Fri, 06 Aug 2010 13:46:00 DEBUG    Fetching URI: http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/current/images/MANIFEST
Fri, 06 Aug 2010 13:46:01 DEBUG    Saved file to /var/lib/xen/virtinst-MANIFEST.Gr1dJ3
Retrieving file MANIFEST...                                               | 1.3 kB     00:00     
Fri, 06 Aug 2010 13:46:01 DEBUG    Detected a Debian distro
Fri, 06 Aug 2010 13:46:01 DEBUG    HTTP hasFile: didn't find http://ftp.us.debian.org/debian/dists/lenny/main/installer-amd64/current/images/netboot/xen/vmlinuz
Fri, 06 Aug 2010 13:46:01 ERROR    Couldn't find xen kernel for Debian tree.
Fri, 06 Aug 2010 13:46:01 DEBUG    Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 751, in main
    start_time, guest.start_install)
  File "/usr/sbin/virt-install", line 813, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 539, in start_install
    self._prepare_install(meter)
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 594, in _prepare_install
    meter = meter)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroInstaller.py", line 245, in prepare
    self._prepare_kernel_and_initrd(guest, distro, meter)
  File "/usr/lib/python2.4/site-packages/virtinst/DistroInstaller.py", line 194, in _prepare_kernel_and_initrd
    type=self.os_type, distro=distro)
  File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py", line 156, in acquireKernel
    scratchdir, type, distro)
  File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py", line 142, in _acquireMedia
    return (store.acquireKernel(guest, fetcher, progresscb),
  File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py", line 253, in acquireKernel
    raise RuntimeError(_("Couldn't find %(type)s kernel for "
RuntimeError: Couldn't find xen kernel for Debian tree.
Comment 1 Carl Bachman Kharazmi 2010-08-06 10:02:36 EDT
rpm -q libvirt python-virtinst
libvirt-0.6.3-33.el5_5.1
libvirt-0.6.3-33.el5_5.1
python-virtinst-0.400.3-9.el5
Comment 2 Cole Robinson 2010-08-06 11:18:01 EDT
This page:

http://wiki.debian.org/Xen

Seems to indicate that debian lenny only supports 32bit xen domU installer. Etch supports 32 and 64. I might have read wrong, but I also recall hearing that in the past. Closing as NOTABUG.

Note You need to log in before you can comment on or make changes to this bug.