| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The ExecutionError msg at line 66 should be "failed to clean-up
volume" because it is under tearDownClass. The g.log.info msg
at line 123 should be "Checking if gfid xattr of directories is
displayed and is same on all the bricks on the server node" as the
code below it checks for the gfid xattr on the bricks on server
node and not if it is displayed on mount point.
Change-Id: If4e20e3487a44c1cc7047504d19cc9859424ccd4
Signed-off-by: sayaleeraut <saraut@redhat.com>
|
|
|
|
|
| |
Change-Id: I240ecb0b4a9c99134b7a5cd237a59c2857d0fb7b
Signed-off-by: yinkui <13965432176@163.com>
|
|
|
|
|
|
|
| |
the log.
Change-Id: I361b2c59108b19480906f6dfd49b023ed1eb05cd
Signed-off-by: yinkui <13965432176@163.com>
|
|
|
|
|
|
|
| |
random servers which are not part of volume
Change-Id: I8dcb8fcd8fd0bfaefcaf24a3f2aa222b44ff7f24
Signed-off-by: sayalee <root@localhost.localdomain>
|
|
|
|
|
|
|
| |
Fixed the validation code in test_add_brick_without_volname
Change-Id: I5449b6472cc2b6644b833be47233d344a9dd8d1b
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
| |
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
|
|
|
|
|
| |
Change-Id: I7534850d317993ee0b4c81ec06c1bdaeaf0d7535
Signed-off-by: Kartik_Burmee <kburmee@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>
|
|
|
|
|
|
|
|
|
|
|
| |
The test case tests directory healing.
If a mkdir happens successfully when a subvol is down, the
directory should heal and should have zeroed layout once the
subvol is up.
Change-Id: Ia2f5747a1008112a5dcebda8a953ee3d2de9f75f
Signed-off-by: Susant Palai <spalai@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Objective:
When induced holes in the layout by remove brick force, lookup sent
on the directory from client should fix the directory layout without
any holes or overlaps.
Change-Id: If4af10929e8e7d4da93cea80c515e37acf53d34e
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test:
case -1:
- bring down a subvol
- create a directory so that it does not hash to down subvol
- make sure stat is successful on the dir
case -2:
- create directory
- bring down hashed subvol
- make sure stat is successful on the dir
case -3:
- create dir
- bringdown unhashed subvol
- make sure stat is successful on the dir
Change-Id: I9cbd2e7f04c885eaa09414d6b49632cf77dd72ec
Signed-off-by: Susant Palai <spalai@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Create Dir with some file inside dir
2) Verify dir exists on all bricks as well as mount point
3) Compare dir stat with mount-point and brick location path
4) Change the ownership of directory
5) Compare dir stats with mount-point and brick path
6) Try to change pemission with different user for directory
7) Compare dir stat with mount-point and brick path
8) Try to change permission with different user for directory
9) change permission of directory
10) Compare dir stat with mount-point and brick path
11) Try to change permission with different user for same directory
Change-Id: I284842be8c7562d4618d4e69e202c4d80945f1c5
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Objective:
When induced holes in the layout by remove brick force, fix-layout
start should fix the layout without any holes or overlaps.
Change-Id: Ie4c47fff11957784044e717c644743263812a0e4
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
| |
The test case verifies that a mkdir of directory hashed to a down
subvolume should fail.
Change-Id: I8465f4869c9283d4339c50cdbd56b0256fa11bb9
Signed-off-by: Susant Palai <spalai@redhat.com>
|
|
|
|
|
|
|
| |
Rebalance should proceed even if glusterd is down on a node.
Change-Id: I499e8a4e6b42bd7a8153c1d82c8b329a1933e748
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This testcase exercises below rebalance commands,
1) Rebalance with fix-layout
2) Rebalance start --> status --> stop
3) Rebalance with force option
Changes:
- Remove pytest.mark from test cases
Change-Id: I467de068dabac90018f6241472b2d91d9d9e85a8
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
| |
While remove-brick operation is in-progress on a volume, glusterd
should not allow rebalance on the same volume.
Change-Id: Ic94754bc12c86a32f2f5fd064129bf6bc038ed6a
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
test case:
- Verify that the file is created on the hashed subvol alone
- Verify that the trusted.glusterfs.pathinfo reflects the file location
- Verify that the file creation fails if the hashed subvol is down
Change-Id: I951c20f03772a0c5739244ec354f9bbfd6d0ea65
Signed-off-by: Susant Palai <spalai@redhat.com>
|
|
|
|
|
|
|
|
| |
Rebalance should fail on a pure distribute volume when glusterd is down
on one of the nodes.
Change-Id: I5a871a7783b434ef61f0f1cf4b262db9f5148af6
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
| |
While remove-brick operation is in-progress on a volume, glusterd
should not allow add-brick operation on the same volume.
Change-Id: Iddcbbdb1a5a444ea88995f176c0a18df932dea41
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
| |
If a rebalance is in-progress on a volume, glusterd should fail a
remove-brick operation on the same volume.
Change-Id: I2f15023870f342c98186b1860b960cb3c04c0572
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Test case objective:
Restarting glusterd should not restart a completed
rebalance operation.
Change-Id: I52b808d91d461048044ac742185ddf4696bf94a3
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
| |
This testcase verifies rebalance behaviour while IO is in-progress from
multiple clients
Change-Id: Id87472a8194d31e5de181827cfcf30ccacc346c0
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the dataset has hidden files and when added bricks and triggered
rebalance, rebalance should be able to pick the hidden files for
migration and should migrate those without any issues and the
checksum should match post rebalance.
Changes:
- Minor fixes
- Imrpoved imports
- Removed logs of rebalance status
Change-Id: I31c5859e112ad3a6efef7e008995090afda677cc
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
| |
This testcase verifies, volume stop should not be allowed while
rebalance is in-progress and it should throw appropriate error.
Change-Id: I24ffc263f26eb99fff774cb851ac98ac6fed2bee
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
| |
Changes:
- Updated test case add brics to volume with IO operations.
Change-Id: I61e83c0d58d65783da4e54bc2a8a32a35b515c07
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
- Add more log end points
- Include dht glusto's functions
- Fix count log parameters
- Convert docstring to google style docstring on helper function
- Renamed test class
Change-Id: Ib919e86c8c79e8bdad4007bc9d77d76b031ecb3d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test Optimisations :
- Optimized imports
- Reduced count local variables
- Added more logging points with information about mount point and directories
- Add more logging points
- Included more log end points and implemented glusto's framework dht functions
Changes :
- Copyright years
- removed nfs mount point, since does not support extra attributes
- improved layout validations
- fixed typos in logs.
- Updated comments
Change-Id: If51d033d726edf2344af9aeba1246d4d6591f5c0
|
|
|
|
| |
Change-Id: I43a5b87c4acfd3df9483ca869d926714325ae1b9
|
|
|
|
| |
Change-Id: Ib9f4ca5cda02ac1fe66a5c7cdc599255f2fadb4d
|
|
|
|
| |
Change-Id: I243a8ecf57483c20e5060351a9f24e7687ccdcf4
|
|
|
|
| |
Change-Id: I14609030983d4485dbce5a4ffed1e0353e3d1bc7
|
|
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>
|