QA:Testcase start OpenStack Nova services

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{QA/Test_Case |description=A brief description of the functionality being tested. |setup=Optionally include information on preparing the test environment |actions= Be as specifi...")
 
(remove from cloud SIG category)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=A brief description of the functionality being tested.
+
|description=Test that the various Nova services start without error.
|setup=Optionally include information on preparing the test environment
+
|setup=Follow [[QA:Testcase_start_OpenStack_Glance_services]].
 +
 
 
|actions=
 
|actions=
Be as specific as required for the target audience.  
+
Configure nova to use keystone auth:
# Start here ...
+
$> sudo openstack-config-set /etc/nova/nova.conf DEFAULT auth_strategy keystone
# Next do this ...
+
$> sudo openstack-config-set /etc/nova/api-paste.ini filter:authtoken admin_tenant_name service
# Finally click that
+
$> sudo openstack-config-set /etc/nova/api-paste.ini filter:authtoken admin_user nova
 +
$> sudo openstack-config-set /etc/nova/api-paste.ini filter:authtoken admin_password servicepass
 +
 
 +
Start the services:
 +
$> for svc in api cert compute network objectstore scheduler volume; do sudo systemctl start openstack-nova-$svc.service; done
 +
$> for svc in api cert compute network objectstore scheduler volume; do sudo systemctl enable openstack-nova-$svc.service; done
 +
 
 
|results=
 
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.  
+
Check that the services are running:
# Step #1 completes without error
+
$> for svc in api cert compute network volume scheduler; do sudo systemctl status openstack-nova-$svc.service; done
# The system boots into runlevel 5
+
And check for errors in the logs:
# Program completes wth exit code 0
+
$> grep -i error /var/log/nova/*.log
 +
Make sure the API server is responding:
 +
$> nova flavor-list
 +
 
 
}}
 
}}
  
 
[[Category:OpenStack Test Cases]]
 
[[Category:OpenStack Test Cases]]
[[Category:Cloud SIG]]
 

Latest revision as of 06:17, 25 April 2012

Contents

Description

Test that the various Nova services start without error.

Setup

Follow QA:Testcase_start_OpenStack_Glance_services.

How to test

Configure nova to use keystone auth:

$> sudo openstack-config-set /etc/nova/nova.conf DEFAULT auth_strategy keystone
$> sudo openstack-config-set /etc/nova/api-paste.ini filter:authtoken admin_tenant_name service
$> sudo openstack-config-set /etc/nova/api-paste.ini filter:authtoken admin_user nova
$> sudo openstack-config-set /etc/nova/api-paste.ini filter:authtoken admin_password servicepass

Start the services:

$> for svc in api cert compute network objectstore scheduler volume; do sudo systemctl start openstack-nova-$svc.service; done
$> for svc in api cert compute network objectstore scheduler volume; do sudo systemctl enable openstack-nova-$svc.service; done

Expected Results

Check that the services are running:

$> for svc in api cert compute network volume scheduler; do sudo systemctl status openstack-nova-$svc.service; done

And check for errors in the logs:

$> grep -i error /var/log/nova/*.log

Make sure the API server is responding:

$> nova flavor-list