Test Day:2011-10-20 OpenStack Test Day

What to test?
Today's instalment of Fedora Test Day is a Cloud SIG Test Day. This page tracks the tests specifically focused on OpenStack.

Who's available
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...


 * Pádraig Brady (pixelbeat)
 * Bob Kukura (rkukura)
 * Mark McLoughlin (markmc)
 * Russell Bryant (russellb)

Prerequisite for Test Day

 * A fully updated Fedora 16 (virtual) machine.
 * Hardware virtualization support (e.g. Intel VT or AMD-V).
 * Up to 10-20Gb free disk space. Guest images take up a lot of space.

How to test?
Follow the steps below to prepare the machine, then follow each of the test cases in order.

Configure sudo
Add your account to sudoers, which can be done from a root prompt like:

#> (umask 337; name= markmc ; echo "$name ALL = (ALL) NOPASSWD: ALL" > /etc/sudoers.d/testday)

Update your machine
Make sure you have all the current updates for it installed:

$> sudo yum update -y

Enable RabbitMQ
$> sudo yum install --enablerepo=updates-testing -y rabbitmq-server $> sudo service rabbitmq-server start $> sudo chkconfig rabbitmq-server on

Enable libvirt
$> sudo yum install --enablerepo=updates-testing -y @virtualization $> sudo service libvirtd start $> sudo chkconfig libvirtd on

Optionally Disable SELinux
We now have SELinux policy for Nova. If you don't have selinux-policy 3.10.0-43.fc16 or newer, disable enforcing mode:

$> sudo setenforce 0 $> sudo sed -i 's/^SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config

However, if you're running in permissive mode, please keep an eye on AVCs logged and add them to Test_Day:2011-10-20_OpenStack_Test_Day_SELinux_AVCs.

Load nbd
So that we can later inject files into qcow2 images

$> sudo modprobe nbd $> echo nbd | sudo tee -a /etc/modules-load.d/nbd.conf

Test Cases
When ready, follow the instructions provided in each of the test cases:

Basic setup:


 * 1) Install the packages
 * 2) Start glance services
 * 3) Start nova services
 * 4) Create user, project and network
 * 5) Add SSH keypair
 * 6) Register tty images

Core functionality:


 * 1) Launch an instance
 * 2) Attach a volume
 * 3) Floating IPs
 * 4) MySQL
 * 5) Separate compute node

Extra credit:


 * 1) Build an image with Oz
 * 2) Smoke tests

Test Results
If you have problems with any of the tests, report a bug to Bugzilla usually for one of the openstack-nova, openstack-glance, openstack-keystone or openstack-swift components. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the result template to enter your result, as shown in the example result line.

Basic setup:

Core functionality:

Extra credit: