aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/cinder
AgeCommit message (Collapse)AuthorFilesLines
2018-07-11Clean all possible resourcesCédric Ollivier1-5/+8
It checks all openstack resources before cleaning. It allows removing images even if the test fail quickly. Change-Id: I1763b8a70fa7ffeb03c435e8e775c7afd1a7adac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Run script only if volume device is foundDelia Popescu2-2/+2
Add back volume device name search on instance. If vol is not attached script should not run. In the current state, if volume is not found, write_data returns positive result and read_data cannot find any new file Change-Id: Ifaa8af1e6d5c66f5ac776c83bebde526e77a9fd8 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-07-05Set timeout for create, attach and detach volumeDelia Popescu1-4/+9
Without timeout for volume opperations the testcase will fail only after functest timeout Change-Id: I669c7933846574c09fc7db06a2a2ce7d101a44f5 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-06-29Remove floating ip of second instance in cinder testcaseDelia Popescu1-1/+1
Change-Id: I30e30f1d35bb83984b63d7308331fc7bfee53955 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-06-24Fix hardcoded values in cinder_testCédric Ollivier4-331/+55
Only Fuel attaches a kdrive in all cases and then increase the device numbers. cinder_test now leverages on VOLUME_DEVICE_NAME as tempest. It also updates the testcase to leverage on the right scenario. Change-Id: Ib5cd17f69411f608f1b79e704604dc481581ebe0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-05-31Update read and write data path in cinder testDelia Popescu2-13/+20
Update the path for read/write data Fix a false possitive result on read_data Fix read device name Unmount volume after writing data JIRA: FUNCTEST-908 Change-Id: I555b5a3daaeff3aa58891e65c0b70094372c04c9 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-05-25Add cinder_test testcaseDelia Popescu5-0/+439
Create 2 instances with Floating IPs Attach data volume to instance 1 Write data on the volume Detach volume from instance 1 Attach volume to instance 2 Read data from volume JIRA: FUNCTEST-908 Change-Id: I10efdfb3b7f9d7e6ab5c6a538052437585d52fb0 Signed-off-by: Delia Popescu <delia.popescu@enea.com>