| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This lib will run peer probe cmd in run_async
Change-Id: I9c541a8e80da8367dc2dbd8aa42da1e312080826
Signed-off-by: Sushil Gupta <susgupta@redhat.com>
|
|
|
|
|
| |
Change-Id: I07a9aba662e6911cd10f68e9e2c52d4d26c311f3
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
| |
Change-Id: I2c969b67bb30666a0616919ced39653d9166ef38
Signed-off-by: Arun Kumar <arukumar@redhat.com>
|
|
|
|
|
| |
Change-Id: I3fe4d9befc233e0c9c52839df7c722d9e291a22c
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
|
|
| |
The lib will expand heketi block volume
Change-Id: I0264bdc2407cf019dbb3524cbbbf29b5e9dbb9e3
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
|
|
| |
Lib will check the job completion status
Change-Id: Ifbcdc9f18e4d3af5b290982eb4a084459877f91b
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
|
|
| |
The lib will create a k8s JOB for expanding block PVC.
Change-Id: I18b4f45b30c7541e90bfcb13bf819b1542560ba8
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
|
| |
Add support to pass I/O image from config file
Change-Id: I2c943ba0efaeab3a44eef63030965f36f8086c1b
|
|
|
|
|
| |
Change-Id: I3382f9c52013a58f038f28b1c3d64a82ece813f6
Signed-off-by: Sushil Gupta <susgupta@redhat.com>
|
|
|
|
|
| |
Change-Id: I026f2aa944aaa6b338c45c54ac4504ecb854f00c
Signed-off-by: Arun Kumar <arukumar@redhat.com>
|
|
|
|
|
| |
Change-Id: Ie072f0365a3d4cf71142e07f6387c8653a616945
Signed-off-by: Sushil Gupta <susgupta@redhat.com>
|
|
|
|
|
| |
Change-Id: I61364640386ee6706276ff253f5f5bf58cf5ba24
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
| |
Change-Id: Ifbc1c584203f2867916c2dc60b82520fc3fdcdde
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
| |
Change-Id: Ib99aec711c2ae520a373bb2673ac58dd51c3c070
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: I36d44123db24154fe0aefc905ad2f5a5e5061558
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: I4ef9114a30dfd6fe18c4ba15b0cbbd32b8fc44f3
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: I9d99f367b82c6570e1390c6b137e0b9bf401a19c
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I123fbf1b6ff8794454d61a57493e0bdfbcd217fe
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: I7f765605ae032f9054937ca9ed5a5db06bc73464
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
| |
Change-Id: If583d912d6c24862f8b26424abf62f8e0942dc45
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Library 'validate_multipath_pod' execute command to get host name by
providing pod name, in case it returns blank next steps will fail due
to blank hostname.
Change-Id: Iac329204bd9ea17b019fb40edca43db72e8c3bb8
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Fix consists of -
Add regular expression to get Openshift Storage Version
based on environment variable 'ocsVersion' set in Dockerfile
Change-Id: Iefed53a7af5b2867b68a4a8b72861047edcf1e4d
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I8ab1ec2dd28169722c07a5bbfabeffc5240ce8f9
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix consists of -
1. Currently waiter in 'node_reboot_by_command' function
uses 'g.rpyc_get_connection' method to check for conection,
which causing issue. Use 'wait_for_ssh_connection' method
in same library which uses 'g.run' method.
2. Add parameter 'wait_for_connection'
Change-Id: I81aecb126b1e4914a2dfb6dc8901da0a3a4329d0
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I7f317d6e6c8f86dc0c5e8bbe0a42a4586751d2e1
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
'g.rpyc_get_connection' library fails to set connection. Instead of
using 'g.rpyc_get_connection' libray for modifying file remotely,
create file locally and upload to remote location using 'g.upload'
library.
Change-Id: I85564ee5b7c28a9d866be033d18bd018f648cd5b
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I8e027ff71429cd73eea892c6e27d53f638badc42
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
Add helper method for passing provisioner argument. Which will allow to
pass provisioner argument from other BaseClasses.
Change-Id: I475717ac5d4575d96aff82148cf2c98e035df1d5
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
|
|
| |
Add Python versions and dependencies in the setup.py file.
Change-Id: I2d012852542c496a56bdd34a5a5659b4b2c0020a
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
|
|
|
| |
Add lib 'get_process_memory_on_gluster_pod_or_node' to get the memory of
running proces inside gluster pod or node.
Change-Id: Ide2b09569407e8cf09c72af638d741d5926431c4
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
| |
Change-Id: I28af35fdcc27e30957e02d83e19f0a7d4211f18b
|
|
|
|
| |
Change-Id: Ifb9c582c18d9e7a8bfd01d3b6a45e105c9ad8db4
|
|
|
|
| |
Change-Id: If0024c4b99eee0d0971077556b033ace5104c982
|
|
|
|
|
|
| |
Add cleanup arg in libs to skip the cleanup part.
Change-Id: I115b33604414c0ecef2cdd57a880684cc7166766
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains libraries -
1. match_pv_and_heketi_volumes - library for matching heketi volumes
and PVCs.
2. heketi_volume_list_by_name_prefix - library to getvolume id and
cluster id.
3. match_heketi_and_gluster_volumes_by_prefix - library for matching
heketi and gluster volumes.
Change-Id: I02af31405a9836000d758a2ffac932be13e52a03
|
|
|
|
|
|
|
|
|
|
|
|
| |
As per documenton [1], 'yaml.load(raw_data)' is deprecated and
suggested to use parameter 'Loader=yaml.FullLoader'. Fix such
instances of yaml.load in functions - oc_get_yaml, get_events
and enable_pvc_resize
[1] 'https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation'
Change-Id: I1fc5544f6f7f12b55e420486b4460f26db214139
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
'get_block_hosting_volume_list' will get failed in case user pass
'json=True' value as this function works on raw output of
'heketi_volume_list'. Add code to pop 'json' param in case user
pass 'json=True' value.
Change-Id: Iad053762fd1fa0c25bc4d01c038d20450e29676c
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
Test case to validate metrics
add config data for metrics
add config data of registry namespace to validate metrics
Change-Id: I4886482ee33847f506ad898d4a313df866d0348c
|
|
|
|
|
|
|
|
|
|
| |
Provisioner name has been changed in "get_gluster_host_ips_by_pvc_name"
of openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
module, since from OCS3.11.4 glusterblock storage class provisioner
name has been changed from gluster.org/glusterblock to gluster.org/
glusterblock-glusterfs
Change-Id: I2549b44e91a0f08384693cd55aea751acda458dd
|
|
|
|
|
|
|
|
|
| |
which completely duplicates "test_to_create_and_delete_dist_rep_vol"
in 'test_create_distributed_replica_heketi_volume.py' test module &
fix cleanup code for create_heketi_volume_with_name_and_wait in
openshift-storage-libs/openshiftstoragelibs/baseclass.py module.
Change-Id: I9b3dea28e6330e52caab09311e20b65dd48491b9
|
|
|
|
| |
Change-Id: I6c517278c3f8bf6f374ab60bc27768e503161278
|
|
|
|
|
|
|
| |
Add new TC remove or delete node from heketi, and verify gluster
peer status, bricks on the new node and heal info.
Change-Id: If4b6006a4a58fd581ac9851b377a82f69ce0f30f
|
|
|
|
|
|
|
| |
Add new TC heketi volume creation of size greater than the device size
and verify backup-volfile-servers, replicacount, brickscount etc.
Change-Id: I87cbf0e1d8326ad077f02cf465105aca3f8bdde7
|
|
|
|
|
|
|
|
|
|
| |
We try to distinguish strings from other iterable object types in
several our library functions and now it is not compatible with py3.
The problem is that in py2 strings don't have "__iter__" method,
but it exists in case of py3.
So, fix it by using py2/3 compatible check for string types.
Change-Id: I3f833b5e79f1563a3ae6a2bb9ae43d8919d82c30
|
|
|
|
|
|
|
| |
The purpose of this test case is to confirm that provisioning succeeds
if at least 3 nodes are UP in a CNS cluster with nodes >3.
Change-Id: I7fc1f851114d921f65e819db23502776526e6827
|
|
|
|
|
|
|
|
| |
Create network failure while deleting PVC's
Network side failure is introduced by opening and closing the ports
related to gluster-blockd.
Change-Id: Id3a749aa1a051bbce99b85046fa0a79831e85dd5
|
|
|
|
|
|
|
| |
Fix the library via adding cleanup power_on_vm which was missed during
library creation.
Change-Id: I6b2fe78378cac61cee5d630562c0ba7201bbaa4e
|
|
|
|
|
|
|
| |
Add new TC where we verify iscsi rediscovery is happening properly
on restart of initiator nodes when one gluster node is down.
Change-Id: I515bb27d43843f7c19c4a12b6531a212e9c3285a
|
|
|
|
|
|
|
| |
Add new TC where it will verify PID's of gluster volumes are same when
volume options value is different.
Change-Id: Ie0cae1ad3fdfd35e4c0e7f01e3a048b62b185369
|
|
|
|
|
|
|
|
| |
Move 'topology_volumes_with_bricks' func to the "heketi_ops" module
to be able to use it in other test cases.
Change-Id: I7cca884a4f3fb34ec15bb947d3c39d9226e294d0
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|