From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

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://dl.fedoraproject.org/pub/alt/stage/16.TC1/ 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:
Until we have [https://bugzilla.redhat.com/734346 SELinux policy for Nova]:


  $> sudo setenforce 0
  $> 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]].
=== '''Create a nova-volumes VG''' ===


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


So that we can later inject files into qcow2 images
$> 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 modprobe nbd
=== '''Create a novacreds Directory''' ===
  $> echo nbd | sudo tee -a /etc/modules-load.d/nbd.conf
 
You will need to store your Nova credentials somewhere, so e.g.
 
  $> mkdir ~/novacreds


== Test Cases ==
== Test Cases ==
Line 93: Line 95:


# [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]]
# [[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_OpenStack_floating_IPs|Floating IPs]]
# [[QA:Testcase_use_MySQL_for_OpenStack_database|MySQL]]
# [[QA:Testcase_use_MySQL_for_OpenStack_database|MySQL]]
Line 119: Line 120:
! References
! 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]]
| [[User:SampleUser|Sample User]]
| {{result|none}}
| {{result|none}}
Line 186: Line 129:
| <references/>
| <references/>
|-
|-
-->
|}
|}


Line 194: Line 136:
! User
! User
! [[QA:Testcase_launch_an_instance_on_OpenStack|Launch an instance]]
! [[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_OpenStack_floating_IPs|Floating IPs]]
! [[QA:Testcase_use_MySQL_for_OpenStack_database|MySQL]]
! [[QA:Testcase_use_MySQL_for_OpenStack_database|MySQL]]
Line 200: Line 141:
! 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|pass}}
Line 241: Line 148:
| <references/>
| <references/>
|-
|-
-->
|}
|}


Line 252: Line 158:
! References
! 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|none}}
| <references/>
|-
<!--
| [[User:SampleUser|Sample User]]
| [[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>
Line 273: Line 163:
| <references/>
| <references/>
|-
|-
-->
|}
|}


[[Category:Fedora 16 Test Days]]
[[Category:Test Days]]
[[Category:OpenStack]]
|
[[Category:Cloud SIG]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)