Latest revision |
Your text |
Line 23: |
Line 23: |
| * [[User:Rkukura|Bob Kukura]] (rkukura) | | * [[User:Rkukura|Bob Kukura]] (rkukura) |
| * [[User:Markmc|Mark McLoughlin]] (markmc) | | * [[User:Markmc|Mark McLoughlin]] (markmc) |
| * [[User:Russellb|Russell Bryant]] (russellb)
| |
|
| |
|
| == Prerequisite for Test Day == | | == Prerequisite for Test Day == |
|
| |
|
| * A [http://fedoraproject.org/get-prerelease fully updated Fedora 16 (virtual) machine]. | | * A [http://fedoraproject.org/get-prerelease fully updated Fedora 16 machine]. |
| * 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, with specific config noted below}}
| |
|
| |
|
| == How to test? == | | == How to test? == |
Line 39: |
Line 36: |
| === '''Configure sudo''' === | | === '''Configure sudo''' === |
|
| |
|
| Add <span style="color:red;">your account</span> to sudoers, which can be done from a root prompt like: | | Add your account to sudoers e.g. |
|
| |
|
| #> (umask 337; name=<span style="color:red;">markmc</span>; echo "$name ALL = (ALL) NOPASSWD: ALL" > /etc/sudoers.d/testday) | | $> sudoedit /etc/sudoers |
| | ... |
| | markmc ALL = (ALL) NOPASSWD: ALL |
|
| |
|
| === '''Update your machine''' === | | === '''Update your machine''' === |
Line 47: |
Line 46: |
| Make sure you have all the current updates for it installed: | | Make sure you have all the current updates for it installed: |
|
| |
|
| $> sudo yum update -y | | $> sudo yum update --enablerepo=updates-testing -y |
|
| |
|
| === '''Enable RabbitMQ''' === | | === '''Enable RabbitMQ''' === |
Line 61: |
Line 60: |
| $> sudo chkconfig libvirtd on | | $> sudo chkconfig libvirtd on |
|
| |
|
| === '''Optionally Disable SELinux''' === | | === '''Disable SELinux''' === |
| | |
| We now have [https://bugzilla.redhat.com/734346 SELinux policy for Nova]. If you don't have selinux-policy 3.10.0-43.fc16 or newer, disable enforcing mode:
| |
| | |
| $> sudo setenforce 0
| |
| $> sudo sed -i 's/^SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
| |
| | |
| However, if you're running in permissive mode, please keep an eye on AVCs logged and add them to [[Test_Day:2011-10-20_OpenStack_Test_Day_SELinux_AVCs]].
| |
|
| |
|
| === '''Load nbd''' ===
| | Until we have [https://bugzilla.redhat.com/734346 SELinux policy for Nova]: |
|
| |
|
| So that we can later inject files into qcow2 images
| | $> setenforce 0 |
| | |
| $> sudo modprobe nbd | |
| $> echo nbd | sudo tee -a /etc/modules-load.d/nbd.conf
| |
|
| |
|
| == Test Cases == | | == Test Cases == |
Line 81: |
Line 70: |
| When ready, follow the instructions provided in each of the test cases: | | When ready, follow the instructions provided in each of the test cases: |
|
| |
|
| Basic setup:
| | * [[QA:Testcase_foo_bar]] |
| | |
| # [[QA:Testcase_install_OpenStack_packages|Install the packages]]
| |
| # [[QA:Testcase_start_OpenStack_Glance_services|Start glance services]]
| |
| # [[QA:Testcase_start_OpenStack_Nova_services|Start nova services]]
| |
| # [[QA:Testcase_create_OpenStack_user_project_and_network|Create user, project and network]]
| |
| # [[QA:Testcase_add_SSH_keypair_to_OpenStack|Add SSH keypair]]
| |
| # [[QA:Testcase_download_and_register_tty_images_with_OpenStack|Register tty images]]
| |
| | |
| Core functionality:
| |
| | |
| # [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]]
| |
| # [[QA:Testcase_attach_a_volume_to_an_instance|Attach a volume]]
| |
| # [[QA:Testcase_OpenStack_floating_IPs|Floating IPs]]
| |
| # [[QA:Testcase_use_MySQL_for_OpenStack_database|MySQL]]
| |
| # [[QA:Testcase_separate_OpenStack_compute_node|Separate compute node]]
| |
| | |
| Extra credit:
| |
| | |
| # [[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 == | | == 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=16&component=openstack-nova openstack-nova], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=16&component=openstack-glance openstack-glance], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=16&component=openstack-keystone openstack-keystone] or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=16&component=openstack-swift 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 [[Template:result|result template]] to enter your result, as shown in the example result line. | | 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=16&component=openstack-nova openstack-nova], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=16&component=openstack-glance openstack-glance], [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=16&component=openstack-keystone openstack-keystone] or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=16&component=openstack-swift 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 [[Template:result|result template]] to enter your result, as shown in the example result line. |
|
| |
| Basic setup:
| |
|
| |
| {|
| |
| ! User
| |
| ! [[QA:Testcase_install_OpenStack_packages|Install the packages]]
| |
| ! [[QA:Testcase_start_OpenStack_Glance_services|Start glance services]]
| |
| ! [[QA:Testcase_start_OpenStack_Nova_services|Start nova services]]
| |
| ! [[QA:Testcase_create_OpenStack_user_project_and_network|Create user, project and network]]
| |
| ! [[QA:Testcase_add_SSH_keypair_to_OpenStack|Add SSH keypair]]
| |
| ! [[QA:Testcase_download_and_register_tty_images_with_OpenStack|Register tty images]]
| |
| ! References
| |
| |-
| |
| | [[User:Sergey|Sergey]]
| |
| | {{result|warn}} <ref>Test pass, but also encountered {{bz|685155}}</ref>
| |
| | {{result|fail}} <ref>Test fails {{bz|746767}}</ref>
| |
| | {{result|fail}} <ref>Test fails {{bz|746771}}</ref>
| |
| | {{result|pass}}
| |
| | {{result|none}}
| |
| | {{result|none}}
| |
| | <references/>
| |
| |-
| |
| | [[User:Markmc|markmc]]
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}} <ref>"database is locked" errors {{bz|735012}}</ref>
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | <references/>
| |
| |-
| |
| | [[User:Pbrady|pbrady]]
| |
| | {{result|pass}} <ref>All testing done in a VM, with selinux permissive mode </ref>
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | <references/>
| |
| |-
| |
| | [[User:asalkeld|asalkeld]]
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|none}}
| |
| | <references/>
| |
| |-
| |
| | [[User:Rkukura|rkukura]]
| |
| | {{result|pass}} <ref>All testing done in enforcing mode</ref>
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | <references/>
| |
| |-
| |
| | [[User:aacosta|aacosta]]
| |
| | {{result|warn}} <ref>Test pass, but also encountered {{bz|685155}}</ref>
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | <references/>
| |
| |-
| |
|
| |
|
| |
|
| |
| <!--
| |
| | [[User:SampleUser|Sample User]]
| |
| | {{result|none}}
| |
| | {{result|pass}}
| |
| | {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
| |
| | {{result|fail}} <ref>{{bz|12345}}</ref>
| |
| | {{result|none}}
| |
| | {{result|none}}
| |
| | <references/>
| |
| |-
| |
| -->
| |
| |}
| |
|
| |
| Core functionality:
| |
|
| |
|
| {| | | {| |
| ! User | | ! User |
| ! [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]] | | ! [[QA:Testcase_foo_bar|Foo Bar]] |
| ! [[QA:Testcase_attach_a_volume_to_an_instance|Attach a volume]] | | ! [[QA:Testcase_foo_bar|Foo Bar]] |
| ! [[QA:Testcase_OpenStack_floating_IPs|Floating IPs]] | | ! [[QA:Testcase_foo_bar|Foo Bar]] |
| ! [[QA:Testcase_use_MySQL_for_OpenStack_database|MySQL]] | | ! [[QA:Testcase_foo_bar|Foo Bar]] |
| ! [[QA:Testcase_separate_OpenStack_compute_node|Separate compute node]]
| |
| ! References | | ! References |
| |- | | |- |
| | [[User:Markmc|markmc]]
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}} <ref>AMQPChannelException {{bz|747568}}</ref>
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | <references/>
| |
| |-
| |
| | [[User:Pbrady|pbrady]]
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|pass}} <ref>Not available external to a VM {{bz|747605}}</ref>
| |
| | {{result|none}}
| |
| | {{result|none}}
| |
| | <references/>
| |
| |-
| |
| | [[User:asalkeld|asalkeld]]
| |
| | {{result|pass}}
| |
| | {{result|none}}
| |
| | {{result|none}}
| |
| | {{result|none}}
| |
| | {{result|none}}
| |
| | <references/>
| |
| |-
| |
| | [[User:Rkukura|rkukura]]
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | {{result|none}}
| |
| | {{result|pass}}
| |
| | {{result|pass}}
| |
| | <references/>
| |
| |-
| |
| <!--
| |
| | [[User:SampleUser|Sample User]] | | | [[User:SampleUser|Sample User]] |
| | {{result|none}} | | | {{result|none}} |
| | {{result|none}}
| |
| | {{result|pass}}
| |
| | {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
| |
| | {{result|fail}} <ref>{{bz|12345}}</ref>
| |
| | <references/>
| |
| |-
| |
| -->
| |
| |}
| |
| | |
| Extra credit:
| |
| | |
| {|
| |
| ! User
| |
| ! [[QA:Testcase_build_an_OpenStack_guest_image_with_Oz|Build an image with Oz]]
| |
| ! [[QA:Testcase_run_the_OpenStack_smoke_tests|Smoke tests]]
| |
| ! References
| |
| |-
| |
| | [[User:Markmc|markmc]]
| |
| | {{result|none}}
| |
| | {{result|none}}
| |
| | <references/>
| |
| |-
| |
| | [[User:Pbrady|pbrady]]
| |
| | {{result|none}}
| |
| | {{result|pass}} <ref>all 50 passed. note I didn't do mysql test</ref>
| |
| | <references/>
| |
| |-
| |
| | [[User:asalkeld|asalkeld]]
| |
| | {{result|pass}} | | | {{result|pass}} |
| | {{result|none}}
| |
| | <references/>
| |
| |-
| |
| <!--
| |
| | [[User:SampleUser|Sample User]]
| |
| | {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref> | | | {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref> |
| | {{result|fail}} <ref>{{bz|12345}}</ref> | | | {{result|fail}} <ref>{{bz|12345}}</ref> |
| | <references/> | | | <references/> |
| |- | | |- |
| -->
| |
| |} | | |} |
|
| |
|
| [[Category:Fedora 16 Test Days]]
| | [[Category:Test Days]] |
| [[Category:OpenStack]] | | [[Category:QA Templates]] |