| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This reverts commit 2d425798657a725e02d63ff631c5b87187ea4ca4.
Change-Id: I388fe7ff11e28e027fe9006512e35ec57ff10d9c
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I84360dd73a951db5db6a574fb10ada57a1e7e1ad
Signed-off-by: Akarsha <akrai@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I1310b9da1262b06e77a621831d599cd4077c31ed
|
|
|
|
|
| |
Change-Id: I61da7bbe3f5b64f7c93b291a5ada52cde37997d9
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: Id8f86e027e1109b0351dd45e073b68bf31fe1de6
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: I616ffab2a797330778781a8245de87a0f5775df3
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: I2b5e8cb9d02967736f18ed80c1aaff48ac684716
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: Ib0f279fc03bbab23b458220db9ccd55b4b1bdcab
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I21f3d8acce35acb852e36c2747d67bc8ed235e9d
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
| |
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
|
|
|
|
|
| |
Change-Id: Ibb159d8a1b28ae267ca89800ace1ece9a3382b35
Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
|
|
|
|
|
| |
Change-Id: Ie25f33d52730ee5482d656bf5a75f1d983cca78e
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: Ia177213ca46af917dc83e1482c6061d425e30545
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Icbc522a6e23c4dc76547936d8595723d3eb2d81a
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The purpose of this test is to validate snapshot create
Change-Id: Icacafc48739e6322fb925e117df63462d690251f
Signed-off-by: srivickynesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
On a quota enabled volume validate if alert time is printed only after
crossing the soft limit.
Change-Id: Ia94ae9dd760fed644841df11fe046c184cdd3398
Signed-off-by: hari gowtham <hgowtham@redhat.com>
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
|
|
|
|
|
|
|
|
| |
This test verifies that file/directory creation or
deletion doesn't leave behind any stale spaces
Change-Id: I02b16625d64426abef390c5b00473ad8a7b7d84d
Signed-off-by: Akarsha <akrai@redhat.com>
|
|
|
|
|
| |
Change-Id: I0a439b8defeb6b8e72694f1d97e1309a7ba988fa
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Run IOs over cifs mount and simultaneously do a
gluster volume set stat-prefetch on and off.
The IOs should not fail.
Change-Id: I9327e599eb3536f3c49a90d468391055ea4c3bf9
Signed-off-by: vivek das <vdas@redhat.com>
|
|
|
|
|
|
|
|
|
| |
This test case performs split brain resolution on a file
not in split-brain. This action should fail.
Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
Change-Id: I01b9a41530498e96f6092283372798e61a9ac2b2
|
|
|
|
|
| |
Change-Id: I7534850d317993ee0b4c81ec06c1bdaeaf0d7535
Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
It could have failed without anyone noticing.
Added 'xfail' - do we expect to fail in deletion
(and changed tests accordingly)
On the way, ensure stdout and stderr are logged in case of such failures.
Change-Id: Ibdf7a43cadb0393707a6c68c19a664453a971eb1
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
|
|
|
|
|
|
|
|
| |
No functional change, just make the tests a bit more readable.
It could be moved to a decorator later on, wrapping tests.
Change-Id: I484bb8b46907ee8f33dfcf4c960737a21819cd6a
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
|
|
|
|
|
|
|
| |
Need to use it as well to run tests.
Change-Id: I748b23883cd952e3de86d5652304c608ef17b843
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
|
|
|
|
|
|
| |
Use Pylint 1.9.2 explicitly
Change-Id: Iab0d869316b0ac5fd9cf9f200f968e5c84bafead
|
|
|
|
|
| |
Change-Id: I9a0cb923c7e3ec0146c2b3b9bf0dcafe6ab892e8
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The below operations are performed on a dis-rep volume
* Enable Quota
* Set limit of 1GB on /
* Mount the volume
* Create some random amount of data inside each directory until quota
is reached
* Perform a quota list operation
* Perform add-brick
* Trying add files and see if quota is honored.
Change-Id: Idd6a647c65a9e2dc7322bc729b48366cf6a46c85
Signed-off-by: harigowtham <hgowtham@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following steps are followed:
* Enable quota on the volume
* Set the quota on the non-existing directory
* Create the directory as above and set limit
* List the quota on the volume
* Delete the directory
* Recreate the directory
* List the quota on volume
* Check for volume status
Change-Id: Ieb37b24715f4c4a9689db582489a7d9a965d54ad
Signed-off-by: harigowtham <hgowtham@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Test Cases in this module tests the
snapshot activation and deactivation status
when glusterd is down.
Change-Id: I9ae97ceba40ce2511b1b731d5e02990f78f424e9
Signed-off-by: srivickynesh <sselvan@redhat.com>
Signed-off-by: Vignesh <vignesh@localhost.localdomain>
|
|
|
|
|
| |
Change-Id: I524db04636de4afb9cd6ab79c8b60a8607f8b553
Signed-off-by: srivickynesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Test quota with respect to the limit-usage and soft-limit
quota volume options. Set a unique soft-limit on each directory
and create some data such that the soft-limit is exceeded
and validate with the quota list command.
Change-Id: I80fbb93072a9d8c2fa861c931042ae2fba1fefe1
Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Quota limit-usage should fail when trying to set the limit
on a symlink.
- Enable quota
- Set a limit on the volume
- Create a directory from mount
- Create a symlink of the directory from mount
- Try to set a quota limit on the symlink
Change-Id: Ic9979a5c67af74d08527acc0f9a30c1d97291906
Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
This test creates gfid split-brain of files and uses the source-brick
option in the CLI to resolve them.
Polarion test: RHG3-4402
Change-Id: I4fb3f16bfcdf77afe92c3a6f98f259147fef30c2
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
|
|
|
|
|
|
|
|
| |
This test case will validate snap restore on online volume.
When we try to restore online volume it should fail
Change-Id: If542a6052ee6e9eec7d5e1268f480f047916e66c
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
|
|
|
|
|
| |
Change-Id: I634d11cb582521b03f0bb481172e2f4f68d1c2ce
Signed-off-by: karthik-us <ksubrahm@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a limit is set and a file of size larger than limit is created
then the file creation will stop when it will reach the limit.
- Enable Quota
- Create a directory from mount point
- Set a limit of 10 MB on the directory
- Set Quota soft-timeout and hard-timeout to 0 seconds
- Create a file of size larger than the Quota limit
eg. 20 MB file
- Perform Quota list operation to check if all the fields are
appropriate such as hard_limit, available_space, sl_exceeded,
hl_execeeded, etc.
Change-Id: I44d7e23e60589cbe022735e9b4b5f3bfd1b7458e
Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
|
|
|
|
|
|
|
| |
Polarion test case #RHG3-4094
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Change-Id: I1f7100ddb6697cfc8749f8cd2c29e14e9bfdb5ce
|
|
|
|
|
|
| |
Polarion test case #RHG3-4094
Change-Id: Id7492b1e0a7a000ece788c7a0cc4ed9dd8743700
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this test case we are checking whether the peer status is having
FQDN or not.
Steps followed are:
1. Peer probe to a new node i.e., N1 to N2 using hostname
2. Check peer status in N2, it should have FQDN of N1
3. Check peer status on N1, it should have FQDN of N2
4. Create a distributed volume with single brick on each node.
5. Start volume
6. Peer probe to a new node N3 using IP
7. Add a brick from node3 to the volume, add brick should succeed.
8. Get volume info, it should have correct information
Change-Id: I7f2bb8cecf28e61273ca83d7e3ad502ced979c5c
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
|
|
|
|
|
|
|
|
|
| |
If there are directories present on only one brick without having
gfid (created from backend), heal them and assign gfids when named
lookup comes on those directories.
Change-Id: I32c27f0b04c8eb36b25899ca9fbe7aef141f13b9
Signed-off-by: karthik-us <ksubrahm@redhat.com>
|