summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs/openshiftstoragelibs/gluster_ops.py
Commit message (Collapse)AuthorAgeFilesLines
* [Lib] Add library for peer probesusgupta2021-02-051-1/+90
| | | | | | | This lib will run peer probe cmd in run_async Change-Id: I9c541a8e80da8367dc2dbd8aa42da1e312080826 Signed-off-by: Sushil Gupta <susgupta@redhat.com>
* [LibFix] Add support for heal check of one particular volumeArun Kumar2020-07-291-5/+20
| | | | | Change-Id: Ib99aec711c2ae520a373bb2673ac58dd51c3c070 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add TC fill arbiter brick, shutdown data brick node and run ioArun Kumar2020-07-061-2/+4
| | | | | Change-Id: I36d44123db24154fe0aefc905ad2f5a5e5061558 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Lib] Add library to get the free inodes of bricksArun Kumar2020-07-061-0/+35
| | | | | Change-Id: I4ef9114a30dfd6fe18c4ba15b0cbbd32b8fc44f3 Signed-off-by: Arun Kumar <aanand01762@gmail.com>
* [Test] Add tc to validate cassandra pod when BHV brick process is downArun Kumar2020-02-201-2/+13
| | | | Change-Id: If0024c4b99eee0d0971077556b033ace5104c982
* [lib] Add lib to match PV, Heketi and get gluster vols by name prefixSushilG962020-01-241-0/+22
| | | | | | | | | | | | This contains libraries - 1. match_pv_and_heketi_volumes - library for matching heketi volumes and PVCs. 2. heketi_volume_list_by_name_prefix - library to getvolume id and cluster id. 3. match_heketi_and_gluster_volumes_by_prefix - library for matching heketi and gluster volumes. Change-Id: I02af31405a9836000d758a2ffac932be13e52a03
* [py2to3] Fix various py3 incompatibilitiesValerii Ponomarov2019-12-111-3/+3
| | | | Change-Id: I6c517278c3f8bf6f374ab60bc27768e503161278
* Add new TCs remove or delete heketi nodeNitin Goyal2019-12-051-3/+4
| | | | | | | Add new TC remove or delete node from heketi, and verify gluster peer status, bricks on the new node and heal info. Change-Id: If4b6006a4a58fd581ac9851b377a82f69ce0f30f
* Fix multiple usages of waitersValerii Ponomarov2019-09-161-0/+3
| | | | | | | | | | | | | | | | Fix consists of 2 parts: - Calculate correctly left time for waiting in 'scale_dcs_pod_amount_and_wait' function. Before, it had bug, where we were waiting less time than requested. And it led to the unexpected timeout errors. Example: it could fail waiting only 180sec having 600sec as real timeout. - Reset 'attempts' on the instantiated 'waiter's to avoid redundant waiting reusing the single waiter instance. Example. On deletion of 20 PVCs we save about 1,5 minutes. In whole test suite we create much more PVCs than 20. Change-Id: I5d06a63dd0c2c5bd67fdb09fef87948d65e6bf22
* Correct description of libraries in gluster_ops moduleNitin Goyal2019-09-061-2/+2
| | | | | | Changed the description of libraries in gluster_ops where it was wrong. Change-Id: I8ea9ec4ff1f28250d4544d6329b386271cf1e551
* Fix pep8 errors in the files of the 'openshift-storage-libs' dirValerii Ponomarov2019-09-031-3/+3
| | | | Change-Id: Iaa7deca275958d4de68601dc16d1920f3dab85f2
* Fix test cases skipped due to closed bugsvamahaja2019-08-191-1/+1
| | | | | | | | Add fix to test cases which are skipped due to bugs - BZ-1644685, BZ-1652913, BZ-1634745, BZ-1635736, BZ-1636477, BZ-1641668 Change-Id: I03a7f7dddaba5d3e41770969352b2263c84cb920 Signed-off-by: vamahaja <vamahaja@redhat.com>
* Add py3 support to our tox config and fix several incompatibilitiesValerii Ponomarov2019-04-111-2/+7
| | | | | | | | | | | | | | | | | | Required steps to run test cases using py3: 1) Install py3 2) Install 'tox' package using "pip3" 3) Run test cases using tox package installed via pip3 Note that full py3 support is not tested yet. It only allows you to run it on py3 not providing any guarantees. Example: $ python3 -m tox -e functional3 -- \ glusto -c /path/to/the/config/file.yaml \ '--pytest=-v -rsx tests -k test_glusterblock_logs' Change-Id: I610faac0b75364c401734b6f892649893ca2320e
* Reorder lib files removing redundant dir layerValerii Ponomarov2019-03-181-0/+260
Move all the files of 'cns-libs/cnslibs/common' dir to the 'openshift-storage-libs/openshiftstoragelibs', because 'common' is the only dir there, which doesn't really makes sense. And "cns" is old project name, so, replace it with "openshift-storage-libs". Also, fix all the imports of these libs. Change-Id: Ife00a73554e73b21b214b15016b0c8dbbf423446