| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Adding get_brick_processes_count() which
can be used to get the number of brick processes
running on a given node would be needed for
brickmux testcases to check if brickmux is
honored or not.
Change-Id: I6ec608b8f9d715d0f21e95fc3c0293eed287b16c
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The function 'create_shared_storage' is redundant as the same function is
available as part of the shared-storage library.
This part will be removed from the geo-rep library with this fix.
To create/enable shared storage, make use of the shared_storage_ops.py library.
Change-Id: Ibefca73140e1218f0aa9331f061ef4fc8d9360e3
Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Added more checking mechanism for crashes,
as sometimes coredumps may not get collected by systems
due to settings and hence can miss out on any crashes hit
Change-Id: Id45a844bd0d7877d335c06287d4db873776e89db
Signed-off-by: nchilaka <nchilaka@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding library for the glusterfind operations such as:
* glusterfind create
* glusterfind delete
* glusterfind pre
* glusterfind post
* glusterfind query
* glusterfind list
Change-Id: I94372f8c4a14cc94d68451dec1763401d9d66d90
Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The function do the following in a nutshell:
1. find_and_replace_in_file: Find and replace
a given pattern in a specific file.
2. check_if_pattern_in_file: Check if a give
pattern is in seen in file or not.
Change-Id: Ib035f54490592f2be32a30f0e8a10e7847812990
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
| |
Change-Id: Ib557ce211f1616ef261bf414a2c0b3864a5be24e
Signed-off-by: Ambarish Soman <asoman@redhat.com>
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
| |
Change-Id: Ib8a832901430da30f5f49686ba78b8fb2b76b8e7
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
|
|
|
| |
* Code change to do peer probe if not already done
* Changes to avoid prerequeste of password less ssh between nodes
Change-Id: I8260a80ad8c75a6b3d569cc7ee652e569ec9153a
Signed-off-by: Jilju Joy <jijoy@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
* Removed dependency on gdeploy for setup and teardown of ganesha cluster
* Correction of pylint errors
* Added new method to set acl
* Added new method to set root-squash
* Added new method for refresh-config
* Removed setUp and tearDown methods from NfsGaneshaClusterSetupClass
Change-Id: I1266fe7c09e1fed148ca222712e15932a5ad928c
|
|
|
|
|
|
|
| |
Added new config file for georep
Change-Id: I544ee35f8cd6a2f2ed744f72caa28fa4fd63e5b3
Signed-off-by: Roch-elle <rallan@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
get_online_bricks_list() used to fail in case of node
down secnarios with KeyError exception adding code to
catch the exception and provide brick list with bricks
from gluster v status.
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Change-Id: Ia26208a52e4197050421bc34b9b8cdaf74ac4da6
|
|
|
|
|
| |
Change-Id: I7a043753b8ae2ae46ee944e04ddd9137f177960f
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
| |
Change-Id: I6db42f6762fe323e8ea0af6b7a9ecbe9af9f5b59
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
| |
Change-Id: I2acf835a4cf7301c64c4c8a9423f78672cdf9aa4
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
| |
Change-Id: I1525d783c223dd3bb3099419bcd9a5efcf0f0085
|
|
|
|
| |
Change-Id: I4c0b5c9e39d1e7903a64ad9fe91c2feb6ecf7f8e
|
|
|
|
|
| |
Change-Id: I953975d66c333c141b03b4eaa7118a93859be878
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: I2183252ee881b5f9c8c74af62c7d8fd2cafb8fc9
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: I8baf97066c5ae47e2a298581eeb74374fc09a21e
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: I2f491f7cadd92846730c6528920c9fa8c2c9edce
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: Ie134790ea05919a4b396657c11cbc3fc7a7fc529
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This reverts commit 2d425798657a725e02d63ff631c5b87187ea4ca4.
Change-Id: I388fe7ff11e28e027fe9006512e35ec57ff10d9c
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
|
|
|
|
|
| |
Change-Id: I0a439b8defeb6b8e72694f1d97e1309a7ba988fa
Signed-off-by: Prasad Desala <tdesala@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>
|
|
|
|
|
| |
Change-Id: I524db04636de4afb9cd6ab79c8b60a8607f8b553
Signed-off-by: srivickynesh <sselvan@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
def is_layout_complete(mnode, volname):
"""This function reads the subvols in the given volume and checks
whether layout is complete or not.
Layout starts at zero,
ends at 32-bits high,
and has no holes or overlaps
Args:
volname (str): volume name
mnode (str): Node on which cmd has to be executed.
Returns (bool): True if layout is complete
False if layout has any holes or overlaps
Example:
is_layout_complete("abc.xyz.com", "testvol")
"""
Change-Id: I46b20bf71c0dd3ac7d2dd393fa209744c4eebb3c
Signed-off-by: Prasad Desala <tdesala@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Added functions to search for a hashed/nonhashed subvol for a file/dir.
Adding function find_new_hashed. This is written for rename case so
that the new name will hash to a different subvol than that of the
the old name.
Change-Id: I8dc0b40ab517071096b704966e680c61d8bcc516
Signed-off-by: Susant Palai <spalai@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The below operations are performed on various types of volumes and mount.
* Enable Quota
* Create 10 directories one inside the other and set limit of
1GB on each directory
* Perform a quota list operation
* Create some random amount of data inside each directory
* Perform a quota list operation
* Remove the quota limit and delete the data
Change-Id: I2a706eba5c23909e2e6996f485b3f4ead9d5dbca
Signed-off-by: harigowtham <hgowtham@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Added:
1. georep_root_prerequisites
2. georep_create_root_session
Change-Id: Iac026322bc387c6b54bcd81a734785eb9d5cae9d
Signed-off-by: rallan <rallan@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Also updated following.
1. API name of 'setup_mountbroker_prerequisites'
to 'georep_nonroot_prerequisites'
2. Added setting up of passwordless SSH to slave node
in prerequisites
Change-Id: I15e567100750d88d7e9e698308c852ad6afbf082
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
|
|
| |
1. API to generate ssh keygen
2. API to copy ssh key on to remote node
Change-Id: I0b89ce9d77d4a16eaa3ad10f646d412f1190f56e
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
|
| |
Also fix the typo in georep_create
Change-Id: I58ca115da827b458d07ce38806a40b1d5bfae643
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
| |
Change-Id: Icd529b26c66f7fc8e39f620276d9fb7053cd7547
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
|
|
| |
The API to set passwd for the given user
and group in all the slave nodes.
Change-Id: I69dc150c598c9101be825f159f037f4ad43706ed
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Setting up mountbroker along with adding user
and checking status. Setting pem keys specific
to non-root
Change-Id: Ic8e38087d118f43aea0da270ea8f8f9da81286c1
Signed-off-by: rallan <rallan@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Contains ops for restarting glusterd (used for slave nodes
in non-root), adding a group as well as a user to set up
a non-root geo-rep session
Change-Id: Iec0990e86fbb5a92a70f26820d43529c21e1742f
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Signed-off-by: rallan <rallan@redhat.com>
|
|
|
|
|
|
| |
Change-Id: I6cb2a321cd774e5c1008d27c42d9df9219e74ff0
Signed-off-by: rallan <rallan@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Deletion of a geo-rep session and getting the status
of the geo-rep session
Change-Id: I94f3c1877c4530246e1cc7077085c92ee7c72101
Signed-off-by: rallan <rallan@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
| |
Change-Id: I47236b1b1bbd40b52bc85ad59ed7b78faa432410
Signed-off-by: rallan <rallan@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following modifications has been made -
1. Added function for snap scheduler initialization.
2. Snap scheduler initialization should not be combined with snap
schedule enable.
3. Snap scheduler enable/disable should be issued for a node instead
for every node in cluster.
Change-Id: I23650f48b152debdfb4d7bc8af6f65ecb2bcddfb
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
|