QA:Testcase start OpenStack Glance services

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m (Remove "glance index" - due to keystone configuration issues prior)
Line 11: Line 11:
 
And check for errors in the logs:
 
And check for errors in the logs:
 
  $> grep -i error /var/log/glance/*.log
 
  $> grep -i error /var/log/glance/*.log
Check that the CLI can contact the API service:
 
$> glance index
 
 
{{admon/note|Note|If everything is working as expected, you will get no output from this command, assuming that you have just installed Glance and have not yet added any images.}}
 
{{admon/note|Note|If everything is working as expected, you will get no output from this command, assuming that you have just installed Glance and have not yet added any images.}}
 
}}
 
}}

Revision as of 09:42, 7 March 2012

Contents

Description

Test that the Glance API and registry services start without error.

Setup

Follow QA:Testcase_setup_OpenStack_Nova.

How to test

Start and enable the Glance API and registry services:

$> for svc in api registry; do sudo systemctl start openstack-glance-$svc.service; done
$> for svc in api registry; do sudo systemctl enable openstack-glance-$svc.service; done

Expected Results

Check that the services are running:

$> for svc in api registry; do sudo service openstack-glance-$svc status; done

And check for errors in the logs:

$> grep -i error /var/log/glance/*.log
Note.png
Note
If everything is working as expected, you will get no output from this command, assuming that you have just installed Glance and have not yet added any images.