From Fedora Project Wiki

(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...")
 
mNo edit summary
 
(26 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=A brief description of the functionality being tested.
|description=Test adding an SSH key pair to an account.
|setup=Optionally include information on preparing the test environment
|setup=
Setup keystone credentials:
$> . ./keystonerc
 
|actions=
|actions=
Be as specific as required for the target audience.  
Add the key pair:
# Start here ...
$> nova keypair-add nova_key > nova_key.priv
# Next do this ...
 
# Finally click that
Change its permissions:
$> chmod 600 nova_key.priv
|results=
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.
* Check that the key is registered:
# Step #1 completes without error
$> nova keypair-list
# The system boots into runlevel 5
* Check that <code>nova_key.priv</code> actually contains a key
# Program completes wth exit code 0
* Check for errors in <code>/var/log/nova/*.log</code>
}}
}}


[[Category:OpenStack Test Cases]]
[[Category:OpenStack Test Cases]]
[[Category:Cloud SIG]]

Latest revision as of 08:20, 18 September 2012

Description

Test adding an SSH key pair to an account.

Setup

Setup keystone credentials:

$> . ./keystonerc 

How to test

Add the key pair:

$> nova keypair-add nova_key > nova_key.priv

Change its permissions:

$> chmod 600 nova_key.priv

Expected Results

  • Check that the key is registered:
$> nova keypair-list
  • Check that nova_key.priv actually contains a key
  • Check for errors in /var/log/nova/*.log