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...")
 
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.
+
Start the services:
# Start here ...
+
$> for svc in api objectstore compute network volume scheduler; do sudo service openstack-nova-$svc start; done
# Next do this ...
+
$> for svc in api objectstore compute network volume scheduler; do sudo chkconfig openstack-nova-$svc on; done
# Finally click that
+
 
|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 objectstore compute network volume scheduler; do sudo service openstack-nova-$svc status; 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:
 +
$> curl -v -H 'Accept: application/json' http://localhost:8774/v1.1/
 
}}
 
}}
  
 
[[Category:OpenStack Test Cases]]
 
[[Category:OpenStack Test Cases]]
 
[[Category:Cloud SIG]]
 
[[Category:Cloud SIG]]

Revision as of 14:27, 17 October 2011

Contents

Description

Test that the various Nova services start without error.

Setup

Follow QA:Testcase_start_OpenStack_Glance_services.

How to test

Start the services:

$> for svc in api objectstore compute network volume scheduler; do sudo service openstack-nova-$svc start; done
$> for svc in api objectstore compute network volume scheduler; do sudo chkconfig openstack-nova-$svc on; done

Expected Results

Check that the services are running:

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

And check for errors in the logs:

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

Make sure the API server is responding:

$> curl -v -H 'Accept: application/json' http://localhost:8774/v1.1/