QA:Testcase OpenStack heat launch

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
  
 
Check that there is a F17-x86_64-cfntools JEOS in glance:
 
Check that there is a F17-x86_64-cfntools JEOS in glance:
   glance list
+
   glance index
  
 
Create an SSH key and register it with nova
 
Create an SSH key and register it with nova
Line 37: Line 37:
 
|results=
 
|results=
  
No obvious errors were displayed.
+
glance index should return
 +
  [root@localhost images]# glance index
 +
  ID                                  Name                          Disk Format          Container Format    Size         
 +
  ------------------------------------ ------------------------------ -------------------- -------------------- --------------
 +
  a485aeb3-abbc-45d3-8a70-13bed62895dc F17-x86_64-cfntools            qcow2                bare                      647228928
 +
 
  
 
}}
 
}}

Revision as of 15:38, 25 September 2012

Contents

Description

Setup OpenStack dashboard and perform an initial login.

Setup

These 3 steps are already completed but for reference:

How to test

Check that there is a F17-x86_64-cfntools JEOS in glance:

 glance index

Create an SSH key and register it with nova

 ssh-keygen
 nova keypair-add --pub_key ~/.ssh/id_rsa.pub ${USER}_key
 

Launch a Wordpress instance:

 heat create wordpress --template-url=https://raw.github.com/heat-api/heat/master/templates/WordPress_Single_Instance.template --parameters="InstanceType=m1.xlarge;DBUsername=${USER};DBPassword=verybadpass;KeyName=${USER}_key"

List stacks:

 heat list

Describe the wordpress stack

 heat describe wordpress

Delete the instance when done:

 heat delete wordpress
 heat list

Expected Results

glance index should return

 [root@localhost images]# glance index
 ID                                   Name                           Disk Format          Container Format     Size          
 ------------------------------------ ------------------------------ -------------------- -------------------- --------------
 a485aeb3-abbc-45d3-8a70-13bed62895dc F17-x86_64-cfntools            qcow2                bare                      647228928