No edit summary |
|||
Line 75: | Line 75: | ||
sudo wget http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo -O /etc/yum.repos.d/fedora-openstack-folsom.repo | sudo wget http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo -O /etc/yum.repos.d/fedora-openstack-folsom.repo | ||
sudo yum install openstack-utils | sudo yum install openstack-utils | ||
So now the yum repositories are in place as is the openstack-demo-install script. | |||
This script will install all OpenStack services on a single node, including: | |||
nova, glance, quantum, cinder, swift, keystone, dashboard. | |||
Note it configures and enables all but the quantum service at this time: | |||
sudo openstack-demo-install | sudo openstack-demo-install | ||
== Setup OpenStack volumes == | |||
The OpenStack volume service provides persistent block level storage to instances. | |||
This is a commonly used service, so | |||
please enable using [[QA:Testcase_Create_Cinder_Volumes]] | |||
== Install and setup Quantum on a single node == | == Install and setup Quantum on a single node == | ||
As an option, you can replace the network manager | |||
internal to the OpenStack Nova project with Quantum. | |||
To enable follow [[QA:Testcase_Quantum_V2#Setup]] | |||
== Test Cases == | == Test Cases == | ||
Line 92: | Line 106: | ||
# [[QA:Testcase_Nova_Create_Bootable_Volume | Create and boot from a bootable volume]] | # [[QA:Testcase_Nova_Create_Bootable_Volume | Create and boot from a bootable volume]] | ||
# [[QA:Testcase_Nova_Snapshot_Volume_Backed_Instance | Create an image from a running volume-backed instance]] | # [[QA:Testcase_Nova_Snapshot_Volume_Backed_Instance | Create an image from a running volume-backed instance]] | ||
Quantum tests | |||
[[QA:Testcase_Quantum_V2#How_to_test]] | |||
[[Category:Test Days]] | [[Category:Test Days]] | ||
[[Category:OpenStack]] | [[Category:OpenStack]] |
Revision as of 00:50, 18 September 2012
OpenStack Test Days | |
---|---|
Date | 2012-09-18 |
Time | all day |
IRC | #fedora-openstack (webirc) |
Who's available
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
- Development - Apevec (apevec)
- Development - Derekh (derekh)
- Development - eglynn (eglynn)
- Deployment - gkotton (garyk)
- Consulting - kensey (kensey)
- Development - markmc (markmc)
- Development - mrunge (mrunge)
- Development - Pbrady (pixelbeat)
- Deployment - rbuilta (rbuilta)
- Development - sdake (sdake)
- Deployment - sten (sten)
- Deployment - Vaneldik (vaneldik)
Prerequisite for Test Day
- A fully updated Fedora 17 (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; echo "$USER 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
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
While SELinux mostly works with OpenStack services there are a few issues
sudo sed -i 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config sudo setenforce permissive
Please do note any AVC _denials_ you see in /var/log/audit/audit.log and file them in bugzilla, and update this list:
- https://bugzilla.redhat.com/show_bug.cgi?id=856548
- https://bugzilla.redhat.com/show_bug.cgi?id=856653
Install and setup all Openstack services on a single node
sudo wget http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo -O /etc/yum.repos.d/fedora-openstack-folsom.repo sudo yum install openstack-utils
So now the yum repositories are in place as is the openstack-demo-install script. This script will install all OpenStack services on a single node, including: nova, glance, quantum, cinder, swift, keystone, dashboard. Note it configures and enables all but the quantum service at this time:
sudo openstack-demo-install
Setup OpenStack volumes
The OpenStack volume service provides persistent block level storage to instances. This is a commonly used service, so please enable using QA:Testcase_Create_Cinder_Volumes
Install and setup Quantum on a single node
As an option, you can replace the network manager internal to the OpenStack Nova project with Quantum. To enable follow QA:Testcase_Quantum_V2#Setup
Test Cases
Swift functionality
Nova boot-from-volume
Quantum tests QA:Testcase_Quantum_V2#How_to_test