Revision as of 08:47, 12 April 2012

Fedora 17 will ship with KVM as the default hypervisor, based on the QEMU 1.0 release. The test day will focus on determining what guest operating systems can be successfully installed and run post-install. It will also check whether libguestfs can inspect the initial install media and resulting disl image.

Even if this test fails, you can still proceed with the other three tests.

Test case 2: Installation

To install the guest operating system, we will use the command line virt-install tool. Feel free to use virt-manager instead, but be aware that you'll have less opportunity to tune things for rarer operating systems. For testing the basic configuration that is desired is

10 GB qcow2 disk

1 NIC connected to 'default' network (virbr0)

Serial console

800 MB RAM (feel free to raise if the OS is known to need more)

Assuming the $OSNAME env variable is still set from earlier, the following command can be used:

See the virt-install(1) manual page for the full list of supported OS types.

When virt-install launches the guest, a virt-viewer window should appear allowing interaction with the guest OS. Run through the guest OS installer process.

This test shall be considered successful if the guest installation process completes without error, and the guest OS then shuts down.

Bad behaviour requiring bug reports include

Installer kernel/OS hang

Unsupported disk or NIC interface

Disk / network I/O problems / errors

Essentially anything unusual as compared to installing the guest on bare metal.

Some OS may not support the default NIC or disk hardware. There are options for the --network and/or --disk options to virt-install to change the hardware, for example to switch from IDE to SCSI disks, or from e1000 to rtl8139 NICs.

File bugs against the 'virt-install' component if there was no '--os-variant' and the guest required custom hardware to successfully install. File bugs against 'qemu' in the event of any hangs/crashes/other wierd behaviour

If this test fails, skip the next two tests

Test case 3: Post-install first boot

Assuming a guest OS was successfully installed, it is time to try running it:

# virsh start $OSNAME
# virt-viewer $OSNAME

At the guest login prompt, login as the administrator and try to ping & connect to http://google.com

Bugs

For problems installing or booting guests, use the component 'qemu'. For problems inspecting the installation ISOs or disk images, use the component 'libguestfs'. Don't worry too much about getting the component perfect - the maintainers will re-assign bugs if the component is wrong.

IRC and mailing list

During the test day (2012-04-12) we will be on the #fedora-test-day IRC channel. The rest of the time, find us on #virt (on irc.oftc.net). There is also a Fedora virtualization mailing list.