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 index
+
   glance list
  
 +
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:
 
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"
 
   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"
  

Revision as of 15:32, 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 list

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

No obvious errors were displayed.