| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I813f3e78ad8b0b79940635df6721e34e6bc93f34
Signed-off-by: Manisha Saini <msaini@redhat.com>
|
|
|
|
|
|
|
| |
Integrate the changes made in library to the test
Change-Id: I9bf8c3f1f732132170a96405a4a12839463a2eaa
Signed-off-by: Pranav <prprakas@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
NFS-Ganesha Tests inherits 'NfsGaneshaClusterSetupClass' whereas
the other tests inherits 'GlusterBaseClass'. This causes a cyclic
dependency when trying to run other modules with Nfs-Ganesha.
Fix:
1. Move the Nfs-Ganesha dependencies to GlusterBaseClass
2. Modify the Nfs-Ganesha tests to inherit from GlusterBaseClass
3. Remove setup_nfs_ganesha method call from existing Ganesha tests
as its invoked by default from GlusterBaseClass.SetUpClass
Change-Id: I1e382fdb2b29585c097dfd0fea0b45edafb6442b
Signed-off-by: Pranav <prprakas@redhat.com>
|
|
|
|
|
| |
Change-Id: I16c5f070d807673662e5ac3583aace06873a9c14
Signed-off-by: Manisha Saini <msaini@redhat.com>
|
|
|
|
|
| |
Change-Id: I8ae78b06706bc4818cbd2b00b386f362883cb9d7
Signed-off-by: Manisha Saini <msaini@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Verification of rootsquash functionality with glusterd restart
* Create some files and dirs inside mount point
* Set permission as 777 for mount point
* Enable root-squash on volume
* Create some more files and dirs
* Restart glusterd on all the node
* Try to edit file created in step 1
nfsnobody user should not be allowed to edit file
* Try to edit the file created in step 5
nfsnobody user should be allowed to edit file
Change-Id: Id2208127ce3c3ea2181d64af0e5e114c49f196ba
Signed-off-by: Manisha Saini <msaini@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Verifcation of root-squash functionality with NFS-Ganesha
* Create a volume and export it via Ganesha
* Mount the volume on clients
* Create some files and dirs inside mount point
* Check for owner and group
Owner and group should be root
* Set permission as 777 for mount point
* Enable root-squash on volume
* Create some more files and dirs
* Check for owner and group for any file
Owner and group should be nfsnobody
* Edit file created by root user
nfsnobody user should not be allowed to edit file
Change-Id: Ia345c772c84fcfe6ef716b9f1026fca5d399ab2a
Signed-off-by: Manisha Saini <msaini@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Verify remove brick operation while IO is running
Steps:
1. Start IO on mount points
2. Perform remove brick operation
3. Validate IOs
Change-Id: Ie394f96c9180be57704ca637c8cd725af82323cb
Co-authored-by: Jilju Joy <jijoy@redhat.com>
Signed-off-by: Jilju Joy <jijoy@redhat.com>
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
| |
Please refer to commit message of patch [1].
[1] https://review.gluster.org/#/c/glusto-tests/+/24140/
Change-Id: Ib357d5690bb28131d788073b80a088647167fe80
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
| |
Change-Id: I36949296607b09e66ce0a56029359481c0b76b8b
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing script_local_path as both script_local_path and
cls.script_upload_path hold the same values which makes
each script slow. This will help decrease the execution
time of the test suite.
PoC:
$cat test.py
a = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
b = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
$time python test.py
real 0m0.063s
user 0m0.039s
sys 0m0.019s
$cat test.py
a = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
$time python test.py
real 0m0.013s
user 0m0.009s
sys 0m0.003s
Code changes needed:
From:
script_local_path = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
cls.script_upload_path = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
ret = upload_scripts(cls.clients, script_local_path)
To:
cls.script_upload_path = ("/usr/share/glustolibs/io/scripts/"
"file_dir_ops.py")
ret = upload_scripts(cls.clients, cls.script_upload_path)
Change-Id: I7908b3b418bbc929b7cc3ff81e3675310eecdbeb
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
| |
Change-Id: I7a76e0c2e491caffd7ba1b648b47c4c6a687c89a
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Adding test case to check posix compliance
for nfs ganesha
Change-Id: I8188fba9245cfe27ae30b7818cfe7d2b624e9d87
Signed-off-by: Ambarish Soman <asoman@redhat.com>
Signed-off-by: Arjun Sharma <arjsharm@redhat.com>
|
|
|
|
|
| |
Change-Id: I2afd326fe0df1959a8fd20bc7325159688c1a73e
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Since the NfsGaneshaVolumeBaseClass has been removed
the ACL test needs to be modified to use the alternative
method to the above mentioned class.
Change-Id: I398dfef6dd334a3e3f3871d44705af312d81318a
Signed-off-by: Arjun Sharma <arjsharm@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Earlier in nfs_ganesha_ops, two library functions
enable_acl, disable_acl were implemented and later
with changes to NFS Ganesha Base class both the
functions are removed and made into single function
set_acl.
Change-Id: I5456adeeffa49c35a5ea19c8d11272f91ec4bdbf
Signed-off-by: Bala Konda Reddy M <bmekala@redhat.com>
|
|
|
|
|
| |
Change-Id: I5372caf852b41e127c46f6afa697435dcde9dbf6
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
| |
Change-Id: I40e36e1d4d404fcb9709fa9e50d33cad77172350
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Steps
1. Start IO on mount points
2. Add bricks to expand the volume
3. Start rebalance and wait for its completion
4. Validate IOs
Change-Id: I97c09c9fc226afeff1446d225959730715f89aef
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Steps
1. Start IO on mount points
2. Create another volume 'volume_new'
3. Export volume_new through nfs-ganesha
4. Mount the volume on clients
Change-Id: I2c4fe59e9a85e6668672d31a0a6c27d11c7f03f8
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
| |
Change-Id: I3fb826bd0ecbe46bee4b9f8594b23f16921adbec
Signed-off-by: Arjun Sharma <arjsharm@redhat.com>
|
|
|
|
|
|
|
| |
progressing on one client
Change-Id: I42dceccaa0f257e25a4e5f2bc8d21f84e94216e0
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
| |
Change-Id: I78f987383725ef43caa62ad084dd64ec6be2363b
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
| |
Change-Id: I2acf835a4cf7301c64c4c8a9423f78672cdf9aa4
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: Ie134790ea05919a4b396657c11cbc3fc7a7fc529
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
| |
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I14609030983d4485dbce5a4ffed1e0353e3d1bc7
|
|
|
|
|
| |
Change-Id: Ia0f07590ceb8f680a8e750f793f37a63177904dc
Signed-off-by: Ambarish Soman <asoman@redhat.com>
|
|
|
|
|
|
| |
Change-Id: I2747c3770925b8d8f05e10fb7da49d105b7130e6
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
|
|
|
|
|
| |
Change-Id: Ic066b8ad452b297a2c48e912883536ce3960c0eb
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
| |
IO is in progress and subdir mounts from client and server side
Change-Id: I80b22e6602bbc18652135211ea08710392c04cb6
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
| |
in progress, enable and disable cluster
Change-Id: I15adbc73d72a67bd6b4189298631c9374540f2bb
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
checks nfs ganesha behaviour
Change-Id: I2dc7f0fb016982b7b7fa4a87c0310e4c96376f94
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|