QA:Testcase launch an instance on OpenStack

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{QA/Test_Case |description=A brief description of the functionality being tested. |setup=Optionally include information on preparing the test environment |actions= Be as specifi...")
 
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=A brief description of the functionality being tested.
+
|description=Launch an instance on OpenStack.
 
|setup=Optionally include information on preparing the test environment
 
|setup=Optionally include information on preparing the test environment
 +
# Follow [[QA:Testcase_download_and_register_tty_images_with_OpenStack]]
 +
# Make sure the nbd kernel module is loaded so that injecting SSH key files into the filesystem on the qcow2 image works:
 +
$> sudo modprobe nbd
 +
 +
 
|actions=
 
|actions=
Be as specific as required for the target audience.  
+
Launch an instance of one of the images downloaded and registered in the previous test case.
# Start here ...
+
$> cd ~/novacreds
# Next do this ...
+
$> euca-run-instances ami-tty --kernel aki-tty --ramdisk ari-tty -k nova_key
# Finally click that
+
 
 
|results=
 
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.
+
{{admon/warning|To-do|...}}
# Step #1 completes without error
+
# The system boots into runlevel 5
+
# Program completes wth exit code 0
+
 
}}
 
}}
  
 
[[Category:OpenStack Test Cases]]
 
[[Category:OpenStack Test Cases]]
 
[[Category:Cloud SIG]]
 
[[Category:Cloud SIG]]

Revision as of 20:02, 17 October 2011

Contents

Description

Launch an instance on OpenStack.

Setup

Optionally include information on preparing the test environment

  1. Follow QA:Testcase_download_and_register_tty_images_with_OpenStack
  2. Make sure the nbd kernel module is loaded so that injecting SSH key files into the filesystem on the qcow2 image works:
$> sudo modprobe nbd 

How to test

Launch an instance of one of the images downloaded and registered in the previous test case.

$> cd ~/novacreds
$> euca-run-instances ami-tty --kernel aki-tty --ramdisk ari-tty -k nova_key

Expected Results

Warning.png
To-do
...