QA:Testcase add SSH keypair to OpenStack
From FedoraProject
(Difference between revisions)
(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...") |
m |
||
| (26 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
| − | |description= | + | |description=Test adding an SSH key pair to an account. |
| − | |setup= | + | |setup= |
| + | Setup keystone credentials: | ||
| + | $> . ./keystonerc | ||
| + | |||
|actions= | |actions= | ||
| − | + | Add the key pair: | |
| − | + | $> nova keypair-add nova_key > nova_key.priv | |
| − | + | ||
| − | + | Change its permissions: | |
| + | $> chmod 600 nova_key.priv | ||
|results= | |results= | ||
| − | + | * Check that the key is registered: | |
| − | + | $> nova keypair-list | |
| − | + | * Check that <code>nova_key.priv</code> actually contains a key | |
| − | + | * Check for errors in <code>/var/log/nova/*.log</code> | |
}} | }} | ||
[[Category:OpenStack Test Cases]] | [[Category:OpenStack Test Cases]] | ||
| − | |||
Latest revision as of 08:20, 18 September 2012
Contents |
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.privactually contains a key - Check for errors in
/var/log/nova/*.log