summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correction in volume export scenarioJilju Joy2018-12-061-7/+7
| | | | | | | | | Either nfs-ganesha or gnfs can be enabled. Both cannot co-exist. If 'nfs_ganesha' enable option is set to True in the configuration file, volume will be exported through nfs-ganesha, else it will be exported through gnfs Change-Id: I26e5aa8b29d54fc5d41d77fea7951df66e4de1e7
* Modified the test per BZ Bug 1579758root2018-12-021-1/+1
| | | | | Change-Id: I8d15f482dbde12670975e32af685570a0eaa50b6 Signed-off-by: Anees <anepatel@redhat.com>
* Quota: tests/functional/quota/test_quota_limit_dir_breadth.pyVinayak Papnoi2018-11-301-55/+43
| | | | | | | | | | Replaced "quota_fetch_list" with "quota_validate" Fixed hard_limit validation as it was failing in the automation runs. Change-Id: I603a2649ab43c3317626b4325c0b353a798eee94 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
* Fixing TC test_client_side_quorum_with_auto_option_cross2Vijay Avuthu2018-11-272-780/+794
| | | | | | | | | Issue: Creating hardlinks fails since TC trying to create same hardlink twicw from 2 different clients. Change-Id: I1c0d48f53eec00ed2a766b786c551d83ac278946
* Moved test_self_heal_symbolic_links from afr to arbiter folderVitalii Koriakov2018-11-232-245/+342
| | | | | Change-Id: I6a95e82977f4ac6092716c064597931768023710 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fix the test caseVijay Avuthu2018-11-221-0/+382
| | | | | | test_client_side_quorum_auto_local_to_volume_not_cluster Change-Id: Ibf16517fe062f9335d17c0e6d88ddab44a644c7b
* fixVijay Avuthu2018-11-221-361/+3
| | | | | | test_client_side_quorum_auto_local_to_volume_not_cluster Change-Id: I8abef160fb6aecb0f74edec0324a53bb23bb2885
* TC: test_negative_exercise_add_brickPrasad Desala2018-11-211-3/+3
| | | | | | | Fixed the validation code in test_add_brick_without_volname Change-Id: I5449b6472cc2b6644b833be47233d344a9dd8d1b Signed-off-by: Prasad Desala <tdesala@redhat.com>
* Convert bitrot_ops to python3Vitalii Koriakov2018-11-191-2/+2
| | | | | Change-Id: I2183252ee881b5f9c8c74af62c7d8fd2cafb8fc9 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Deleting test_metadata_self_heal from test_self_heal fileVitalii Koriakov2018-11-151-353/+0
| | | | | Change-Id: I4560b425aa470da27631eb6401e3775fb90c2330 Signed-off-by: Vitalii Koriakov <vkoriako@nredhat.com>
* Moved test_metadata_self_heal from afr to arbiter folderVitalii Koriakov2018-11-151-0/+404
| | | | | Change-Id: Icd8586f5df4c34a5f0edd4b5a69f864bd2984ade Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Convert auth_ops.py and lib_utils.py to python3Vitalii Koriakov2018-11-082-15/+16
| | | | | Change-Id: I8baf97066c5ae47e2a298581eeb74374fc09a21e Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Convert geo_rep_ops to python3Vitalii Koriakov2018-11-081-3/+3
| | | | | Change-Id: I2f491f7cadd92846730c6528920c9fa8c2c9edce Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Moved test_self_heal_algorithm_full_daemon_off from afr to arbiter folderVitalii Koriakov2018-11-082-111/+217
| | | | | Change-Id: I0143a4ffa16fa0c3ea240f5debbdc5519a9e5445 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Using a raw strings for fixing flake warningsVitalii Koriakov2018-10-2910-24/+21
| | | | | Change-Id: Ie134790ea05919a4b396657c11cbc3fc7a7fc529 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* glustolibs: Add GlusterBlockBaseClassbhumikagoyal2018-10-251-2/+647
| | | | | | | | | | | | | | | | | | | | | | | | | | Add the base class for gluster-block which includes functions that helps in automating the test cases on client and target side. These functions will help in block creation, block discovery, login on the client, getting mpath, mounting the block, logout. The teardown function will take care of unmounting blocks, logging out and block deletion and volume cleanup. The .yml file for block should be like: Example gluster_block_args_info: volname: testvol #Should be same as volume name in glusterfs config fle servers: #Server names should be same as names in glusterfs config file - 192.168.100.163 - 192.168.100.192 size: 2GiB ha: 3 auth: enable prealloc: num_of_blocks: 2 #Number of blocks to be created with this configuration ring-buffer: 16 blockname: block_testing #Base name of the blocks to be created. Change-Id: I8cd354fc991cd21c542cfd7f03399cc23c9f7917 Signed-off-by: Bhumika Goyal <bgoyal@redhat.com>
* Moved test_data_self_heal_algorithm_diff_default from afr to arbiter folderVitalii Koriakov2018-10-232-148/+244
| | | | | Change-Id: I6462446cce6c06a7559028eee1a6968af093c959 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Moved test_data_self_heal_algorithm_diff_heal_command from afr to arbiter folderVitalii Koriakov2018-10-232-204/+285
| | | | | Change-Id: Id32859df069106d6c9913147ecfa8d378dfa8e9d Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fixing the issue bringing bricks online.Vijay Avuthu2018-10-231-26/+22
| | | | | | | bring_bricks_online method takes list as parameter, but in the test cases, it passed as str. Change-Id: I07caef7ef6510268856d832221d8b2993d3e9751
* Moved test_entry_self_heal_heal_command from afr to arbiter folderVitalii Koriakov2018-10-222-246/+335
| | | | | Change-Id: Id9face2267b9f702bb2b0b5b3c294b3e4082cdf7 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* deploy/deploy-glusto.yaml: An Ansible script to deploy Glusto & friendsYaniv Kaul2018-10-101-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running ansible-lint provides few warnings. I think all can be ignored for the time being: [ykaul@ykaul ansible]$ ansible-lint deploy-glusto.yaml [ANSIBLE0006] yum used in place of yum module deploy-glusto.yaml:39 Task/Handler: enable copr repo [ANSIBLE0012] Commands should not change things if nothing needs doing deploy-glusto.yaml:39 Task/Handler: enable copr repo [ANSIBLE0013] Use shell only when shell functionality is required deploy-glusto.yaml:39 Task/Handler: enable copr repo [ANSIBLE0010] Package installs should not use latest deploy-glusto.yaml:42 Task/Handler: install gdeploy [ANSIBLE0004] Git checkouts must contain explicit version deploy-glusto.yaml:47 Task/Handler: clone glusto, glusto-tests [ANSIBLE0012] Commands should not change things if nothing needs doing deploy-glusto.yaml:56 Task/Handler: setup glusto-test [ANSIBLE0013] Use shell only when shell functionality is required deploy-glusto.yaml:56 Task/Handler: setup glusto-test Change-Id: I2ff56c1b7e2752f0b2c7ea6ee449f4635862db37
* Supporting python 2 and 3Vitalii Koriakov2018-09-241-30/+34
| | | | | Change-Id: I6caa4f6baf699e331bb01af97e019d35b6bb0583 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fix for test_add_identical_brick_new_node.pySri2018-09-211-1/+4
| | | | | Change-Id: Ic60e9da0a97818cba59b5be5048492e54fc0edb3 Signed-off-by: Sri <sselvan@redhat.com>
* Fix for tests/functional/glusterd/test_brick_status_when_quorum_not_met.pySri2018-09-201-1/+7
| | | | | Change-Id: I3c6a9169f3b6afb7f92aca28f59efa42ca2a6b21 Signed-off-by: Sri <sselvan@redhat.com>
* Fix for test_add_brick_when_quorum_not_met.pySri2018-09-181-20/+18
| | | | | Change-Id: If8d18cd60d1993ce46fa019b659770cf6e7aa6b8 Signed-off-by: Sri <sselvan@redhat.com>
* Revert "Raise Exceptions in setup_volume and mount_volume"Jonathan Holloway2018-09-141-77/+96
| | | | | | This reverts commit 2d425798657a725e02d63ff631c5b87187ea4ca4. Change-Id: I388fe7ff11e28e027fe9006512e35ec57ff10d9c
* Fix for test_brickcasesSri Vignesh2018-09-141-2/+2
| | | | | | | | for the current workload rebalance is not sufficient so changing the timeout to balance the workload. Change-Id: Iad5bf9d828ad12a6867847a02c19e0ebe6b7741e Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* Modified existing docAkarsha2018-09-123-28/+91
| | | | | Change-Id: I84360dd73a951db5db6a574fb10ada57a1e7e1ad Signed-off-by: Akarsha <akrai@redhat.com>
* functional/disperse: verifies full heal functionalitySunil Kumar Acharya2018-09-121-0/+191
| | | | | | | | | | This test case validates that full heal crawls whole filesystem instead of just scanning indices/xattrop. RHG3-9691 Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com> Change-Id: I7064b86750c37f8619960574a93b0da470b225ad Signed-off-by: Karan Sandha <ksandha@redhat.com>
* Raise Exceptions in setup_volume and mount_volumeNigel Babu2018-09-121-96/+77
| | | | Change-Id: I1310b9da1262b06e77a621831d599cd4077c31ed
* is_brick_mux_enabled misspelling fixesVitalii Koriakov2018-09-051-2/+1
| | | | | Change-Id: I61da7bbe3f5b64f7c93b291a5ada52cde37997d9 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Added methods and fixed importVitalii Koriakov2018-09-051-29/+50
| | | | | Change-Id: Id8f86e027e1109b0351dd45e073b68bf31fe1de6 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Changed disabled to disableVitalii Koriakov2018-08-301-1/+1
| | | | | Change-Id: I616ffab2a797330778781a8245de87a0f5775df3 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Adding is_brick_mux_disabled methodVitalii Koriakov2018-08-301-1/+18
| | | | | Change-Id: I2b5e8cb9d02967736f18ed80c1aaff48ac684716 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fixes for test_replica3_to_arbiterVitalii Koriakov2018-08-301-83/+39
| | | | | Change-Id: Ib0f279fc03bbab23b458220db9ccd55b4b1bdcab Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* glustolibs: add functions for gluster-block operationsbhumikagoyal2018-08-292-0/+480
| | | | | | | | | | | | | | | | | | | block_libs.py: Module for some gluster-block related helper functions like block info validation, checking if block exists etc. This module will call the functions in block_ops and the result will be used for further operations. These functions are either called from GlusterBlockBaseClass or can be called directly from testcases. block_ops.py: Module for gluster-block helper functions like block_create, block_delete, block_modify, block_info, block_list. The functions here will either be called from GlusterBlockBaseClass or block_libs.py or can be called directly from the testcases. Change-Id: I5d82ac32bbf27a2a6597ad275ff09b3601615f2b Signed-off-by: Bhumika Goyal <bgoyal@redhat.com>
* Snapshot: Delete Multiple snapshots of volumes simultaneouslysrivickynesh2018-08-291-0/+281
| | | | | | | | | Delete multiple snapshots of the original and cloned volumes simultaneously. Change-Id: Ic5165b896d2adf4cb51ad4252b7caad7bb6f0892 Signed-off-by: srivickynesh <sselvan@redhat.com> Signed-off-by: Sri <sselvan@redhat.com>
* snapshot:: performing rebalance on cloned volumesrivickynesh2018-08-091-0/+235
| | | | | | | | | | | Test Cases in this module tests the Creation of clone from snapshot of one volume. add-brick to cloned volume and perform rebalance operation on cloned volume Change-Id: I34de5c53bbf68b1c80962295e4e4d0535da78990 Signed-off-by: srivickynesh <sselvan@redhat.com> Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* Snapshot: Scheduler behaviour when shared volume is mounted/not mountedsrivickynesh2018-08-091-0/+166
| | | | | | | | | | Test Cases in this module tests the snapshot scheduler command such as initialise scheduler, enable scheduler, status of scheduler. Change-Id: Id18e83b6a6bc37820f7b2d23f86e7d68bbddef0e Signed-off-by: srivickynesh <sselvan@redhat.com> Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* Creating snapshot on arbiter volume and verifying the contentsVitalii Koriakov2018-08-091-0/+211
| | | | | Change-Id: I21f3d8acce35acb852e36c2747d67bc8ed235e9d Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fix spelling mistake across the codebaseNigel Babu2018-08-0778-188/+188
| | | | Change-Id: I46fc2feffe6443af6913785d67bf310838532421
* Fixing the return value for is_io_procs_fail_with_rofsVijay Avuthu2018-08-071-12/+22
| | | | | Change-Id: Ibb159d8a1b28ae267ca89800ace1ece9a3382b35 Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
* Rename of a file cause no data loss in an arbiter volume configurationVitalii Koriakov2018-08-071-0/+284
| | | | | Change-Id: Ie25f33d52730ee5482d656bf5a75f1d983cca78e Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* snapshot: fix for uss activate and deactivate caseSri Vignesh2018-08-061-9/+8
| | | | | Change-Id: Ia177213ca46af917dc83e1482c6061d425e30545 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* snapshot:: configuring snapshot max-hard-limit and max-soft-limit casesrivickynesh2018-08-061-3/+4
| | | | | | | | The purpose of this test is to validate snapshot hard and soft max-limt options. Change-Id: I000b840421620094287ba393367cad7c8df8e23a Signed-off-by: srivickynesh <sselvan@redhat.com>
* Fixes: Test replacing all arbiter bricksVitalii Koriakov2018-08-031-1/+1
| | | | | Change-Id: Icbc522a6e23c4dc76547936d8595723d3eb2d81a Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Quota: Alert time test - Rectifying the sleep timeoutVinayak Papnoi2018-08-031-4/+4
| | | | | | | | | The comments state that the sleep timeout is of 2 seconds but actually it is 10 seconds. This patch will be rectifying that error and the actual sleep will be of 2 seconds. Change-Id: Ie1cabf2c707c95018a750538bc8a13d1a72fe7f1 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
* Fixing the default quorum type issueVijay Avuthu2018-08-021-3/+3
| | | | | | | | In 3.4, default quorum type is chnaged to auto. pre 3.4 releases, it was None Change-Id: I4e58ff8cc4727db81bb6b9baadd101687ddb74b0 Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
* snapshot:: snapshot creation testcasesrivickynesh2018-08-021-25/+25
| | | | | | | The purpose of this test is to validate snapshot create Change-Id: Icacafc48739e6322fb925e117df63462d690251f Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot:: configuring max-hard and softlimit of snapshotssrivickynesh2018-08-021-9/+11
| | | | | | | | This testcase contains tests which verifies the snapshot max-hardlimit and soft-limit and deletion of snapshots for a volume Change-Id: Iff00475abdaf01b2beac72545774f477e99a13ce Signed-off-by: srivickynesh <sselvan@redhat.com>