Bug 230589

Summary: Anaconda crashes on installation of Xen VM over HTTP
Product: Red Hat Enterprise Linux 5 Reporter: Ubaidul Khan <ukhanlists>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rc Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-01 18:00:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Attached the anaconda dump none

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 ?
    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 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
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