From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Test that the Glance API and registry services start without error.
|description=Test that the Glance API and registry services start without error.
|setup=Follow [[QA:Testcase_install_OpenStack_packages]].
|setup=Follow [[QA:Testcase_setup_OpenStack_Nova]].
|actions=
|actions=
Start and enable the Glance API and registry services:
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 systemctl start openstack-glance-$svc.service; done
  $> for svc in api registry; do sudo chkconfig openstack-glance-$svc on; done
  $> for svc in api registry; do sudo systemctl enable openstack-glance-$svc.service; done
|results=
|results=
Check that the services are running:
Check that the services are running:

Revision as of 11:19, 5 March 2012

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.