From Fedora Project Wiki

Revision as of 17:55, 17 October 2011 by Russellb (talk | contribs)

Description

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

Setup

Follow QA:Testcase_install_OpenStack_packages.

How to test

Start and enable the Glance API and registry services:

$> for svc in api registry; do sudo service openstack-glance-$svc start; done
$> for svc in api registry; do sudo chkconfig openstack-glance-$svc on; 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

Check that the CLI can contact the API service:

$> glance index
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.