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 27: Line 27:
== 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). Openstack can be installed on the host OS or within a KVM
* 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 37:
=== '''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 61: Line 61:
  $> 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
  $> sudo setenforce 0
  $> sudo sed -i 's/^SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
  $> 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''' ===
 
Nova expects an LVM volume group called '''nova-volumes'''. One way of creating this is:
 
$> sudo truncate -s20G /var/lib/nova/nova-volumes.img
$> sudo vgcreate nova-volumes $(sudo losetup --show -f /var/lib/nova/nova-volumes.img)


=== '''Load nbd''' ===
=== '''Load nbd''' ===
Line 93: Line 98:


# [[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 128: Line 132:
| <references/>
| <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 141:
| <references/>
| <references/>
|-
|-
-->
|}
|}


Line 194: Line 148:
! 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 153:
! 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 160:
| <references/>
| <references/>
|-
|-
-->
|}
|}


Line 252: Line 170:
! 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 175:
| <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)