From Fedora Project Wiki

Revision as of 17:03, 14 March 2012 by Gkotton (talk | contribs)

Fedora Test Days
OpenStack Test Day

Date 2012-03-08
Time all day

Website QA/Fedora_17_test_days
IRC #fedora-test-day (webirc) - IRC Log
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. Add SSH keypair
  7. Register guest images
  8. Create nova network

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 Add SSH keypair Register images Create nova network References
zaitcev
Pass pass
Pass pass
Warning warn
[1]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
vaneldik
Pass pass [1]
Pass pass
Warning warn
[2]
Warning warn
[3]
Warning warn
[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
TripleDES
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
markmc
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
[4]
Pass pass
[5]
Pass pass
[6]
Pass pass
Pass pass
  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
Pass pass
Pass pass
[4]
  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 RHBZ #801330#c1
  4. only created network (per new instructions)
eglynn
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
pbrady
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
gkotton
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
swabe
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
russellb
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
Pass pass
none
gkotton
Pass pass
[1]
Pass pass
none
Pass pass
  1. problem with libvirt
derekh
Pass pass
[1]
Pass pass
[2]
Pass pass
none
  1. instance ip address not displayed by euca-describe-instances
  2. this appeared in the logs, not sure it is connected lp934276
markmc
Pass pass
[1] [2]
Pass pass
Pass pass
Pass pass
  1. issue with euca-describe-instances not showing IP addresses RHBZ #801452
  2. 'dict' object has no attribute 'state' in logs but that's fixed upstream
TripleDES
Pass pass
Pass pass
Pass pass
none
zaitcev
Fail fail
none
none
none
russellb
Pass pass
Pass pass
none
none

Dashboard functionality:

User Dashboard setup Launch instance Managing users References
crobinso
Pass pass
[1]
none
none
  1. tenant chooser doesn't work RHBZ #801208
derekh
Pass pass
[1]
Pass pass
Warning warn
[2]
  1. Tracebacks in apache error log and keystone.log, maybe related to RHBZ #801208
  2. Error: Unable to delete project: testproject
markmc
Pass pass
Pass pass
[1] [2] [3]
Pass pass
[4] [5]
  1. broken action dropdowns RHBZ #801684
  2. no VNC console RHBZ #801685
  3. detach/delete volume doesn't work RHBZ #801686
  4. cannot delete user or project RHBZ #801688
  5. failed to download ec2 credentials RHBZ #801690
pbrady
Pass pass
[1] [2]
{{{1}}}
{{{1}}}
  1. intermittent db connection errors RHBZ #801745
  2. SELinux AVC denial RHBZ #801746

Extra credit:

User Tempest tests Build an image with Oz Run Nova with Quantum Smoke tests References
eglynn
Pass pass
Fail fail
[1]
none
Pass pass
[2]
  1. libvirt.libvirtError: internal error process exited while connecting to monitor: qemu-system-x86_64: -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29: vhost-net support is not compiled in
  2. volume tests failed due to insufficient diskspace, created nova-volumes with only 2Gb
derekh
Pass pass
[1]
Fail fail
[2]
none
Pass pass
[3]
  1. 5 tests failed (expected)
  2. problem with oz version/config, will retry with more uptodate oz
  3. needed to create certs for euca-bundle-image
gkotton
none
none
Pass pass
[1]
none
  1. Using the openvswitch plugin
markmc
Pass pass
[1]
none
none
none
  1. 5 tests failed for me too