From Fedora Project Wiki

(add link to known issue about missing dependency on python-amqplib)
No edit summary
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 not to probe the BIOS for
Hardware assisted virtualization support
$> <nowiki>echo '--libvirt_type=qemu' | sudo tee -a /etc/nova/nova.conf</nowiki>
|actions=
|actions=
Start the services:
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 service openstack-nova-$svc start; done
  $> for svc in api objectstore compute network volume scheduler; do sudo chkconfig openstack-nova-$svc on; done
  $> for svc in api objectstore compute network volume scheduler; do sudo chkconfig openstack-nova-$svc on; done
|results=
|results=
Check that the services are running:
Check that the services are running:
Line 14: Line 27:
  $> curl -v -H 'Accept: application/json' http://localhost:8774/v1.1/
  $> curl -v -H 'Accept: application/json' http://localhost:8774/v1.1/


Known issues:
# [https://bugzilla.redhat.com/746685 #746685 - missing dependency on python-amqplib]
}}
}}


[[Category:OpenStack Test Cases]]
[[Category:OpenStack Test Cases]]
[[Category:Cloud SIG]]
[[Category:Cloud SIG]]

Revision as of 10:02, 19 October 2011

Description

Test that the various Nova services start without error.

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 not to probe the BIOS for Hardware assisted virtualization support

$> echo '--libvirt_type=qemu' | sudo tee -a /etc/nova/nova.conf 

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/