QA:Testcase Create Cinder Volumes

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{QA/Test_Case |description=Setup required for the OpenStack Volumes. |setup=Follow QA:Testcase_install_OpenStack_packages. |actions= In the Folsom release of OpenStack,...")
 
(remove reference to 'install packages' test case, current instructions use openstack-demo-install)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
 
|description=Setup required for the OpenStack Volumes.
 
|description=Setup required for the OpenStack Volumes.
|setup=Follow [[QA:Testcase_install_OpenStack_packages]].
 
  
 
|actions=
 
|actions=

Revision as of 18:43, 18 September 2012

Description

Setup required for the OpenStack Volumes.


How to test

In the Folsom release of OpenStack, the nova-volume service was deprecated by the split out cinder service.

To create the cinder-volumes Volume Group for the openstack-cinder-volume service

sudo truncate -s20G /var/lib/cinder/cinder-volumes.img
sudo vgcreate cinder-volumes $(sudo losetup --show -f /var/lib/cinder/cinder-volumes.img)

Because the volume service is dependent on the volume group being available, it's not started by default, so to do that:

sudo service openstack-cinder-volume start

Note! None of the above commands are persistent across reboots, so please rerun them after reboot, or configure them to run automatically on reboot.

Expected Results

Check that no errors are reported in /var/log/cinder/* or by this command:

sudo service openstack-cinder-volume status