(Drop direct Test Days category membership) |
|||
(273 intermediate revisions by 30 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox_group | {{Infobox_group | ||
| name = OpenStack Test Days | | name = OpenStack Test Days | ||
| date = 2012-09-18 | | date = 2012-09-18 and 2012-09-25 | ||
| time = all day | | time = all day | ||
| irc = [irc://irc.freenode.net/#fedora-openstack #fedora-openstack] ([http://webchat.freenode.net/?channels=fedora-openstack webirc]) | | irc = [irc://irc.freenode.net/#fedora-openstack #fedora-openstack] ([http://webchat.freenode.net/?channels=fedora-openstack webirc]) | ||
}} | }} | ||
{{admon/note | Can't make the | {{admon/note | Can't make the dates? | 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 [http://bugzilla.redhat.com 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 [[QA/Test_Days|current schedule]] and see if a similar but more recent Test Day is planned or has already happened.}} | ||
== Who's available == | == Who's available == | ||
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ... | The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ... | ||
* Development - [[User:Apevec|Apevec]] (apevec) | |||
* Development - [[User:Derekh|Derekh]] (derekh) | |||
* Development - [[User:eglynn|eglynn]] (eglynn) | |||
* Development - [[User:gkotton|gkotton]] (garyk) | |||
* Consulting - [[User:kensey|kensey]] (kensey) | |||
* Development - [[User:markmc|markmc]] (markmc) | |||
* Development - [[User:Mrunge|mrunge]] (mrunge) | |||
* Development - [[User:Pbrady|Pbrady]] (pixelbeat) | * Development - [[User:Pbrady|Pbrady]] (pixelbeat) | ||
* | * Deployment - [[User:rbuilta|rbuilta]] (rbuilta) | ||
* | * Deployment - [[User:sten|sten]] (sten) | ||
* Deployment - [[User:Vaneldik|Vaneldik]] (vaneldik) | * Deployment - [[User:Vaneldik|Vaneldik]] (vaneldik) | ||
* | * Development - [[User:ndipanov|ndipanov]] (ndipanov) | ||
* Development - [[User:nsantos|nsantos]] (nunofsantos) | |||
* Development - [[User:dprince|dprince]] (dprince) | |||
* Development - [[User:imain|imain]] (Slower) | |||
* Development - [[User:sdake|sdake]] (sdake) | |||
* Development - [[User:shardy|shardy]] (shardy) | |||
* Development - [[User:stevebake|stevebake]] (stevebake) | |||
* Development - [[User:Jpeeler|jpeeler]] (jpeeler) | |||
== Prerequisite for Test Day == | == Prerequisite for Test Day == | ||
* Hardware virtualization support (e.g. Intel VT or AMD-V). | * 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. | * Up to 10-20Gb free disk space. Guest images take up a lot of space. | ||
{{admon/note|Hardware Requirements|You can do basic testing of OpenStack in a virtual machine, which is auto detected by the install script below}} | |||
This is a Fedora 18 test day, but we have OpenStack Folsom packages available for both Fedora 18 and Fedora 17. | |||
=== Fedora 18 === | |||
[http://dl.fedoraproject.org/pub/alt/stage/18-Alpha-RC3/Live/x86_64 Fedora 18 Alpha live image] can be used to install a bare metal or virtual machine. | |||
Please record common Fedora 18 issues here: | |||
* Video doesn't work in a VM unless video type is set to 'vga' [https://bugzilla.redhat.com/848930 #848930] | |||
* Auto partitioning wipes the disk without warning [https://bugzilla.redhat.com/show_bug.cgi?id=855976 #855976] | |||
* The installing packages step can take over 30 minutes [https://bugzilla.redhat.com/show_bug.cgi?id=856993 #856993] | |||
* The "swipe to remove" screen lock causes X corruption [https://bugzilla.redhat.com/show_bug.cgi?id=857017 #857017] | |||
[[Category:Test Days]] | Alternatively, try updating from Fedora 17 to Fedora 18 [[Upgrading Fedora using yum#Fedora_17_-.3E_Fedora_18|using yum]]. | ||
=== Fedora 17 === | |||
[http://alt.fedoraproject.org/pub/alt/live-respins/ Recent Fedora 17 live image respins] can be used to install a bare metal or virtual machine. | |||
== How to test? == | |||
Follow the steps below to prepare the machine, then follow each of the test cases in order. | |||
=== Configure sudo === | |||
Add <span style="color:red;">your account</span> to sudoers, which can be done from a root prompt like: | |||
(umask 337; echo "<span style="color:red;">non_root_user</span> 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: | |||
* {{bz|856548}} general - Intermittent failures adding users to groups | |||
* {{bz|856653}} glance - api can't access mysql | |||
* {{bz|837330}} glance - 'name_connect' accesses on the tcp_socket | |||
* {{bz|809198}} rsync/swift replicator - rsync restricted by selinux | |||
== Install and setup all Openstack services on a single node == | |||
'''Test day only''' Please use the official Fedora repositories otherwise | |||
sudo curl http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo -o /etc/yum.repos.d/fedora-openstack-folsom.repo | |||
'''FEDORA 18 ONLY''' To avoid issues with stale libvirt, netcf, virt-viewer packages in official Fedora 18 repositories | |||
please enable this side repository containing the latest such packages: | |||
sudo curl http://repos.fedorapeople.org/repos/openstack/f18-testing/f18-testing.repo -o /etc/yum.repos.d/fedora-testing.repo | |||
'''FEDORA 18 ONLY''' To workaround {{bz|858311}} issue with libvirtd auth: | |||
sudo yum install -y libvirt-daemon | |||
sudo sed -i 's/#\(auth_unix_r[ow] = "none"\)/\1/' /etc/libvirt/libvirtd.conf | |||
'''FEDORA 18 ONLY''' There is a SELinux bug {{bz|860201}} causing openstack-demo-install to exit early, | |||
when installing withing a VM. Please apply this workaround only if installing within a VM: | |||
sudo yum install -y openstack-utils | |||
sudo sed -i 's/setsebool -P/setsebool/' /usr/bin/openstack-demo-install | |||
So now the yum repositories are in place, so we'll install 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 yum install -y openstack-utils | |||
sudo [https://github.com/fedora-openstack/openstack-utils/blob/master/utils/openstack-demo-install openstack-demo-install] | |||
Note this is a major test in itself, so please record any issues encountered. | |||
Now copy the keystonerc file created by the install script above to your home directory, | |||
so that it can be easily sourced to provide the credentials used by the various OpenStack command line utilities. | |||
sudo cp /root/keystonerc ~ | |||
=== Known issues === | |||
== 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 | Setup 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. | |||
[[QA:Testcase_Quantum_V2#Setup | Enable Quantum networking]] | |||
== Test Cases == | |||
Basic setup: | |||
# [[QA:Testcase_add_SSH_keypair_to_OpenStack|Add SSH keypair]] | |||
# [[QA:Testcase_register_images_with_OpenStack|Register guest images]] | |||
# [[QA:Testcase_create_OpenStack_nova_network|Create nova network]] | |||
Core functionality: | |||
# [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]] | |||
# [[QA:Testcase_attach_a_cinder_volume_to_an_instance|Attach a volume]] | |||
# [[QA:Testcase_OpenStack_floating_IPs|Floating IPs]] | |||
# [[QA:Testcase_separate_OpenStack_compute_node|Separate compute node]] | |||
Nova boot-from-volume: | |||
# [[QA:Testcase_Nova_Create_Builder_Instance | Create a builder instance]] | |||
# [[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]] | |||
Quantum functionality: | |||
# [[QA:Testcase_Quantum_V2#How_to_test | Configure and use a network topology in Quantum]] | |||
Swift functionality: | |||
# [[QA:Testcase_Swift_Upload_Download_Files | Upload and download files]] | |||
# [[QA:Testcase_Swift_Upload_Large_File | Upload Segmented File]] | |||
# [[QA:Testcase_Swift_Auditor_Replicator | Test Auditor/Replicator]] | |||
# [[QA:Testcase_Swift_Add_Device | Add Storage Device to ring]] | |||
Dashboard functionality: | |||
# [[QA:Testcase_OpenStack_dashboard_setup|Basic dashboard setup and login]] | |||
# [[QA:Testcase_OpenStack_dashboard_launch_instance|Launch/terminate an instance with the dashboard]] | |||
# [[QA:Testcase_OpenStack_dashboard_add_users|Managing projects and users with the dashboard]] | |||
# [[QA:Testcase_OpenStack_dashboard_vnc|VNC access to instances through the dashboard]] | |||
Heat basic functionality (recommended for all developers): | |||
# [[QA:Testcase_OpenStack_heat_setup|Basic heat setup and configuration]] | |||
# [[QA:Testcase_OpenStack_heat_launch|Launch a basic wordpress stack]] | |||
# [[QA:Testcase_OpenStack_heat_stop|Stop Heat services and uninstall Heat]] | |||
Heat advanced functionality (recommended for heat developers): | |||
# [[QA:Testcase_OpenStack_heat_rununit|Run nose unit tests]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_With_LB|Run Load Balancing testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_With_RDS|Run Relational Database service testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_Single_Instance_With_EIP|Run EIP testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_Single_Instance_With_EBS|Run EBS testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_Single_Instance_With_EBS_EIP|Run EBS and EIP testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_Single_Instance|Run Single Instance Wordpress testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_Composed_Instances|Run Compsed Instances testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_2_Instances_With_EBS|Run 2 instance EBS testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_2_Instances_With_EBS_EIP|Run 2 instances with EBS and EIP]] | |||
# [[QA:Testcase_OpenStack_heat_run_WordPress_2_Instances|Run 2 instance Wordpress testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_HAProxy_Single_Instance|Run HAProxy Single Instance testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_CFN_API_Actions|Run CFN API actions testcase]] | |||
# [[QA:Testcase_OpenStack_heat_run_AutoScalingMultiAZSample|Run AutoScaling testcase]] | |||
Extra credit: | |||
# [[QA:Testcase_run_Tempest_tests|Tempest tests]] | |||
# [[QA:Testcase_build_an_OpenStack_guest_image_with_Oz|Build an image with Oz]] | |||
# [[QA:Testcase_run_the_OpenStack_smoke_tests|Smoke tests]] | |||
== Test Results == | |||
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for one of the [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=openstack-nova openstack-nova], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=openstack-glance openstack-glance], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=openstack-keystone openstack-keystone], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=openstack-cinder openstack-cinder],[https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=openstack-quantum openstack-quantum], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=openstack-swift openstack-swift] or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=18&component=heat heat] 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 [[Template:result|result template]] to enter your result, as shown in the example result line. | |||
Basic setup: | |||
{| | |||
! User | |||
! openstack-demo-install | |||
! [[QA:Testcase_Create_Cinder_Volumes|Create Cinder Volumes]] | |||
! [[QA:Testcase_add_SSH_keypair_to_OpenStack|Add SSH keypair]] | |||
! [[QA:Testcase_register_images_with_OpenStack|Register images]] | |||
! [[QA:Testcase_create_OpenStack_nova_network|Create nova network]] | |||
! References | |||
|- | |||
| [[User:SampleUser|Sample User]] | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|pass}} | |||
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref> | |||
| {{result|fail}} <ref>{{bz|12345}}</ref> | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:gkotton|Gary Kotton]] | |||
| {{result|pass}} | |||
| {{result|none}} | |||
| {{result|pass}} <ref>Missing package euca2ools, and old keystone syntax.</ref> | |||
| {{result|pass}} <ref>Test pass, whilst in state SAVING command glance image-list takes a very long time (f16 image)</ref> | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Vaneldik|Jan van Eldik]] | |||
| {{result|pass}} <ref>Typo in openstack-status script {{bz|858174}}</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} <ref>Test pass, whilst in state SAVING command glance image-list takes a very long time (f16 image)</ref> <ref>upload of ami-tty leaves image in state "queued" (with size 0)</ref> | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Vaneldik|Jan van Eldik (2)]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|warn}} <ref>Encountered {{bz|858372}}</ref> | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Jhenner|Jaroslav Henner]] | |||
| {{result|warn}} <ref>Encountered {{bz|860333}}</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|warn}} <ref>Encountered {{bz|858372}}</ref> | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Pbrady|Pádraig Brady]] | |||
| {{result|pass}} <ref>On an F17 VM and F18 bare metal</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} <ref>Updated test to address issues mentioned by Gary Kotton</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Pbrady|Pádraig Brady(2)]] | |||
| {{result|warn}} <ref>Encountered {{bz|860120}}</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:ndipanov|Nikola Đipanov]] | |||
| {{result|pass}} <ref>On an F17 VM</ref> | |||
| {{result|fail||858256}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:derekh|Derek Higgins]] | |||
| {{result|pass}} <ref>On F17 vm</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:derekh|Derek Higgins]] | |||
| {{result|pass}} <ref>On F18 Alpha vm</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:eglynn|Eoghan Glynn]] | |||
| {{result|pass}} | |||
| {{result|fail||858256}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:eglynn|Eoghan Glynn (day2)]] | |||
| {{result|pass}} | |||
| {{result|warn}} <ref>with tgtd.conf workaround</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:nsantos|Nuno Santos]] | |||
| {{result|pass}} <ref>On F17</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:russellb|Russell Bryant]] | |||
| {{result|pass}} <ref>On F17</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|fail||858372}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Zaitcev|Pete Zaitcev]] | |||
| {{result|pass}} | |||
| {{result|none}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:stevebake|Steve Baker (day2)]] | |||
| {{result|warn}} <ref>On F18 vm</ref> <ref>openstack-glance clashed with python-glanceclient</ref><ref>needed setsebool workaround {{bz|860127}}</ref> | |||
| {{result|warn}} <ref>needed workaround described on cinder page</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:markmc|Mark McLoughlin]] | |||
| {{result|warn}} <ref>On F18</ref> <ref>{{bz|858188}}</ref> <ref>{{bz|858311}}</ref> | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:imain|Ian Main]] | |||
| {{result|warn}} <ref>On F18</ref> <ref>{{bz|860120}}</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:markmc|Mark McLoughlin (2)]] | |||
| {{result|warn||858311}} | |||
| {{result|warn||860162}} | |||
| {{result|pass}} | |||
| {{result|warn||858372}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:bertux|Bertrand Juglas]] | |||
| {{result|pass}} <ref>On F17 bare metal</ref> | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:gstaicu|Gabriel Staicu]] | |||
| {{result|pass}} <ref>On F17 x64 VM hosted on openstack essex ..:)</ref> | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|fail}} <ref>859358</ref> | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:shardy|Steven Hardy]] | |||
| {{result|pass}} <ref>On F18 Alpha bare metal</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Jpeeler|Jeff Peeler]] | |||
| {{result|pass}} <ref>On F18 VM</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:derekh|Derek Higgins (TD2)]] | |||
| {{result|warn}} <ref> on F18 vm</ref><ref>needed setsebool workaround {{bz|860127}}</ref> | |||
| {{result|warn}} <ref>needed workaround described on cinder page</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:sdake|Steven Dake]] | |||
| {{result|warn}} <ref> on F18 vm</ref><ref>needed setsebool workaround {{bz|860127}}</ref> | |||
| {{result|warn}} <ref>needed workaround described on cinder page</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:red|Sandro Mathys]] | |||
| {{result|pass}} <ref>F18 bare metal</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| N/A <ref>Using Quantum</ref> | |||
| <references/> | |||
|- | |||
{| | |||
! User | |||
! [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]] | |||
! [[QA:Testcase_attach_a_cinder_volume_to_an_instance|Attach a volume]] | |||
! [[QA:Testcase_OpenStack_floating_IPs|Floating IPs]] | |||
! [[QA:Testcase_separate_OpenStack_compute_node|Separate compute node]] | |||
! References | |||
|- | |||
Core functionality: | |||
|- | |||
| [[User:eglynn|Eoghan Glynn]] | |||
| {{result|pass}} <ref>See issue with libvirt_cpu_mode {{bz|858216}}</ref> | |||
| {{result|fail||858256}} | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:eglynn|Eoghan Glynn (day2)]] | |||
| {{result|pass}} | |||
| {{result|warn}} <ref>Volume detach fails due to: {{bz|860227}}, should work with re-built python-cinderclient package</ref> | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:imain|Ian Main (day2)]] | |||
| {{result|pass}} | |||
| {{result|warn}} <ref>Volume attached but went onto /dev/vdb as the tiny flavor had no ephemeral storage. I had all updates as of 11:00am PDT.</ref> | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:ndipanov|Nikola Dipanov]] | |||
| {{result|pass}} <ref>Worked but had to restart nova-scheduler, see {{bz|858237}}</ref> | |||
| {{result|fail}} | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Vaneldik|Jan van Eldik]] | |||
| {{result|pass}} | |||
| {{result|fail||858256}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Vaneldik|Jan van Eldik (2)]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:nsantos|Nuno Santos]] | |||
| {{result|pass}} | |||
| {{result|fail||858256}} | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Pbrady|Pádraig Brady]] | |||
| {{result|pass}} <ref>F17 VM. F18 worked too after avoiding {{bz|858311}}</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:russellb|Russell Bryant]] | |||
| {{result|pass}} | |||
| {{result|none}}<ref>Skipped since it was broken for everyone else already</ref> | |||
| {{result|pass}} | |||
| | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:derekh|Derek Higgins]] | |||
| {{result|warn}} <ref> worked on both f17 and f18 ({{bz|858311}} on f18)</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:zaitcev|Pete Zaitcev]] | |||
| {{result|fail}} <ref>Same as Nikola's {{bz|858237}}, but restart does not help.</ref> | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:eglynn|Eoghan Glynn]] | |||
| {{result|warn||858216}} | |||
| {{result|fail||858256}} <ref>{{bz|860227}}</ref> <ref>Also saw (a) volume attached as /dev/vdc and (b) hd errors in tty guest running mkfs</ref> | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:jhenner|Jaroslav Henner]] | |||
| {{result|pass}} | |||
| {{result|fail}} <ref>{{bz|861222}} IO errors</ref> | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:shardy|Steven Hardy]] | |||
| {{result|pass}} <ref>F18 (physical) worked too after avoiding {{bz|858311}}</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Jpeeler|Jeff Peeler]] | |||
| {{result|pass}} | |||
| {{result|pass}} <ref>Using mknod /dev/vdb 252 16</ref> | |||
| {{result|pass}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:stevebake|Steve Baker]] | |||
| {{result|pass}} <ref>F18 vm, worked too after avoiding {{bz|858311}}</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:red|Sandro Mathys]] | |||
| {{result|fail||860658}} | |||
| {{result|warn}} <ref>Using vdb instead of vdc</ref> <ref>{{bz|861312}}</ref> <ref>{{bz|861341}}</ref> | |||
| N/A <ref>Successfully done with the instructions from the Quantum test case</ref> | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
{| | |||
! User | |||
! [[QA:Testcase_Nova_Create_Builder_Instance | Create a builder instance]] | |||
! [[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]] | |||
! References | |||
|- | |||
Nova boot-from-volume: | |||
|- | |||
| [[User:ndipanov|Nikola Đipanov]] | |||
| {{result|pass}} | |||
| {{result|fail||858256}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:jhenner|Jaroslav Henner]] | |||
| {{result|warning}} Key got injected for root, not cirros. | |||
| {{result|fail}} ISCSI IO errors | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:nsantos|Nuno Santos]] | |||
| {{result|pass}} | |||
| {{result|fail||858256}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:eglynn|Eoghan Glynn (day2)]] | |||
| {{result|pass}} | |||
| {{result|warn}} <ref>Volume detach fails due to: {{bz|860227}}, should work with re-built python-cinderclient package</ref> | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
{| | |||
! User | |||
! [[QA:Testcase_Quantum_V2#How_to_test | Configure and use a network topology in Quantum]] | |||
! References | |||
|- | |||
Quantum functionality: | |||
|- | |||
| [[User:gstaicu|Gabriel Staicu]] | |||
| {{result|pass}} <ref>Fedora17 x64 VM</ref> | |||
| <references/> | |||
|- | |||
| [[User:red|Sandro Mathys]] | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
{| | |||
! User | |||
! [[QA:Testcase_Swift_Upload_Download_Files | Upload and download files]] | |||
! [[QA:Testcase_Swift_Upload_Large_File | Upload Segmented File]] | |||
! [[QA:Testcase_Swift_Auditor_Replicator | Test Auditor/Replicator]] | |||
! [[QA:Testcase_Swift_Add_Device | Add Storage Device to ring]] | |||
! References | |||
|- | |||
Swift functionality: | |||
|- | |||
| [[User:Vaneldik|Jan van Eldik]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Pbrady|Pádraig Brady]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:eglynn|Eoghan Glynn]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:derekh|Derek Higgins]] | |||
| {{result|pass}}<ref>F18</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:derekh|Derek Higgins (TD2)]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|warn}} <ref> rsync selinux AVC's {{bz|809198}} </ref> | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
{| | |||
! User | |||
! [[QA:Testcase_OpenStack_dashboard_setup|Basic dashboard setup and login]] | |||
! [[QA:Testcase_OpenStack_dashboard_launch_instance|Launch/terminate an instance with the dashboard]] | |||
! [[QA:Testcase_OpenStack_dashboard_add_users|Managing projects and users with the dashboard]] | |||
! [[QA:Testcase_OpenStack_dashboard_vnc|VNC access to instances through the dashboard]] | |||
! References | |||
|- | |||
Dashboard functionality: | |||
|- | |||
| [[User:Vaneldik|Jan van Eldik]] | |||
| {{result|fail}} <ref>Access and Security unavailable</ref> <ref>Firewall not open on HTTP port (80)</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:Vaneldik|Jan van Eldik (2)]] | |||
| {{result|pass}} <ref>Sign out seems to misbehave, investigating...</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:eglynn|Eoghan Glynn]] | |||
| {{result|pass}} <ref>Access and Security available</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:gstaicu|Gabriel Staicu]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|}} | |||
| {{result|fail}} <ref>Fedora17 x64 {{bz|859127}}</ref> | |||
| <references/> | |||
|- | |||
{| | |||
! User | |||
! [[QA:Testcase_OpenStack_heat_setup|Basic heat setup and login]] | |||
! [[QA:Testcase_OpenStack_heat_launch|Launch a basic wordpress stack]] | |||
! [[QA:Testcase_OpenStack_heat_stop|Stop Heat services and uninstall Heat]] | |||
! References | |||
|- | |||
|- | |||
heat functionality: | |||
|- | |||
| [[User:sdake|Steven Dake]] | |||
| {{result|warn}} <ref>{{bz|860105}} {{bz|860282}} {{bz|860435}}</ref> | |||
| {{result|pass}} <ref>boot of VM took 8 minutes, Provision step took 29 minutes</ref> | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:shardy|Steven Hardy]] | |||
| {{result|warn}} <ref>{{bz|860105}} {{bz|860282}}</ref> | |||
| {{result|fail}} <ref>Stack launches but deployment incomplete</ref> | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:imain|Ian Main]] | |||
| {{result|pass}} <ref>{{bz|860105}} {{bz|860282}}</ref> | |||
| {{result|pass}} <ref>First launch I got a kernel panic in the VM, looked like it involved selinux. Second time stack launched and functioned properly.</ref> | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:stevebake|Steve Baker]] | |||
| {{result|pass}} <ref>{{bz|860105}} {{bz|860282}}</ref> | |||
| {{result|fail}} <ref>F18 vm. Instance launches but host network not reachable</ref> | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
{| | |||
! User | |||
! [[QA:Testcase_run_Tempest_tests|Tempest tests]] | |||
! [[QA:Testcase_build_an_OpenStack_guest_image_with_Oz|Build an image with Oz]] | |||
! [[QA:Testcase_run_the_OpenStack_smoke_tests|Smoke tests]] | |||
! References | |||
|- | |||
Extra credit: | |||
|- | |||
| [[User:nsantos|Nuno Santos]] | |||
| {{result|fail}} <ref>Tempest output at http://nsantos.fedorapeople.org/tempest.out</ref> | |||
| {{result|}} | |||
| {{result|}} | |||
| <references/> | |||
|- | |||
[[Category:Fedora 18 Test Days]] | |||
[[Category:OpenStack]] | [[Category:OpenStack]] | ||
Bugs found: | |||
https://bugzilla.redhat.com/show_bug.cgi?id=858297 |
Latest revision as of 19:33, 26 June 2015
OpenStack Test Days | |
---|---|
Date | 2012-09-18 and 2012-09-25 |
Time | all day |
IRC | #fedora-openstack (webirc) |
Who's available[edit]
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
- Development - Apevec (apevec)
- Development - Derekh (derekh)
- Development - eglynn (eglynn)
- Development - gkotton (garyk)
- Consulting - kensey (kensey)
- Development - markmc (markmc)
- Development - mrunge (mrunge)
- Development - Pbrady (pixelbeat)
- Deployment - rbuilta (rbuilta)
- Deployment - sten (sten)
- Deployment - Vaneldik (vaneldik)
- Development - ndipanov (ndipanov)
- Development - nsantos (nunofsantos)
- Development - dprince (dprince)
- Development - imain (Slower)
- Development - sdake (sdake)
- Development - shardy (shardy)
- Development - stevebake (stevebake)
- Development - jpeeler (jpeeler)
Prerequisite for Test Day[edit]
- 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.
This is a Fedora 18 test day, but we have OpenStack Folsom packages available for both Fedora 18 and Fedora 17.
Fedora 18[edit]
Fedora 18 Alpha live image can be used to install a bare metal or virtual machine. Please record common Fedora 18 issues here:
- Video doesn't work in a VM unless video type is set to 'vga' #848930
- Auto partitioning wipes the disk without warning #855976
- The installing packages step can take over 30 minutes #856993
- The "swipe to remove" screen lock causes X corruption #857017
Alternatively, try updating from Fedora 17 to Fedora 18 using yum.
Fedora 17[edit]
Recent Fedora 17 live image respins can be used to install a bare metal or virtual machine.
How to test?[edit]
Follow the steps below to prepare the machine, then follow each of the test cases in order.
Configure sudo[edit]
Add your account to sudoers, which can be done from a root prompt like:
(umask 337; echo "non_root_user ALL = (ALL) NOPASSWD: ALL" > /etc/sudoers.d/testday)
Update your machine[edit]
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[edit]
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[edit]
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:
- RHBZ #856548 general - Intermittent failures adding users to groups
- RHBZ #856653 glance - api can't access mysql
- RHBZ #837330 glance - 'name_connect' accesses on the tcp_socket
- RHBZ #809198 rsync/swift replicator - rsync restricted by selinux
Install and setup all Openstack services on a single node[edit]
Test day only Please use the official Fedora repositories otherwise
sudo curl http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo -o /etc/yum.repos.d/fedora-openstack-folsom.repo
FEDORA 18 ONLY To avoid issues with stale libvirt, netcf, virt-viewer packages in official Fedora 18 repositories please enable this side repository containing the latest such packages:
sudo curl http://repos.fedorapeople.org/repos/openstack/f18-testing/f18-testing.repo -o /etc/yum.repos.d/fedora-testing.repo
FEDORA 18 ONLY To workaround RHBZ #858311 issue with libvirtd auth:
sudo yum install -y libvirt-daemon sudo sed -i 's/#\(auth_unix_r[ow] = "none"\)/\1/' /etc/libvirt/libvirtd.conf
FEDORA 18 ONLY There is a SELinux bug RHBZ #860201 causing openstack-demo-install to exit early, when installing withing a VM. Please apply this workaround only if installing within a VM:
sudo yum install -y openstack-utils sudo sed -i 's/setsebool -P/setsebool/' /usr/bin/openstack-demo-install
So now the yum repositories are in place, so we'll install 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 yum install -y openstack-utils sudo openstack-demo-install
Note this is a major test in itself, so please record any issues encountered.
Now copy the keystonerc file created by the install script above to your home directory, so that it can be easily sourced to provide the credentials used by the various OpenStack command line utilities.
sudo cp /root/keystonerc ~
Known issues[edit]
Setup OpenStack volumes[edit]
The OpenStack volume service provides persistent block level storage to instances.
This is a commonly used service, so please enable using
Install and setup Quantum on a single node[edit]
As an option, you can replace the network manager internal to the OpenStack Nova project with Quantum.
Test Cases[edit]
Basic setup:
Core functionality:
Nova boot-from-volume:
- Create a builder instance
- Create and boot from a bootable volume
- Create an image from a running volume-backed instance
Quantum functionality:
Swift functionality:
Dashboard functionality:
- Basic dashboard setup and login
- Launch/terminate an instance with the dashboard
- Managing projects and users with the dashboard
- VNC access to instances through the dashboard
Heat basic functionality (recommended for all developers):
- Basic heat setup and configuration
- Launch a basic wordpress stack
- Stop Heat services and uninstall Heat
Heat advanced functionality (recommended for heat developers):
- Run nose unit tests
- Run Load Balancing testcase
- Run Relational Database service testcase
- Run EIP testcase
- Run EBS testcase
- Run EBS and EIP testcase
- Run Single Instance Wordpress testcase
- Run Compsed Instances testcase
- Run 2 instance EBS testcase
- Run 2 instances with EBS and EIP
- Run 2 instance Wordpress testcase
- Run HAProxy Single Instance testcase
- Run CFN API actions testcase
- Run AutoScaling testcase
Extra credit:
Test Results[edit]
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, openstack-cinder,openstack-quantum, openstack-swift or heat 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 | openstack-demo-install | Create Cinder Volumes | Add SSH keypair | Register images | Create nova network | References |
---|---|---|---|---|---|---|
Sample User | ||||||
Gary Kotton | ||||||
Jan van Eldik | ||||||
Jan van Eldik (2) | ||||||
Jaroslav Henner | ||||||
Pádraig Brady | ||||||
Pádraig Brady(2) | ||||||
Nikola Đipanov | ||||||
Derek Higgins |
| |||||
Derek Higgins |
| |||||
Eoghan Glynn | ||||||
Eoghan Glynn (day2) |
| |||||
Nuno Santos |
| |||||
Russell Bryant | ||||||
Pete Zaitcev | ||||||
Steve Baker (day2) | ||||||
Mark McLoughlin | ||||||
Ian Main | ||||||
Mark McLoughlin (2) | ||||||
Bertrand Juglas |
| |||||
Gabriel Staicu | ||||||
Steven Hardy |
| |||||
Jeff Peeler |
| |||||
Derek Higgins (TD2) | ||||||
Steven Dake | ||||||
Sandro Mathys | N/A [2] |
User | Launch an instance | Attach a volume | Floating IPs | Separate compute node | References |
---|---|---|---|---|---|
Eoghan Glynn | |||||
Eoghan Glynn (day2) | |||||
Ian Main (day2) |
| ||||
Nikola Dipanov | |||||
Jan van Eldik | |||||
Jan van Eldik (2) | |||||
Nuno Santos | |||||
Pádraig Brady | |||||
Russell Bryant |
| ||||
Derek Higgins | |||||
Pete Zaitcev | |||||
Eoghan Glynn | [3] [4] | ||||
Jaroslav Henner | |||||
Steven Hardy | |||||
Jeff Peeler |
| ||||
Steve Baker | |||||
Sandro Mathys | N/A [5] |
User | Create a builder instance | Create and boot from a bootable volume | Create an image from a running volume-backed instance | References |
---|---|---|---|---|
Nikola Đipanov | ||||
Jaroslav Henner | ||||
Nuno Santos | ||||
Eoghan Glynn (day2) |
User | Configure and use a network topology in Quantum | References |
---|---|---|
Gabriel Staicu |
| |
Sandro Mathys |
User | Basic dashboard setup and login | Launch/terminate an instance with the dashboard | Managing projects and users with the dashboard | VNC access to instances through the dashboard | References |
---|---|---|---|---|---|
Jan van Eldik | |||||
Jan van Eldik (2) |
| ||||
Eoghan Glynn |
| ||||
Gabriel Staicu |
User | Basic heat setup and login | Launch a basic wordpress stack | Stop Heat services and uninstall Heat | References |
---|---|---|---|---|
Steven Dake | ||||
Steven Hardy | ||||
Ian Main | ||||
Steve Baker |
User | Tempest tests | Build an image with Oz | Smoke tests | References |
---|---|---|---|---|
Nuno Santos |
|