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...")
 
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=A brief description of the functionality being tested.
|description=Test downloading and registering images with OpenStack.
|setup=Optionally include information on preparing the test environment
|setup=
# Follow [[QA:Testcase_add_SSH_keypair_to_OpenStack]]
# Download the set of images commonly used by OpenStack developers for testing.
 
$> mkdir images
$> cd images
$> curl http://images.ansolabs.com/tty.tgz | tar xvfzo -
$> cd ..
 
|actions=
|actions=
Be as specific as required for the target audience.  
 
# Start here ...
# Register the images.
# Next do this ...
 
# Finally click that
$> sudo nova-manage image convert images/
 
|results=
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.  
Verify that 3 images have been registered.
# Step #1 completes without error
$> glance index
# The system boots into runlevel 5
ID              Name                          Disk Format          Container Format    Size         
# Program completes wth exit code 0
---------------- ------------------------------ -------------------- -------------------- --------------
3                ami-tty                        ami                  ami                        25165824
2                ari-tty                        ari                  ari                        5882349
1               aki-tty                        aki                  aki                        4404752
 
Check for errors in nova logs.
$> grep -i error /var/log/nova/*.log
}}
}}


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

Revision as of 19:21, 17 October 2011

Description

Test downloading and registering images with OpenStack.

Setup

  1. Follow QA:Testcase_add_SSH_keypair_to_OpenStack
  2. Download the set of images commonly used by OpenStack developers for testing.
$> mkdir images
$> cd images
$> curl http://images.ansolabs.com/tty.tgz 

How to test

  1. Register the images.
$> sudo nova-manage image convert images/

Expected Results

Verify that 3 images have been registered.

$> glance index
ID               Name                           Disk Format          Container Format     Size          
---------------- ------------------------------ -------------------- -------------------- --------------
3                ami-tty                        ami                  ami                        25165824
2                ari-tty                        ari                  ari                         5882349
1                aki-tty                        aki                  aki                         4404752

Check for errors in nova logs.

$> grep -i error /var/log/nova/*.log