QA:Testcase start OpenStack Glance services
From FedoraProject
(Difference between revisions)
| Line 3: | Line 3: | ||
|setup=Follow [[QA:Testcase_setup_OpenStack_Nova]]. | |setup=Follow [[QA:Testcase_setup_OpenStack_Nova]]. | ||
|actions= | |actions= | ||
| + | |||
| + | * Change glance configuration to use keystone: | ||
| + | $> . ./keystonerc | ||
| + | $> sudo openstack-config-set /etc/glance/glance-api.conf paste_deploy flavor keystone | ||
| + | $> sudo openstack-config-set /etc/glance/glance-registry.conf paste_deploy flavor keystone | ||
| + | $> sudo openstack-config-set /etc/glance/glance-api-paste.ini filter:authtoken admin_token $ADMIN_TOKEN | ||
| + | $> sudo openstack-config-set /etc/glance/glance-registry-paste.ini filter:authtoken admin_token $ADMIN_TOKEN | ||
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 systemctl start openstack-glance-$svc.service; done | $> 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 | $> for svc in api registry; do sudo systemctl enable openstack-glance-$svc.service; done | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|results= | |results= | ||
Revision as of 10:09, 8 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
- Change glance configuration to use keystone:
$> . ./keystonerc $> sudo openstack-config-set /etc/glance/glance-api.conf paste_deploy flavor keystone $> sudo openstack-config-set /etc/glance/glance-registry.conf paste_deploy flavor keystone $> sudo openstack-config-set /etc/glance/glance-api-paste.ini filter:authtoken admin_token $ADMIN_TOKEN $> sudo openstack-config-set /etc/glance/glance-registry-paste.ini filter:authtoken admin_token $ADMIN_TOKEN
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 glance CLI works:
$> glance index
And check for errors in the logs:
$> grep -i error /var/log/glance/*.log