From Fedora Project Wiki

Revision as of 11:19, 5 March 2012 by Pbrady (talk | contribs)

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

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.