From Fedora Project Wiki
Fedora Test Days
OpenStack Test Day

Date 2012-03-08
Time all day

Website QA/Fedora_17_test_days
IRC #fedora-test-day (webirc)
Mailing list cloud


Can't make the date?
If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.

What to test?

This day is for testing the Essex release of OpenStack in Fedora. Check out the OpenStack Essex feature page for more details on what's new.

Who's available

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


Prerequisite for Test Day

Hardware Requirements
You can do basic testing of OpenStack in a virtual machine, with specific config noted below

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 --enablerepo=updates-testing clean all
 $> sudo yum update -y

Enable the Qpid Broker

$> sudo yum install --enablerepo=updates-testing -y qpid-cpp-server
$> sudo systemctl start qpidd.service
$> sudo systemctl enable qpidd.service

Enable libvirt

$> sudo yum install --enablerepo=updates-testing -y @virtualization
$> sudo systemctl start libvirtd.service
$> sudo systemctl enable libvirtd.service

Optionally Load nbd

If you don't perform this optional step, then libguestfs will be used to inject files into qcow2 images. Note however that is slower, especially if testing openstack within a VM

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

Put SELinux into Permissive Mode

Since we currently have a number of blocking AVC denials (e.g. in glance), we need to disable SELinux enforcing:

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

Please do note any AVC denials you see and file them in bugzilla if they have not already been reported.

Test Cases

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

Basic setup:

  1. Install the packages
  2. Setup Nova
  3. Setup Keystone
  4. Start glance services
  5. Start nova services
  6. Create user, project and network
  7. Add SSH keypair
  8. Register guest images

Core functionality:

  1. Launch an instance
  2. Attach a volume
  3. Floating IPs
  4. Separate compute node

Dashboard functionality:

  1. Basic dashboard setup and login
  2. Launch/terminate an instance with the dashboard
  3. Managing projects and users with the dashboard

Extra credit:

  1. Tempest tests
  2. Build an image with Oz
  3. Run Nova with Quantum
  4. 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:

-->
User Install the packages Setup Nova Setup Keystone Start glance services Start nova services Create user, project and network Add SSH keypair Register tty images References
zaitcev
Pass pass
Pass pass
Warning warn
[1]
Warning warn
[2]
Fail fail
none
none
none
  1. needs fixups per Getting_started_with_OpenStack_on_Fedora_17
  2. side issue RHBZ #800704
vaneldik
Warning warn [1]
Pass pass
Warning warn
[2]
Warning warn
[3]
Fail fail
[4]
Pass pass
Pass pass
Pass pass
  1. RHBZ #801054
  2. needs fixups per Getting_started_with_OpenStack_on_Fedora_17
  3. side issue RHBZ #800704
  4. RHBZ #801366API server requires X-Auth-Token in order to get response
sergio
Pass pass
Pass pass
Warning warn
[1]
Warning warn
[2]
Fail fail
none
none
none
  1. needs fixups per Getting_started_with_OpenStack_on_Fedora_17
  2. side issue RHBZ #800704
markmc
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
[4]
Pass pass
[5]
none
Pass pass
[6]
none
  1. newer keystone available in koji; latest glance didn't get pushed to updates-testing
  2. mysql AVC denials RHBZ #801299 and sqlalchemy deprecated warnings RHBZ #801302
  3. webob deprecation warnings RHBZ #801312
  4. glance AVC denials RHBZ #801330
  5. need SELinux policy for nova-cert RHBZ #801352
  6. we need to figure out a way to replace old 'nova-manage project zipfile'
derekh
Pass pass
[1]
Pass pass
[2]
Pass pass
Pass pass
[3]
Pass pass
Pass pass
[4]
Pass pass
Pass pass
  1. newer keystone now available in updates-testing
  2. I didn't change libvirt_type to qemu
  3. sudo setenforce 0 # required to run glance index
  4. only created network (per new instructions)
eglynn
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass

Core functionality:

User Launch an instance Attach a volume Floating IPs Separate compute node References
eglynn
Pass pass
Pass pass
none
none

Extra credit:

User Tempest tests Build an image with Oz Smoke tests References
eglynn
Pass pass
none
none