QA:Testcase register images with OpenStack

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
  
 
Check for errors in nova logs.
 
Check for errors in nova logs.
  $> grep -i error /var/log/nova/*.log /var/log/glance/*.log
+
  $> grep -i error /var/log/{nova,glance}/*.log
 
}}
 
}}
  
 
[[Category:OpenStack Test Cases]]
 
[[Category:OpenStack Test Cases]]
 
[[Category:Cloud SIG]]
 
[[Category:Cloud SIG]]

Revision as of 17:58, 20 October 2011

Contents

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 | tar -xzv
$> cd .. 

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,glance}/*.log