Bug 230589 - Anaconda crashes on installation of Xen VM over HTTP
Anaconda crashes on installation of Xen VM over HTTP
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
5.0
x86_64 Linux
medium Severity urgent
: ---
: ---
Assigned To: Anaconda Maintenance Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-01 12:28 EST by Ubaidul Khan
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: rc
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-01 13:00:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Attached the anaconda dump (33.46 KB, text/plain)
2007-03-01 12:28 EST, Ubaidul Khan
no flags Details

  None (edit)
Description Ubaidul Khan 2007-03-01 12:28:33 EST
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 ?
    anaconda.intf.run(anaconda)
  File "/usr/lib/anaconda/text.py", line 540, in run
    anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/dispatch.py", line 123, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 200, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/backend.py", line 154, in doPostSelection
    return anaconda.backend.doPostSelection(anaconda)
  File "/usr/lib/anaconda/yuminstall.py", line 874, in doPostSelection
    self.selectBestKernel()
  File "/usr/lib/anaconda/yuminstall.py", line 807, in selectBestKernel
    self.ayum.install(po = kxen)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", 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
Location. 
 
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 12:28:33 EST
Created attachment 149025 [details]
Attached the anaconda dump
Comment 2 Jeremy Katz 2007-03-01 13:00:16 EST
Yeah, this should be addressed in later builds by moving where kernel-xen is located
Comment 3 Ubaidul Khan 2007-03-01 14:00:25 EST
(In reply to comment #2)
> Yeah, this should be addressed in later builds by moving where kernel-xen is
located

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.