From Fedora Project Wiki

(s/dd/truncate/)
Line 71: Line 71:
Nova expects an LVM volume group called '''nova-volumes'''. One way of creating this is:
Nova expects an LVM volume group called '''nova-volumes'''. One way of creating this is:


  $> sudo mkdir /var/lib/nova
  $> sudo truncate -s20G /var/lib/nova/nova-volumes.img
$> sudo dd if=/dev/zero of=/var/lib/nova/nova-volumes.img bs=1M seek=20k count=0
  $> sudo vgcreate nova-volumes $(sudo losetup --show -f /var/lib/nova/nova-volumes.img)
  $> sudo vgcreate nova-volumes $(sudo losetup --show -f /var/lib/nova/nova-volumes.img)



Revision as of 23:36, 17 October 2011

Fedora Test Days
OpenStack Test Day

Date 2011-10-20
Time all day

Website QA/Fedora_16_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?

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 ...

Prerequisite for Test Day

  • A fully updated Fedora 16 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 e.g.

 $> sudoedit /etc/sudoers
 ...
 markmc ALL = (ALL) NOPASSWD: ALL

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

Disable SELinux

Until we have SELinux policy for Nova:

$> setenforce 0

Create a nova-volumes VG

Nova expects an LVM volume group called nova-volumes. One way of creating this is:

$> sudo truncate -s20G /var/lib/nova/nova-volumes.img
$> sudo vgcreate nova-volumes $(sudo losetup --show -f /var/lib/nova/nova-volumes.img)

Create a novacreds Directory

You will need to store your Nova credentials somewhere, so e.g.

$> mkdir ~/novacreds

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. Floating IPs
  3. MySQL
  4. 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:

User Install the packages Start glance services Start nova services Create user, project and network Add SSH keypair Register tty images References
Sample User
none
Pass pass
Warning warn
[1]
Fail fail
[2]
none
none
  1. Test pass, but also encountered RHBZ #54321
  2. RHBZ #12345
Sergey
Warning warn
[1]
Fail fail
[2]
Fail fail
[3]
Pass pass
none
none
  1. Test pass, but also encountered RHBZ #685155
  2. Test fails RHBZ #746767
  3. Test fails RHBZ #746771

Core functionality:

User Launch an instance Floating IPs MySQL Separate compute node References
Sample User
none
Pass pass
Warning warn
[1]
Fail fail
[2]
  1. Test pass, but also encountered RHBZ #54321
  2. RHBZ #12345

Extra credit:

User Build an image with Oz Smoke tests References
Sample User
Warning warn
[1]
Fail fail
[2]
  1. Test pass, but also encountered RHBZ #54321
  2. RHBZ #12345

|