summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Creation of clone from snapshot of one volumesrivickynesh2018-04-301-0/+248
| | | | | Change-Id: Ice1e7139613c0d2f15c95e86e6c1e7b595d390a5 Signed-off-by: srivickynesh <sselvan@redhat.com>
* Test Self-Heal of Symbolic Links (heal command)Vitalii Koriakov2018-04-301-0/+245
| | | | | Change-Id: Ie4a4b323e2b7e57e3896550b6f9b7db28fba03b7 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Remove logical error in CVT testNigel Babu2018-04-261-8/+0
| | | | | | | | This step is not needed at all. It appears to be a copy-paste error or some sort of mistake. Missed it through review and a few rounds of debugging Change-Id: I232f68c846ebf18a106554c1b0214748f2cdc391
* Fix cyclic import in brickmux_ops.pyNigel Babu2018-04-252-19/+13
| | | | Change-Id: I487822efd6c57b8c51b65b4eaf149eb67e96731b
* Opening firewall ports for rhel7Rajesh Madaka2018-04-251-0/+45
| | | | | Change-Id: I06194cd8968e0beb1dbd0815deaa999fc409272c Signed-off-by: Rajesh Madaka <rmadaka@redhat.com>
* Added reboot_nodes methodVitalii Koriakov2018-04-251-21/+39
| | | | | Change-Id: I72e9023125f654f3a04e96243a94218461c934da Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Test self heal of files with different file types with deafult configurationVitalii Koriakov2018-04-231-0/+193
| | | | | Change-Id: I84b789f9c0204ca0f0efb40a9a01215902c0ee1d Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Adding snapshot delete testcasesrivickynesh2018-04-231-0/+196
| | | | | Change-Id: Ide757078782ad5337d501f3c3ca39036910d995b Signed-off-by: srivickynesh <sselvan@redhat.com>
* Test data self-heal of files when "self-heal-algorithm" option value is ↵Vitalii Koriakov2018-04-201-0/+148
| | | | | | | "full" (default) Change-Id: If916d20b0d7c9ded6fb1fc929d9ff1e7719d9594 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Test data self-heal of files when "self-heal-algorithm" option value is ↵Vitalii Koriakov2018-04-201-0/+150
| | | | | | | "diff" (default) Change-Id: I34a196e8fc764d87e877a082be2b0575bb1b3b40 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Test data self-heal of files when "self-heal-algorithm" option value is ↵Vitalii Koriakov2018-04-201-0/+204
| | | | | | | "diff" (heal command) Change-Id: Id310e0c17a872d8586ad8c7de79f1f68b93edb0a Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Test case for Verifying checksum of mountpointRajesh Madaka2018-04-201-0/+179
| | | | | | | | | before and after changing network ping timeout Desc: Change-Id: I8f3636cd899e536d2401a8cd93b98bf66ceea0f7 Signed-off-by: Rajesh Madaka <rmadaka@redhat.com>
* Standalone script which runs the tools that generate data into the systemArthy Loganathan2018-04-201-0/+521
| | | | | Change-Id: I4c5a9baa1178a3fec4863e7cb7a81493ee4a52f7 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Test brick process should not be started on read only storage_node disksVitalii Koriakov2018-04-191-3/+171
| | | | | Change-Id: Id0d9e468aaf0061e9ff0f5cc534c06017e97b793 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Test volume set option data-self-healVitalii Koriakov2018-04-191-0/+434
| | | | | Change-Id: I1e0e291954533e602a50d3f6c25365bb0b68b926 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Library to check brick pid matches pid of glusterfsd when brick mux feature ↵Akarsha2018-04-191-0/+46
| | | | | | | is enabled Change-Id: Id8d42c72548d618ac7bd1563ca2035018b7c2c99 Signed-off-by: Akarsha <akrai@redhat.com>
* Library to bring bricks specified in the brick_list online when brick mux is ↵Akarsha2018-04-181-1/+14
| | | | | | | enabled Change-Id: I0ae0d45050501154e9cd69c0d3dc9e915ae21b3a Signed-off-by: Akarsha <akrai@redhat.com>
* Library to bring the bricks specified in the brick_list offline when brick ↵Akarsha2018-04-181-1/+41
| | | | | | | mux is enabled Change-Id: Ibf77bb30f5ead4b208337d0a9f2d5b42a6875ded Signed-off-by: Akarsha <akrai@redhat.com>
* Fix pylint failures on masterNigel Babu2018-04-172-57/+52
| | | | Change-Id: I43a5b87c4acfd3df9483ca869d926714325ae1b9
* Checking nodes goes offline or not after rebootAkarsha Rai2018-04-171-5/+19
| | | | | Change-Id: I59d3dc6da29eeefb9b1025cf9cf2b2540ea33d4e Signed-off-by: Akarsha Rai <akrai@redhat.com>
* Adding function to enable brick muxAkarsha2018-04-171-0/+16
| | | | | Change-Id: Id1396eb5211f1e189b603fcab916711dbceb30af Signed-off-by: Akarsha <akrai@redhat.com>
* glustolibs/gluster/glusterfile: rpyc connection function callKartik_Burmee2018-04-161-1/+1
| | | | | | | | | | | | | | changed get_connection to rpyc_get_connection. executed a test case after this change and got this error - "error while loading shared libraries: libglusterfs.so.0 cannot open shared object file: No such file or directory". solved this path issue by adding shared library to system library path on my machine. Not sure if it'll be a common issue for everyone using this module. Change-Id: Id52df4b17bc3d30b808bb1eb77c87b03c3ed2f7b Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
* Adding functions to form_bricks_list_to_add_bricks, remove_brick and ↵ShwethaHP2018-04-161-137/+378
| | | | | | | | | replace_brick. Replaced the expand_volume, shrink_volume to also make use of these functions. Change-Id: Ic5afdb90dc939cdc9b76a7b3f8e3d1cf0108b58e Signed-off-by: ShwethaHP <spandura@redhat.com>
* Optimized imports and updated commentsMiroslav Asenov2018-04-161-22/+43
| | | | Change-Id: Ib9f4ca5cda02ac1fe66a5c7cdc599255f2fadb4d
* Added test case - dht rename directoryMiroslav Asenov2018-04-161-0/+273
| | | | Change-Id: I243a8ecf57483c20e5060351a9f24e7687ccdcf4
* Test client side quorum with auto option for a x2 volume and client quorum ↵Vitalii Koriakov2018-03-281-0/+285
| | | | | | | as auto first brick must be up to have a rw filesystem in a x2 volume Change-Id: I98b0808070e6d254b1deeb1a3a744d19adccbf03 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Added function to check brickmux is enabled or notAkarsha2018-03-271-0/+40
| | | | | Change-Id: Ie115ecc42a38391b0e8687d7f3acf9904c18b0ee Signed-off-by: Akarsha <akrai@redhat.com>
* Snapshot: Library to list all snapshots under .snaps directorysrivickynesh2018-03-271-0/+21
| | | | | Change-Id: I3c1f3f1c7ca11f5f4b5b80e0f208b7f0085c13df Signed-off-by: srivickynesh <sselvan@redhat.com>
* Fix up coding style issues in testsNigel Babu2018-03-2742-816/+1246
| | | | Change-Id: I14609030983d4485dbce5a4ffed1e0353e3d1bc7
* Fixing the test_self_heal_when_io_is_in_progress testcase forShwethaHP2018-03-201-0/+21
| | | | | | | | | dispersed volume. Refer to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1470938 Change-Id: Iea327d87c6decbd0d607cb4abcb55384e8463614 Signed-off-by: ShwethaHP <spandura@redhat.com>
* Fix logging bug in brick_libs.pyNigel Babu2018-03-051-1/+1
| | | | Change-Id: Id0f72542702732cdecb21a2e0fa07a64ca8891c4
* Test Entry-Self-Heal (heal command)Vitalii Koriakov2018-03-051-0/+251
| | | | | Change-Id: Iaecdf6ad44677891340713a5c945a4bdc30ce527 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Impact of replace brick for glustershd on replicate and non-replicate volumesVitalii Koriakov2018-03-051-0/+159
| | | | | Change-Id: I99da69377658f3c5f47722dbc3edb216995e9fa4 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* update dockerfile for gdeploy dependenciesJonathan Holloway2018-02-271-2/+2
| | | | | Change-Id: Iec5ad586b1ce3272bb018b99f742f05e74139702 Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Revert "update gdeploy repo in dockerfile"Jonathan Holloway2018-02-271-1/+1
| | | | | | This reverts commit 2fbf5f62dad59191f40d4fd2bc87e7bde5e86444. Change-Id: I5bf939506dbbafe417c62d4bd7f476c40c4c1623
* update gdeploy repo in dockerfileJonathan Holloway2018-02-271-1/+1
| | | | | | | docker/Dockerfile: update repo url to pull gdeploy .repo file Change-Id: Ia1e4bfb614697d19bff5486afad99185c8e993f5 Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* glusterd test case: check rebalance status form newly probed nodeSanju Rakonde2018-02-271-0/+162
| | | | | | | | | | | | | | In this test case, 1. Create a volume and mount it 2. create some data 3. add brick 4. start rebalance 5. probe a new node 6. check rebalance status from new node. We should be able to check rebalance status from newly probed node. Change-Id: Ib09b468dcd3e81eb01f873e0491afe5ecf5124cc Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
* glusterd test cases: validate volume create operationSanju Rakonde2018-02-271-0/+200
| | | | | | | | | | | In this test case, volume create operations such as creating volume with non existing brick path, already used brick, already existing volume name, bring the bricks to online with volume start force, creating a volume with bricks in another cluster, creating a volume when one of the brick node is down are validated. Change-Id: I796c8e9023244c592c88116cf3baff52ddade48f Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
* Enable snapshot auto-delete and validate with multiple snapshot creationsrivickynesh2018-02-271-0/+147
| | | | | Change-Id: Iabe08da9676b027de7b46622ee73162dcbffd98c Signed-off-by: srivickynesh <sselvan@redhat.com>
* initial dht libsJonathan Holloway2018-02-267-0/+1424
| | | | | | | | | | | | | * glusterfile.py - helper for gluster client and backend files. * glusterdir.py - helper for gluster client and backend dirs. * brickdir.py - helper for collection and hashing of brickdirs (from pathinfo data). * layout.py - base class for simple DHT layout validation. * dht_test_util.py - utility module to walk a directory tree and run tests against files. * constants.py - definitions for constants used in DHT libraries. * exceptions.py - definitions for exceptions raised in DHT libraries. Change-Id: I44770a822e0ec79561b3aa048e555320f622116a Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Changing replica 3 to Arbiter Volume without IOKaran Sandha2018-02-163-0/+178
| | | | | Change-Id: I35568ef8234bc11a8bcf775315c24d9914fbb99d Signed-off-by: Karan Sandha <ksandha@redhat.com>
* test : snapshot createSunny Kumar2018-02-161-0/+204
| | | | | | | The purpose of this test is to validate snapshot create Change-Id: Ia2941a45ee62661bcef855ed4ed05a5c0aba6fb7 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* test : snapshot restoreSunny Kumar2018-02-161-0/+279
| | | | | | | The purpose of this test is to validate restore of a snapshot. Change-Id: Icd73697b10bbec4a1a9576420207ebb26cd69139 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* test : create >256 snaps for a volumeSunny Kumar2018-02-161-0/+174
| | | | | | | The purpose of this test is to validate create snap>256 Change-Id: Iea5e2ddcc3a5ef066cf4f55e1895947326a07904 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* Test client side quorum option as auto should be local to volume and not ↵Vitalii Koriakov2018-02-161-3/+369
| | | | | | | global to whole cluster Change-Id: I9cd8ae1f490bc870540657b4f309197f8cee737e Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* glusterd test case: validating add brick functionalitySanju Rakonde2018-02-141-0/+134
| | | | | | | | | | | In this test case, 1. adding a single brick to replicated volume 2. adding non existing bricks to volume 3. adding bricks from node which is not a part of cluster 4. triggering rebalance start after add brick are validated. Change-Id: I982ff42dcbe6cd0cfbf3653b8cee0b269314db3f Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
* glusterd-test case: validating volume operationsSanju Rakonde2018-02-141-0/+148
| | | | | | | | | | | | | In this test case basic volume operations are validated. i.e., starting, stopping and deleting a non existing volume, creating all types of volumes, creation of volume by using a brick from node which is not a part of cluster, starting a already started volume, stopping a volume twice, deleting a volume twice and validating volume info, volume list commands. these commands are internally validating xml output also. Change-Id: Ibf44d24e678d8bb14aa68bdeff988488b74741c6 Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
* Concurrent volume set on different volumes simultaneously should succeedGaurav Yadav2018-02-141-0/+107
| | | | | | | | | | It includes: - Create 2 volumes - Run concurrent set operation on both the vols - Check for error or if any core generated Change-Id: I5f735290ff57ec5e9ad8d85fd5d822c739dbbb5c Signed-off-by: Gaurav Yadav <gyadav@redhat.com>
* Test Cases for performing NFS disable, enable andRajesh Madaka2018-02-141-0/+172
| | | | | | | | | | | | | | | | | | performing NFS mount and unmoount on all volumes, performing different types quorum settings. -> Set nfs.disable off -> Mount it with nfs and unmount it -> set nfs.disable enable -> Mount it with nfs -> Set nfs.disable disable -> Enable server quorum -> Set the quorum ratio to numbers and percentage, negative- numbers should fail, negative percentage should fail, fraction should fail, negative fraction should fail Change-Id: I6c4f022d571378f726b1cdbb7e74fdbc98d7f8cb Signed-off-by: Rajesh Madaka <rmadaka@redhat.com>
* Adding testcase: Negative test - Exercise Add-brick commandPrasad Desala2018-02-141-0/+188
| | | | | | | | | | | | | This testcase covers below scenarios, 1) Add-brick without volname 2) Adding a duplicate brick 3) Adding a brick which is already part of another volume 4) Adding a nested brick i.e brick inside another brick 5) Add a brick to a non existent volume 6) Add a brick from the peer which is not in cluster Change-Id: I2d68715facabaa172db94afc7e1b64f95fb069a7 Signed-off-by: Prasad Desala <tdesala@redhat.com>