(Drop direct Test Days category membership) |
|||
(38 intermediate revisions by 13 users not shown) | |||
Line 13: | Line 13: | ||
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:Pbrady|Pbrady]] (pixelbeat) | ||
* | * [[User:Mrunge|Mrunge]] (mrunge) | ||
* | * [[User:Eglynn|Eglynn]] (eglynn) | ||
* | * [[User:Apevec|Apevec]] (apevec) | ||
* | * [[User:Gkotton|GKotton]] (garyk) | ||
* | * [[User:Eharney|eharney]] (eharney) | ||
* | * [[User:Vaneldik|Vaneldik]] (vaneldik) | ||
* [[User:spstarr|spstarr]] (spstarr) | |||
Testing | |||
* [[User:kashyapc|kashyapc]] (Kashyap Chamarthy) | |||
* [[User:spstarr|spstarr]] (Shawn Starr) | |||
* [[User:mrceresa|mrceresa]] (Mario Ceresa) | |||
* [[User:mkollaro|mkollaro]] (Martina Kollarova) | |||
* [[User:mpavlase|mpavlase]] (Martin Pavlasek) | |||
== Prerequisite for Test Day == | == Prerequisite for Test Day == | ||
Line 33: | Line 41: | ||
=== Fedora 19 === | === Fedora 19 === | ||
* [https://dl.fedoraproject.org/pub/alt/stage/ Fedora 19 Alpha live image] can be used to install a virtual machine. | * [https://dl.fedoraproject.org/pub/alt/stage/ Fedora 19 Alpha live image] can be used to install a virtual machine. | ||
* | * TC2 doesn't support bare metal installs, but TC3 should [https://bugzilla.redhat.com/show_bug.cgi?id=928228 #928228] | ||
* VMs should have at least 2G RAM and 16G disk made available [https://bugzilla.redhat.com/show_bug.cgi?id=928886 #928886] | * For the live install, VMs should have at least 2G RAM and 16G disk made available [https://bugzilla.redhat.com/show_bug.cgi?id=928886 #928886] | ||
Please record common Fedora 19 issues here: | Please record common Fedora 19 issues here: | ||
Line 40: | Line 48: | ||
* Screen blanking/locking can't be undone. So disable immediately on first boot [https://bugzilla.redhat.com/show_bug.cgi?id=923364 #923364] | * Screen blanking/locking can't be undone. So disable immediately on first boot [https://bugzilla.redhat.com/show_bug.cgi?id=923364 #923364] | ||
* If you have an F18, machine | * If you have an F18, machine, you can update to f19 using: | ||
yum update yum; yum clean all ; yum --releasever=19 distro-sync --nogpgcheck -y; | yum update yum; yum clean all ; yum --releasever=19 distro-sync --nogpgcheck -y; | ||
Line 61: | Line 69: | ||
Make sure you have all the current updates for it installed: | Make sure you have all the current updates for it installed: | ||
sudo yum --enablerepo=updates-testing | sudo yum clean all | ||
sudo yum --enablerepo=updates-testing update -y | |||
=== SELinux === | === SELinux === | ||
Line 135: | Line 143: | ||
== Test Cases == | == Test Cases == | ||
Basic setup | === Basic setup === | ||
# [[QA:Testcase_add_SSH_keypair_to_OpenStack|Add SSH keypair]] | # [[QA:Testcase_add_SSH_keypair_to_OpenStack|Add SSH keypair]] | ||
Line 141: | Line 149: | ||
# [[QA:Testcase_create_OpenStack_nova_network|Create nova network]] | # [[QA:Testcase_create_OpenStack_nova_network|Create nova network]] | ||
Core functionality | === Core functionality === | ||
# [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]] | # [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]] | ||
Line 148: | Line 156: | ||
# [[QA:Testcase_separate_OpenStack_compute_node|Separate compute node]] | # [[QA:Testcase_separate_OpenStack_compute_node|Separate compute node]] | ||
Nova boot-from-volume | === Nova boot-from-volume === | ||
# [[QA:Testcase_Nova_Create_Builder_Instance | Create a builder instance]] | # [[QA:Testcase_Nova_Create_Builder_Instance | Create a builder instance]] | ||
Line 154: | Line 162: | ||
# [[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 functionality | === Quantum functionality === | ||
# [[QA:Testcase_Quantum_V2#How_to_test | Configure and use a network topology in Quantum]] | # [[QA:Testcase_Quantum_V2#How_to_test | Configure and use a network topology in Quantum]] | ||
Swift functionality | === Swift functionality === | ||
# [[QA:Testcase_Swift_Upload_Download_Files | Upload and download files]] | # [[QA:Testcase_Swift_Upload_Download_Files | Upload and download files]] | ||
Line 165: | Line 173: | ||
# [[QA:Testcase_Swift_Add_Device | Add Storage Device to ring]] | # [[QA:Testcase_Swift_Add_Device | Add Storage Device to ring]] | ||
Dashboard functionality | === Dashboard functionality === | ||
# [[QA:Testcase_OpenStack_dashboard_setup|Basic dashboard setup and login]] | # [[QA:Testcase_OpenStack_dashboard_setup|Basic dashboard setup and login]] | ||
Line 172: | Line 180: | ||
# [[QA:Testcase_OpenStack_dashboard_vnc|VNC access to instances through the dashboard]] | # [[QA:Testcase_OpenStack_dashboard_vnc|VNC access to instances through the dashboard]] | ||
Heat basic functionality | === Heat basic functionality === | ||
# [[QA:Testcase_OpenStack_heat_setup|Basic heat setup and configuration]] | # [[QA:Testcase_OpenStack_heat_setup|Basic heat setup and configuration]] | ||
Line 178: | Line 186: | ||
# [[QA:Testcase_OpenStack_heat_stop|Stop Heat services and uninstall Heat]] | # [[QA:Testcase_OpenStack_heat_stop|Stop Heat services and uninstall Heat]] | ||
Heat advanced functionality | === Heat advanced functionality === | ||
# [[QA:Testcase_OpenStack_heat_rununit|Run nose unit tests]] | # [[QA:Testcase_OpenStack_heat_rununit|Run nose unit tests]] | ||
Line 195: | Line 203: | ||
# [[QA:Testcase_OpenStack_heat_run_AutoScalingMultiAZSample|Run AutoScaling testcase]] | # [[QA:Testcase_OpenStack_heat_run_AutoScalingMultiAZSample|Run AutoScaling testcase]] | ||
Ceilometer | === Ceilometer functionality === | ||
# [[QA:Testcase_OpenStack_ceilometer_install|Install ceilometer]] | # [[QA:Testcase_OpenStack_ceilometer_install|Install ceilometer]] | ||
# [[QA:Testcase_OpenStack_ceilometer_metering_glance|Enable metering of glance]] | # [[QA:Testcase_OpenStack_ceilometer_metering_glance|Enable metering of glance]] | ||
# [[QA:Testcase_OpenStack_ceilometer_metering_nova|Enable metering of nova]] | # [[QA:Testcase_OpenStack_ceilometer_metering_nova|Enable metering of nova]] | ||
# [[QA:Testcase_OpenStack_ceilometer_mongodb_store|Explore the metering store]] | |||
Extra credit | === Extra credit === | ||
# [[QA:Testcase_run_Tempest_tests|Tempest tests]] | # [[QA:Testcase_run_Tempest_tests|Tempest tests]] | ||
Line 240: | Line 249: | ||
| {{result|none}} | | {{result|none}} | ||
| {{result|none}} | | {{result|none}} | ||
| {{result|fail | | {{result|fail||947427}} | ||
| <references/> | | <references/> | ||
|- | |- | ||
Line 250: | Line 259: | ||
| {{result|none}} | | {{result|none}} | ||
| {{result|none}} | | {{result|none}} | ||
| {{result|fail}} < | | {{result|fail||947421}} | ||
| <references/> | |||
|- | |||
| [[User:kashyapc|Kashyap Chamarthy]] | |||
| {{result|none}} no obvious way to delete incorrect security rules (added to the default nova security group) | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|fail||947075}}Also reproducible on Fedora-19. Upstream bz - https://bugs.launchpad.net/nova/+bug/1163469 | |||
| <references/> | | <references/> | ||
|- | |- | ||
Line 260: | Line 278: | ||
| {{result|pass}} <ref>credentials in keystonerc_admin no keystonerc</ref> | | {{result|pass}} <ref>credentials in keystonerc_admin no keystonerc</ref> | ||
| {{result|warn}} | | {{result|warn}} | ||
* | * glance copy_from hangs on stdin <ref>{{bz|923844}}</ref> | ||
* tty images failed with "Could not resolve host: images.ansolabs.com; Name or service not known" | * tty images failed with "Could not resolve host: images.ansolabs.com; Name or service not known" | ||
* Manually downloading a cirros image + glance add name=cirros is_public=true disk_format=qcow2 container_format=bare < cirros-0.3.0-x86_64-disk.img worked. | * Manually downloading a cirros image + glance add name=cirros is_public=true disk_format=qcow2 container_format=bare < cirros-0.3.0-x86_64-disk.img worked. | ||
Line 267: | Line 285: | ||
|- | |- | ||
|- | |||
| [[User:mkollaro|Martina Kollarova]] | |||
| {{result|none}} Packstack on f18 VM<ref> swift proxy server fails to start {{bz|947469}}</ref><ref> tgtd service fails to start but can be manually started {{bz|947419}} </ref> | |||
| {{result|pass}} <ref>done automatically by packstack</ref> | |||
| {{result|pass}} | |||
| {{result|warn}} | |||
* glance add using copy_from hangs<ref>{{bz|923844}}</ref> but downloading it first and redirecting it to stdin works | |||
* could not test using tty images, the server is unavailable | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:mpavlase|Martin Pavlasek]] | |||
| {{result|none}} Packstack on f18 VM (KVM) <ref>known bug {{bz|946915}} occured</ref> | |||
| {{result|none}} didn't install | |||
| {{result|pass}} | |||
| {{result|warn}} | |||
* glance add copy_from issue <ref>{{bz|923844}}</ref> | |||
* passed with [http://c250663.r63.cf1.rackcdn.com/ttylinux.tgz another images], because of outage of server | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:gfidente|Giulio Fidente]] | |||
| {{result|none}} packstack on bare metal f18 <ref>{{bz|946915}}</ref><ref>{{bz|948243}}</ref> | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|warn}} | |||
* glance add copy_from issue <ref>{{bz|923844}}</ref> | |||
* passed with [http://c250663.r63.cf1.rackcdn.com/ttylinux.tgz another images], because of outage of server | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
{| | {| | ||
Line 279: | Line 333: | ||
|- | |- | ||
| [[User:mrceresa|Mario Ceresa]] | | [[User:mrceresa|Mario Ceresa]] | ||
| {{result|pass}} <ref>If you get a wrong ip on the instance, remember to check if packstack silently configured an additional network or if the default nework of libvirtd is active</ref> | | {{result|pass}} <ref group="long">If you get a wrong ip on the instance, remember to check if packstack silently configured an additional network or if the default nework of libvirtd is active</ref> | ||
| {{result|fail | | {{result|fail||947463}} | ||
| {{result|none}} | | {{result|none}} | ||
| {{result|pass}} <ref>Should update the test case page: lokkit does not work with firewallD</ref> | | {{result|pass}} <ref>Should update the test case page: lokkit does not work with firewallD</ref> | ||
Line 286: | Line 340: | ||
|- | |- | ||
|- | |||
| [[User:mkollaro|Martina Kollarova]] | |||
| {{result|pass}} | |||
| {{result|fail||947463}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:mpavlase|Martin Pavlasek]] | |||
| {{result|pass}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:gfidente|Giulio Fidente]] | |||
| {{result|pass}} | |||
| {{result|fail||922579}} | |||
| {{result|none}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
Core functionality: | Core functionality: | ||
{| | {| | ||
Line 298: | Line 375: | ||
! [[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]] | ||
! References | ! References | ||
|- | |||
|- | |||
| [[User:mkollaro|Martina Kollarova]] | |||
| {{result|pass}} | |||
| {{result|none}} | |||
| {{result|none}} | |||
| <references/> | |||
|- | |||
|- | |||
| [[User:gfidente|Giulio Fidente]] | |||
| {{result|none}} | |||
| {{result|pass}} | |||
| {{result|fail||948305}} | |||
| <references/> | |||
|- | |- | ||
Line 329: | Line 422: | ||
! References | ! References | ||
|- | |- | ||
Dashboard functionality: | Dashboard functionality: | ||
|- | |- | ||
| [[User:mrceresa|Mario Ceresa]] | | [[User:mrceresa|Mario Ceresa]] | ||
| {{result|fail}} <ref>horizon starts but halts when logging in. Setting DEBUG=true in local_settings showed the same error as in {{bz| | | {{result|fail}} <ref group="long">horizon starts but halts when logging in. Setting DEBUG=true in local_settings showed that python-cinderclient hits the same error as in {{bz|947463}}</ref> | ||
| {{result|none}} | | {{result|none}} | ||
| {{result|none}} | | {{result|none}} | ||
| {{result|none}} | | {{result|none}} | ||
| <references/> | |||
|- | |||
|- | |||
| [[User:gfidente|Giulio Fidente]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|fail||948316}} | |||
| <references/> | | <references/> | ||
|- | |- | ||
Line 356: | Line 459: | ||
! [[QA:Testcase_OpenStack_ceilometer_metering_glance|Enable metering of glance]] | ! [[QA:Testcase_OpenStack_ceilometer_metering_glance|Enable metering of glance]] | ||
! [[QA:Testcase_OpenStack_ceilometer_metering_nova|Enable metering of nova]] | ! [[QA:Testcase_OpenStack_ceilometer_metering_nova|Enable metering of nova]] | ||
! [[QA:Testcase_OpenStack_ceilometer_mongodb_store|Explore the metering store]] | |||
! References | ! References | ||
|- | |- | ||
Ceilometer functionality: | Ceilometer functionality: | ||
|- | |||
| [[User:Eglynn|Eoghan Glynn]] | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| {{result|pass}} | |||
| <references/> | |||
|- | |||
{| | {| | ||
Line 367: | Line 479: | ||
! [[QA:Testcase_run_the_OpenStack_smoke_tests|Smoke tests]] | ! [[QA:Testcase_run_the_OpenStack_smoke_tests|Smoke tests]] | ||
! References | ! References | ||
|- | |- | ||
Extra credit: | Extra credit: | ||
|- | |||
| [[User:afazekas|Attila Fazekas]] | |||
| {{result|fail}} <ref> swift not configured {{bz|947469}}</ref><ref> nova availability-zone-list issue {{bz|947749}}</ref> | |||
| {{result|none}} | |||
| {{result|none}} | |||
| <references/> | |||
|- | |||
|} | |||
== Long comments == | |||
<references group="long" /> | |||
[[Category:Test Days]] | [[Category:Fedora 19 Test Days]] | ||
[[Category:OpenStack]] | [[Category:OpenStack]] |
Latest revision as of 19:45, 26 June 2015
OpenStack Test Day | |
---|---|
Date | 2013-04-02 |
Time | all day |
IRC | #fedora-test-day (webirc) |
Who's available[edit]
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
Development
- Pbrady (pixelbeat)
- Mrunge (mrunge)
- Eglynn (eglynn)
- Apevec (apevec)
- GKotton (garyk)
- eharney (eharney)
- Vaneldik (vaneldik)
- spstarr (spstarr)
Testing
- kashyapc (Kashyap Chamarthy)
- spstarr (Shawn Starr)
- mrceresa (Mario Ceresa)
- mkollaro (Martina Kollarova)
- mpavlase (Martin Pavlasek)
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 19 test day, but we have OpenStack Grizzly packages available for both Fedora 19 and Fedora 18. It would be advisable to download and install your Fedora 18 or Fedora 19 test systems before the test day if possible.
Fedora 19[edit]
- Fedora 19 Alpha live image can be used to install a virtual machine.
- TC2 doesn't support bare metal installs, but TC3 should #928228
- For the live install, VMs should have at least 2G RAM and 16G disk made available #928886
Please record common Fedora 19 issues here:
- System doesn't boot after install until /run is manually created #922988
- Screen blanking/locking can't be undone. So disable immediately on first boot #923364
- If you have an F18, machine, you can update to f19 using:
yum update yum; yum clean all ; yum --releasever=19 distro-sync --nogpgcheck -y;
Fedora 18[edit]
Recent Fedora 18 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 clean all sudo yum --enablerepo=updates-testing update -y
SELinux[edit]
SELinux should work with OpenStack services. If there are issues you can disable like:
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 #123456 general - ....
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-grizzly/fedora-openstack-grizzly.repo -o /etc/yum.repos.d/fedora-openstack-grizzly.repo
So now the yum repositories are in place, so we'll install packstack. This can install all OpenStack services on a single node, including: nova, glance, quantum, cinder, swift, keystone, dashboard, ceilometer. Note it configures and enables all but the quantum and ceilometer services at this time: Packstack is not working on F19 https://bugzilla.redhat.com/show_bug.cgi?id=927298
sudo yum install -y openstack-packstack sudo packstack --gen-answer-file=ans.txt # edit ans.txt as required sudo packstack --answer-file=ans.txt
packstack known issues :
# packstack fails to start keystone, if you hit a keystone error during the packstack run, change the permission of the keystone log file and rerun packstack (rhbz#946915) sudo chown keystone:keystone /var/log/keystone/keystone.log # if sometimes outputs an erorr when trying to start tdtd if this happens start it manually and rerun packstack sudo systemctl start tgtd
Alternatively one can use the openstack-demo-install script to do the install:
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 ~ # or if using packstack sudo cp /root/keystonerc_admin ~
Known issues[edit]
Setup OpenStack volumes[edit]
The OpenStack volume service provides persistent block level storage to instances.
This is a commonly used service automatically setup by packstack. If you ran openstack-demo-install instead please enable by following:
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.
Note if packstack was used then you need to terminate nova networking. This is done as follows:
service openstack-nova-network stop chkconfig openstack-nova-network off
Test Cases[edit]
Basic setup[edit]
Core functionality[edit]
Nova boot-from-volume[edit]
- Create a builder instance
- Create and boot from a bootable volume
- Create an image from a running volume-backed instance
Quantum functionality[edit]
Swift functionality[edit]
Dashboard functionality[edit]
- 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[edit]
- Basic heat setup and configuration
- Launch a basic wordpress stack
- Stop Heat services and uninstall Heat
Heat advanced functionality[edit]
- 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
Ceilometer functionality[edit]
Extra credit[edit]
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 openstack-heat or openstack-ceilometer 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 | ||||||
Rami Vaknin | ||||||
Rami Vaknin | ||||||
Kashyap Chamarthy | Also reproducible on Fedora-19. Upstream bz - https://bugs.launchpad.net/nova/+bug/1163469 | |||||
Mario Ceresa |
|
|||||
Martina Kollarova |
|
|||||
Martin Pavlasek |
|
|||||
Giulio Fidente |
|
User | Launch an instance | Attach a volume | Floating IPs | Separate compute node | References |
---|---|---|---|---|---|
Mario Ceresa | |||||
Martina Kollarova | |||||
Martin Pavlasek | |||||
Giulio Fidente |
User | Create a builder instance | Create and boot from a bootable volume | Create an image from a running volume-backed instance | References |
---|---|---|---|---|
Martina Kollarova | ||||
Giulio Fidente |
User | Configure and use a network topology in Quantum | References |
---|
User | Upload and download files | Upload Segmented File | Test Auditor/Replicator | Add Storage Device to ring | References |
---|
User | Basic heat setup and login | Launch a basic wordpress stack | Stop Heat services and uninstall Heat | References |
---|
User | Install ceilometer | Enable metering of glance | Enable metering of nova | Explore the metering store | References |
---|---|---|---|---|---|
Eoghan Glynn |
User | Tempest tests | Build an image with Oz | Smoke tests | References |
---|---|---|---|---|
Attila Fazekas |
Long comments[edit]
- ↑ If you get a wrong ip on the instance, remember to check if packstack silently configured an additional network or if the default nework of libvirtd is active
- ↑ horizon starts but halts when logging in. Setting DEBUG=true in local_settings showed that python-cinderclient hits the same error as in RHBZ #947463