From Fedora Project Wiki

No edit summary
No edit summary
Line 13: Line 13:
Check that the CLI can contact the API service:
Check that the CLI can contact the API service:
  $> glance index
  $> 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.}}
}}
}}


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

Revision as of 17:55, 17 October 2011

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.