Bug 778538

Summary: OpenSUSE 12.2 unable to create SLES 11 SP2 kvm-based system using vm-install
Product: [openSUSE] openSUSE 12.2 Reporter: Aaron Burgemeister <ab>
Component: BasesystemAssignee: Charles Arnold <carnold>
Status: VERIFIED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: aburgemeister, brogers, jdouglas
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Customer Services Priority: 400
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshots of errors during installation.

Description Aaron Burgemeister 2012-09-04 00:51:48 UTC
Created attachment 504321 [details]
Screenshots of errors during installation.

OpenSUSE 12.2
kvm

I am trying to setup a SLES 11 SP2 kvm-based virtual machine using the vm-install command and while things look good for the most part, the installation cannot find necessary files when installing from an installation source which I have used in the past:

<quote>
ab@mybox0:~/Desktop> sudo vm-install
root's password:
Gathering settings...

Please specify the type of operating system that will run within the virtual
machine.  This defines many defaults, and helps decide how to start
paravirtualized operating systems.
Press 'q' or the Escape key to exit.
  1: Novell Open Enterprise Server 2 (Linux)
  2: Novell Open Enterprise Server 2 (NetWare)
  3: Other operating system
  4: PXE
  5: RedHat (other)
  6: RedHat Enterprise Linux 3
  7: RedHat Enterprise Linux 4
  8: RedHat Enterprise Linux 5
  9: RedHat Enterprise Linux 6
 10: SUSE (other)
 11: SUSE Linux Enterprise Desktop 10
 12: SUSE Linux Enterprise Desktop 11
 13: SUSE Linux Enterprise Server 8
 14: SUSE Linux Enterprise Server 9
 15: SUSE Linux Enterprise Server 10
 16: SUSE Linux Enterprise Server 11
 17: Solaris 9 and older
 18: Solaris 10
 19: Ubuntu 10 (Lucid Lynx, Maverick Meerkat)
 20: Ubuntu 11 (Natty Narwhal, Oneiric Ocelot)
 21: Ubuntu 12 (Precise Pangolin)
 22: Ubuntu (other)
 23: Windows 8
 24: Windows 8 (x64)
 25: Windows (other)
 26: Windows (other, x64)
 27: Windows NT
 28: Windows Server 2008
 29: Windows Server 2008 (x64)
 30: Windows Vista, Windows 7
 31: Windows Vista, Windows 7 (x64)
 32: Windows XP, 2000, 2003
 33: Windows XP, 2003 (x64)
 34: openSUSE
 35: openSUSE 11
 36: openSUSE 12
[36] > 16

PXE Boot
(Y / N) [N] > 
Please choose a name for the virtual machine.
[sles11] > sles11sp2-base

Description > Base SLES 11 SP2 x86_64 system from which all others will be cloned.

Specify the amount of memory and number of processors to allocate for the VM.
Initial Memory [512] > 
Maximum Memory [512] > 
Virtual Processors [4] > 2

Please specify the type of virtualized graphics hardware.
  1: Cirrus Logic GD5446 VGA
  2: No Graphics Support
  3: VESA VGA
[1] > 

Virtual Disks:
  (None)
Do you want to add another virtual disk?
(Y / N) [Y] > 

Create a virtual disk based on a device (CD or other block device), an existing
image file (ISO), or a new file.  Specify a device by its device node, such as
/dev/cdrom, not its mount point.
What type of virtual disk do you want to add?
  1: CD-ROM or DVD
  2: Floppy
  3: Hard Disk
[3] > 
Where will the virtual disk physically reside?
[/var/lib/kvm/images/sles11sp2-base/hda] > 
Size (GB) [8.0] > 16.
Create a sparse image file for the virtual disk?
(Y / N) [Y] > 

Virtual Disks:
  16.0 GB Hard Disk (file:/var/lib/kvm/images/sles11sp2-base/hda)
Do you want to add another virtual disk?
(Y / N) [N] > 

Network Adapters
  (None)
Do you want to add another virtual network adapter?
(Y / N) [Y] > 
What type of virtual network adapter do you want to add?
  1: Fully Virtualized AMD PCnet 32
  2: Fully Virtualized Intel e100
  3: Fully Virtualized Intel e1000
  4: Fully Virtualized NE2000 (ISA Bus)
  5: Fully Virtualized NE2000 (PCI Bus)
  6: Fully Virtualized Realtek 8139
  7: Paravirtualized
[6] > 

Network Adapters
  Fully Virtualized Realtek 8139; Randomly generated MAC address
Do you want to add another virtual network adapter?
(Y / N) [N] > 

Specify the bootable virtual disk (often labeled as Disk 1) or the network
installation source URL.  Each CD, DVD, or ISO image required for installation
must be added as a virtual disk.
  1: Network URL (ftp://, http://, nfs://, smb://)
[1] > 
Type the install URL: > http://kirk.provo.novell.com/dist/full/full-sle11-sp2-x86_64/

Preparing to start the installation...

Installing...

Failed to display the VM's console because DISPLAY is not set.  Please connect a VNC viewer to localhost:5900.
</quote>

As you can see I'm trying to use the defaults throughout.  After loading vncviewer I see the installation, but then things appear to be broken; an error pops up telling me it is worth reporting a bug, the license is blank, and there are no install options other than 'Other' which, when chosen, throws an error trying to move on (which essentially stops the installation).  Screenshots are attached.

First major sign of problems: "Yast was unable to find the correct control file.  We are using a fall-back one.  This should not happen and is worth reporting a bug."

Final error preventing progress: "No system type was selected. Select the default type."

Reproducible: I've done it twice now on my system out of two attempts.

Expected Results: Find all necessary files

Actual Results: Some files apparently are not being found.  I cannot yet rule out the possibility of this being an issue with the installation repository, but I have used this one before for other purposes, and have used others on the same server for years to do installs, upgrades, additions, etc.
Comment 1 Charles Arnold 2013-03-11 17:21:52 UTC
Pointing at http://kirk.provo.novell.com/dist/full/full-sle11-sp2-x86_64/
to install is an invalid operation.  Please see,

http://kirk.provo.novell.com/dist/README.html

You need to create an SP2 installation source from the original
SP2 ISO.  Then after installing, update the guest to current packages.