Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 230589 - Anaconda crashes on installation of Xen VM over HTTP
Summary: Anaconda crashes on installation of Xen VM over HTTP
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Anaconda Maintenance Team
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-03-01 17:28 UTC by Ubaidul Khan
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: rc
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-03-01 18:00:16 UTC
Target Upstream Version:

Attachments (Terms of Use)
Attached the anaconda dump (deleted)
2007-03-01 17:28 UTC, Ubaidul Khan
no flags Details

Description Ubaidul Khan 2007-03-01 17:28:33 UTC
Description of problem:

Anaconda crashes during Xen virtual machine installation over http.  Following
is the error message:

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 942, in ?
  File "/usr/lib/anaconda/", line 540, in run
  File "/usr/lib/anaconda/", line 123, in gotoNext
  File "/usr/lib/anaconda/", line 200, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/", line 154, in doPostSelection
    return anaconda.backend.doPostSelection(anaconda)
  File "/usr/lib/anaconda/", line 874, in doPostSelection
  File "/usr/lib/anaconda/", line 807, in selectBestKernel
    self.ayum.install(po = kxen)
  File "/usr/lib/python2.4/site-packages/yum/", line 1708, in install
    raise Errors.InstallError, 'Nothing specified to install'
InstallError: Nothing specified to install

Local variables in innermost frame:
po: None
self: <yuminstall.AnacondaYum object at 0x2aaab4543e10>
pkgs: []
kwargs: {}

Version-Release number of selected component (if applicable):

How reproducible:

This happens at every attemtp to install a VM

Steps to Reproduce:
1.  Start the vm installation via:

    # virt-install

2.  Provide the vm name, RAM, Disk Path, Graphics Support (yes/no), Installation
3.  Once the VM bootstraps the kernel it retreives over http, switch to the VM
anaconda installer:

   # xm console vm-name

  Note the vm-name is the name of the virtual machine specified in step2

4.  This will bring up the anaconda installer for the vm, then select to either
do the installation over VNC ot in Text mode.  

5.  Select the language, keyboard type, type in TCP/IP Configuration, Partition
the disk or the virtual block device, etc.  At the very last step, select the
packages you want installed on the VM and select OK.

6.  As the installer attempts to start installing packages, it will crash with
the error message mentioned above.  
Actual results:

Installation of the VM fails and anaconda crashes 

Expected results:

Installation of the VM should be successful.  

Additional info:

I did this on RHEL Beta2.  Note sure if this was address in RC1.

Comment 1 Ubaidul Khan 2007-03-01 17:28:33 UTC
Created attachment 149025 [details]
Attached the anaconda dump

Comment 2 Jeremy Katz 2007-03-01 18:00:16 UTC
Yeah, this should be addressed in later builds by moving where kernel-xen is located

Comment 3 Ubaidul Khan 2007-03-01 19:00:25 UTC
(In reply to comment #2)
> Yeah, this should be addressed in later builds by moving where kernel-xen is

I haven't tried this on RC1.  Do you know if this works on RC1?  Will there be
more release candidates before the official release?  Thanks

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