| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: If1a15f6bfd8b1a106ab19d949aae03bf8d6d4e62
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Test case 'test_check_pvc_placement_based_on_the_heketi_zones'
has code to check for availabe heketi zone and validate brick
placement which can be used in other test cases. Separate this
code onto two different internal functions.
Change-Id: I76233a1a8bed1e6ab11f91a7820c90a26fa71381
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: Iac66f50dffe8688f8c9bd53b1298a68484a39afd
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
|
| |
Change-Id: I8864284957bfcfa505238c9dfcac16650f8260b3
Signed-off-by: vamahaja <vamahaja@redhat.com>
Co-authored-by: crombus <pkundra@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: I079c8ddd0e72b55754e075de06ca168b220f80c8
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Fix consists of -
Test case 'test_initiator_side_failures_create_100_app_pods_with_block_pv'
creates 100 i/o pods with PVC which takes time and may fail in case cluster
is slow. Move this test case to tier2.
Change-Id: I540e268eae81f7934e0d0f2d2aa6168c388c1a66
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I7f317d6e6c8f86dc0c5e8bbe0a42a4586751d2e1
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: Ic79952701f0e7029fb9ddf5394e247d25347acaf
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: I2cde18222ba56a25962e3e3e63580c7ac2f38ceb
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: Ifcd7913c352d11ef43fb92c304602f0f2f40693f
Signed-off-by: susgupta <susgupta@redhat.com>
|
|
|
|
|
| |
Change-Id: I43ebf7f489f0e80f33992edc7cea6a54dcc8a531
Signed-off-by: vamahaja <vamahaja@redhat.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>
|
|
|
|
|
| |
Change-Id: Ia5a0d5a8ac9319628f9a3d4d00d0f70876fe3281
Signed-off-by: susgupta <susgupta@redhat.com>
|
|
|
|
|
| |
Change-Id: I591ee6b5a3e0b56fa74bd520fc0e522662c812ce
Signed-off-by: rachael-george <rgeorge@redhat.com>
|
|
|
|
|
| |
Change-Id: Ie44ec19689c0a28864dbd681a403a4cddcd9ffc3
Signed-off-by: rachael-george <rgeorge@redhat.com>
|
|
|
|
|
| |
Change-Id: I0e3dc795b76edd73a19a10224bb7f28fa3e28f42
Signed-off-by: rachael-george <rgeorge@redhat.com>
|
|
|
|
|
| |
Change-Id: I51d6e8ce22e90668582f5b8403f6024c6027b7d7
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I245d2915d30a42c83a4f4ac12f8f7a23cb4888ee
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>
|
|
|
|
|
| |
Change-Id: I10642910362e0eca57d913e4ac15496862fef8cf
Signed-off-by: kshithijiyer <kshithij.ki@gmail.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>
|
|
|
|
|
|
|
| |
Add variables in config file which will help us to scale our setup.
Change-Id: I99739a090c1b2fd92afc2242b5ec6552205ce92f
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
|
|
|
|
|
| |
Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix consists of -
Remove dc name which is passed twice to function
'get_pod_name_from_dc'
In test case 'test_heketi_metrics_heketipod_failure' function
'get_pod_name_from_dc' is called by passing dc name twice,
because of which 'timeout' is passed as dc name instead of
integer value hence raising an exception 'TypeError'.
Change-Id: I6827a8f9bbd847f346ea6b519db97181219f9717
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
| |
Change-Id: I28af35fdcc27e30957e02d83e19f0a7d4211f18b
|
|
|
|
| |
Change-Id: Ifb9c582c18d9e7a8bfd01d3b6a45e105c9ad8db4
|
|
|
|
| |
Change-Id: If0024c4b99eee0d0971077556b033ace5104c982
|
|
|
|
|
|
| |
Add cleanup arg in libs to skip the cleanup part.
Change-Id: I115b33604414c0ecef2cdd57a880684cc7166766
|
|
|
|
|
| |
Change-Id: I6552a5de34b329ff5638898bac36a4d5ec5291a3
Signed-off-by: susgupta <susgupta@redhat.com>
|
|
|
|
| |
Change-Id: I757388d8f9c14549a7ec408868e3b86c92362a22
|
|
|
|
| |
Change-Id: I7645a8aecad7fd0a94b7f769018be0b4ac9070d9
|
|
|
|
| |
Change-Id: Ie6bda59e6bee1bde5d2b04a5c8c311d9c046c7a5
|
|
|
|
| |
Change-Id: Ie72a25ce90fd10dd8b86878d235d71814703b1ef
|
|
|
|
| |
Change-Id: I556e7f03013bd39780f2107f91aedec87a3c2ee0
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: I332a66659b5abefb5d5052232ec9b61124860575
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
List of changes -
1. Remove test file 'test_device_info.py' as it contains only one
test case which can be part of test file
'test_heketi_device_operations.py'
2. Change test case name 'test_device_enable_disable' to
'test_heketi_device_enable_disable'
3. Change test case name 'test_device_remove_operation' to
'test_heketi_device_remove'
4. Change test case name 'test_heketi_with_device_removal_insuff_space' to
'test_heketi_device_removal_with_insuff_space'
5. Chnage test case name 'test_heketi_device_delete_operation' to
'test_heketi_device_delete'
6. Move test case 'test_heketi_devices_info_verification' to
'test_heketi_device_operations.py' and rename as
'test_heketi_device_info'
Change-Id: I8ddc9beb7bc697214242212e50c9727ce644f2c1
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
TC is failing when there are no BHV's before running the TC
TC is failing during the validation of the total free space
Add following steps to fix the problem:
- Get the default BHV size if there are no BHV's before excuting the TC
- Calculate total initial free space of all the BHV's
- Compare the initial and final free space of BHV's
Change-Id: Ic13c201ad04b02b80ca73d41b3c42451202ed181
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Ibb96e961b1501ef696858a5eec80422471e877fd
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
Delete a gluster pod which is hosted on active path
Wait for new gluster pod to come up
Verify the state of cassandra pod, iscsi and multipath
Change-Id: Iba938e7203e6fb86cd953c48040f6f730df8626c
|
|
|
|
|
|
|
| |
Create volume and see the pending operations of volume and bricks
in heketidb and verify that after creation count is changed.
Change-Id: I2d73f82bde422fdffc1fbbdc14564a0c8ffa99aa
|
|
|
|
|
|
|
|
| |
Test case to validate metrics
add config data for metrics
add config data of registry namespace to validate metrics
Change-Id: I4886482ee33847f506ad898d4a313df866d0348c
|
|
|
|
|
|
|
|
|
|
|
|
| |
'deployment' directory contains obsolete and unsupported
approach for deploying OpenShift and GlusterFS storage.
Separate deployment approach has already been used for significant
amount of time.
So, delete local 'directory' as it makes no sense to keep it.
Moreover, it may be confusing for people who may try it out
and see unpredictable errors.
Change-Id: Ibf353500bab59853f597304cb9c1990102c000ef
|
|
|
|
|
|
|
|
|
|
| |
'test_heketi_node_operations' tc tried to use incorrect
'additional_gluster_servers.additional_devices' config option. Change
it to 'additional_gluster_servers.devices', as it is expected by the
configuration.
Change-Id: I2351814bf35a78724f84d954abd7ce780e945328
Signed-off-by: vamahaja <vamahaja@redhat.com>
|