QA:Testcase start OpenStack Nova services

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|description=Test that the various Nova services start without error.
 
|description=Test that the various Nova services start without error.
 
|setup=Follow [[QA:Testcase_start_OpenStack_Glance_services]].
 
|setup=Follow [[QA:Testcase_start_OpenStack_Glance_services]].
 
Create a nova-volumes Volume Group for the openstack-nova-volume service
 
 
$> sudo truncate -s20G /var/lib/nova/nova-volumes.img
 
$> sudo vgcreate nova-volumes $(sudo losetup --show -f /var/lib/nova/nova-volumes.img)
 
 
If you are testing OpenStack in a virtual machine, you need to configure nova to use qemu without KVM and hardware virtualization:
 
 
$> openstack-config-set /etc/nova/nova.conf DEFAULT libvirt_type qemu
 
 
Set up the nova MySQL database:
 
 
$> sudo openstack-nova-db-setup
 
  
 
|actions=
 
|actions=

Revision as of 11:11, 5 March 2012

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 cert compute network volume scheduler; do sudo systemctl start openstack-nova-$svc.service; done
$> for svc in api cert compute network volume scheduler; 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:

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