summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor test cases CNS-797 and CNS-798Valerii Ponomarov2018-11-132-193/+193
| | | | | | | | | | | | | Do following improvements: - Calculate distributed replica vol size dynamically based on the current free space on the heketi devices. - Add check for amount of bricks. - Cleanup volume more correctly. - Check free space after deletion considering the size of deleted vol. - Rename module. - Move module out of "heketi_tests" to the parent dir called "heketi". Change-Id: I42fdfadc97157595857e5a106760391281f59a1a
* [CNS-1039] Add tc attempting to shrink PVC sizeroot2018-11-091-0/+41
| | | | | | | | | Shrink operation is not allowed for gluster volumes in OCS, so adding a test case which makes sure that the test returns an error when an attempt is made to shrink an existing PVC. Change-Id: Iab929e157d3c9324a0581b0c220aed9681ec0035 Signed-off-by: Rachael George <rgeorge@redhat.com>
* Merge "[CNS-1265] Recreate PVCs to make Gluster reuse released space"Valerii Ponomarov2018-11-071-0/+95
|\
| * [CNS-1265] Recreate PVCs to make Gluster reuse released spaceValerii Ponomarov2018-11-021-0/+95
| | | | | | | | | | | | | | | | Create and delete lots of volumes so summary vol size is bigger than total available size making sure Gluster really reuses space of deleted volumes. Change-Id: I3cdc85df488a66cfed55c92438a126736dc06ff2
* | Merge "Add test cases for gluster-block"Valerii Ponomarov2018-11-062-1/+110
|\ \
| * | Add test cases for gluster-blockAshmitha Ambastha2018-11-072-1/+110
| |/ | | | | | | | | Change-Id: I5ce399b39201dfb09d4ad459a039d938596a71e4 Signed-off-by: Ashmitha <asambast@redhat.com>
* | Merge "test cases for heketi metrics"Valerii Ponomarov2018-11-065-1/+330
|\ \
| * | test cases for heketi metricsnigoyal2018-11-065-1/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CNS-1243 - Heketi_metrics_generate CNS-1244 - Heketi_metrics_validating_VolumeCount_on_creation CNS-1245 - Heketi_metrics_validating_VolumeCount_on_deletion CNS-1262 - Heketi-metrics_validating_heketi_pod failure Change-Id: Idb863d1ceaf555dfc2a9cff863b97cda65a816f6 Signed-off-by: nigoyal <nigoyal@redhat.com>
* | | [CNS-1391] test case Retain policy - gluster-blocknigoyal2018-11-061-8/+77
|/ / | | | | | | | | | | it is veryfying the retain policy of gluster-block pvc Change-Id: Id69ce61e5d9f040133d25e88c504e6755a9f03fb
* | Merge "[CNS-584] [CNS-1390] test cases for glusterfs"Valerii Ponomarov2018-11-063-10/+117
|\ \
| * | [CNS-584] [CNS-1390] test cases for glusterfsnigoyal2018-11-063-10/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CNS-584 Verify PVC deletion while pod is running This test case is verifying the glusterfs pvc deletion while pod is running and expectation is that pvc should not delete CNS-1390 - Retain policy - glusterfs - delete pvc This test case is verifying the retain policy of pvc and expectation is that when we delete pvc pv should not get deleted. Change-Id: Idefa36afdd8bc80835631863370273b4c86bccfc
* | | [CNS-926] test case for custom volname prefixnigoyal2018-11-062-17/+48
|/ / | | | | | | | | | | | | | | CNS-926 - custom_volname_prefix_blockvol This test case is verifying the volume name prefix option in storage class Change-Id: I738e97520670bae19b7582217a98c2769b78808f Signed-off-by: nigoyal <nigoyal@redhat.com>
* | [CNS-1393-1395] Restart gluster services then validate volumesvamahaja2018-11-055-3/+441
| | | | | | | | | | Change-Id: I58f8628c352556ac30c31777707b52cc2aea48ac Signed-off-by: vamahaja <vamahaja@redhat.com>
* | Merge "[CNS-1392] Recreate app POD with attached block pv"Valerii Ponomarov2018-11-051-0/+25
|\ \
| * | [CNS-1392] Recreate app POD with attached block pvValerii Ponomarov2018-11-021-0/+25
| |/ | | | | | | | | | | | | We should be able to recreate application PODs when Gluster block volume is attached to it. Change-Id: Iad240925ba43db11ab84863f182e282253789924
* / [CNS-574] Attach PVC to multiple app PODsValerii Ponomarov2018-11-022-69/+88
|/ | | | | | | Make sure we are able to attach file-volumes to several application PODs at once. Change-Id: If53e75d6de51f05e47e3f936ba62996b05a833c6
* Merge "[CNS-544][CNS-545] Added test cases for storage class parameters"Valerii Ponomarov2018-11-023-8/+194
|\
| * [CNS-544][CNS-545] Added test cases for storage class parametersvamahaja2018-11-023-8/+194
| | | | | | | | | | Change-Id: Iae63d250d4e0277ee7559e73df6114faf918c283 Signed-off-by: vamahaja <vamahaja@redhat.com>
* | Merge "CNS: adding testcase CNS-450 - Restart heketi pod"Krishnaram Karthick Ramdoss2018-11-023-1/+66
|\ \
| * | CNS: adding testcase CNS-450 - Restart heketi podApeksha D Khakharia2018-10-313-1/+66
| | | | | | | | | | | | | | | Change-Id: Ie68628cb0f083fd5cd1ec9cd88a4c490bfca2e88 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | Merge "CNS: CNS-542 Restart gluster-block provisioner pod"Valerii Ponomarov2018-10-311-0/+45
|\ \ \ | |_|/ |/| |
| * | CNS: CNS-542 Restart gluster-block provisioner podApeksha D Khakharia2018-10-311-0/+45
| |/ | | | | | | | | Change-Id: Icb843c2d001ac707a7bf1fce177cb4fb63d386a9 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "[CNS-921] Try to create PVC with underscore in the vol name prefix"Valerii Ponomarov2018-10-311-1/+2
|\ \
| * | [CNS-921] Try to create PVC with underscore in the vol name prefixValerii Ponomarov2018-10-291-1/+2
| |/ | | | | | | | | | | | | Add test case which checks that we are not able to create PVC which has underscore symbol ("_") in the custom volume name prefix. Change-Id: I24aa3918371627df890c3996da36d8931d01dd3c
* | Merge "[CNS-765] Read and validate heketi device info"Valerii Ponomarov2018-10-311-0/+71
|\ \ | |/ |/|
| * [CNS-765] Read and validate heketi device infoValerii Ponomarov2018-10-251-0/+71
| | | | | | | | | | | | | | We expect some set of data in the heketi device info API response. So, get list of devices and check that their data satisfy our criteria. Change-Id: I984f993ad7d0adca1b9a722cf0193b6db3d486b7
* | Merge "CNS: adding testcases for storage class block"Krishnaram Karthick Ramdoss2018-10-291-38/+63
|\ \
| * | CNS: adding testcases for storage class blockApeksha D Khakharia2018-10-271-38/+63
| | | | | | | | | | | | | | | | | | | | | CNS-725, 727, 728 Change-Id: I6fb8858c018f02b06cd6d011cb01939505de6d19 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | CNS[716] add testcase for sc mandatory parameters blockApeksha D Khakharia2018-10-261-7/+17
| | | | | | | | | | | | | | | Change-Id: Ia289806f9f26ba12eb3df079603d3ba660f7c4a4 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | Merge "CNS-764 test functionality of device enable using heketi-cli"Krishnaram Karthick Ramdoss2018-10-251-0/+245
|\ \ \ | |_|/ |/| |
| * | CNS-764 test functionality of device enable using heketi-cliMadhu Rajanna2018-10-251-0/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | This test cases test the functionality of device enable from heketi-cli Signed-off-by: Madhu Rajanna <mrajanna@redhat.com> Change-Id: Id0b3779eb5130e7d2d14ee6722a8b1c54fc9d830 Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
* | | Merge "CNS: CNS-438 DynamicProvisioning_GlusterFile_heketiDown_PVC_Delete"Valerii Ponomarov2018-10-251-1/+41
|\ \ \
| * | | CNS: CNS-438 DynamicProvisioning_GlusterFile_heketiDown_PVC_DeleteApeksha D Khakharia2018-10-251-1/+41
| | | | | | | | | | | | | | | | | | | | Change-Id: I08da2de80d77c1c3f4ab66d2d983a6730d900bfb Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | | Merge "[CNS-1040] Resize PVC exceeding available free space"Valerii Ponomarov2018-10-252-21/+161
|\ \ \ \ | |/ / / |/| | |
| * | | [CNS-1040] Resize PVC exceeding available free spaceValerii Ponomarov2018-10-242-21/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that after failed attempt of PVC resize application POD continues to work and we are able to write data. Change-Id: I1dda1e4698ca4e569aa67740c2e9a5dca9a4e7bf
* | | | Merge "[CNS-989,997] Create arbiter vol setting 'required' tag"Valerii Ponomarov2018-10-241-7/+87
|\ \ \ \ | |/ / / |/| | |
| * | | [CNS-989,997] Create arbiter vol setting 'required' tagValerii Ponomarov2018-10-171-7/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create arbiter volumes after setting "arbiter:required" tag either to one node or its devices. All other nodes or their devices are set with "arbiter:disabled" tag. Change-Id: Ie5f26e194f97b2a0923132c485b445ead9672843
* | | | CNS-439: adding heketi_down_pvc_delete caseApeksha D Khakharia2018-10-242-5/+49
| | | | | | | | | | | | | | | | | | | | Change-Id: Id3b679cf3193b36bfd10fc498fb0ba930c5d2536 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | | | Merge "Fix all existing pep8 errors"Valerii Ponomarov2018-10-2412-97/+95
|\ \ \ \
| * | | | Fix all existing pep8 errorsValerii Ponomarov2018-10-2312-97/+95
| | | | | | | | | | | | | | | | | | | | Change-Id: I97c949614ca70ea3e732c8c2ca70022d062ad04c
* | | | | Merge "[CNS-1182-1190] Create arbiter volumes specifying avg file size"Valerii Ponomarov2018-10-241-2/+98
|\ \ \ \ \ | | |/ / / | |/| | / | |_|_|/ |/| | |
| * | | [CNS-1182-1190] Create arbiter volumes specifying avg file sizeValerii Ponomarov2018-10-171-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add data-driven test case where we create arbiter volume and verify that we are able to create expected amount of files on arbiter brick mounts. Change-Id: I9c719be01be24f4a92d1ed73ee9f1e71ee11bb88
* | | | Merge "[CNS-942] Add distributed arbiter vol creation"Valerii Ponomarov2018-10-231-21/+154
|\| | | | |/ / |/| |
| * | [CNS-942] Add distributed arbiter vol creationValerii Ponomarov2018-10-171-21/+154
| | | | | | | | | | | | Change-Id: I9935e067257dbf8f1e267e13efb72b1b0b3cf772
* | | Merge "CNS:CNS-753 CNS-754 enable and disable node"Valerii Ponomarov2018-10-221-0/+140
|\ \ \
| * | | CNS:CNS-753 CNS-754 enable and disable nodeMadhu Rajanna2018-10-221-0/+140
| | |/ | |/| | | | | | | | | | Change-Id: I00586ecd7ac2270721194542c07f51d2ca5ef807 Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
* | | Merge "[CNS-550] Try to create block volume exceeding free space"Valerii Ponomarov2018-10-222-2/+40
|\ \ \
| * | | [CNS-550] Try to create block volume exceeding free spaceValerii Ponomarov2018-10-182-2/+40
| | |/ | |/| | | | | | | | | | | | | | | | Validate behaviour of the system when we try to create block volume of size bigger than we have available free space. Change-Id: I754e09f7fc27ce9b7ac2b01dda163ce20573e963
* | | Merge "CNS: adding libraries and 2 testcases for pv resize"Valerii Ponomarov2018-10-185-6/+507
|\ \ \ | |/ / |/| |
| * | CNS: adding libraries and 2 testcases for pv resizeApeksha D Khakharia2018-10-185-6/+507
| | | | | | | | | | | | | | | Change-Id: Idae22a28e4da867fd0567cbec49760d6f3a374f6 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>