(Created page with "{{QA/Test_Case |description=Provide nova-volumes to compute instances [http://docs.openstack.org/trunk/openstack-compute/admin/content/managing-volumes.html Nova-volume] is a se...") |
(adjust to working device names. will expand on tests later) |
||
Line 30: | Line 30: | ||
(note -d is the device on the compute node) | (note -d is the device on the compute node) | ||
$> euca-attach-volume -i i-00000001 -d /dev/ | $> euca-attach-volume -i i-00000001 -d /dev/vdc vol-00000001 | ||
|results= | |results= | ||
ssh to the instance and verify that the | ssh to the instance and verify that the vdd device | ||
is | is listed in /proc/partitions | ||
}} | }} | ||
[[Category:OpenStack Test Cases]] | [[Category:OpenStack Test Cases]] | ||
[[Category:Cloud SIG]] | [[Category:Cloud SIG]] |
Revision as of 08:54, 20 October 2011
Description
Provide nova-volumes to compute instances
Nova-volume is a service that allows you to give extra block level storage to your OpenStack Compute instances (using iSCSI and LVM)
Setup
Start the SCSI target daemon
$> sudo service tgtd start $> sudo chkconfig tgtd on
Ensure the nova-volume service is enabled
$> sudo nova-manage service list
How to test
Create a new 5GB volume
$> euca-create-volume -s 5 -z nova
View status of volumes, and wait for it to become 'available'
$> euca-describe-volumes
Make the storage available to the instance (note -d is the device on the compute node)
$> euca-attach-volume -i i-00000001 -d /dev/vdc vol-00000001
Expected Results
ssh to the instance and verify that the vdd device is listed in /proc/partitions