From Fedora Project Wiki

Revision as of 15:42, 25 September 2012 by Sdake (talk | contribs)

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

Adding a key sould return

 [sdake@localhost ~]$ nova keypair-list
 +----------+-------------------------------------------------+