| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I07a9aba662e6911cd10f68e9e2c52d4d26c311f3
Signed-off-by: Nitin Goyal <nigoyal@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>
|
|
|
|
|
| |
Change-Id: I123fbf1b6ff8794454d61a57493e0bdfbcd217fe
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: If583d912d6c24862f8b26424abf62f8e0942dc45
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
| |
Change-Id: I7f317d6e6c8f86dc0c5e8bbe0a42a4586751d2e1
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
'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>
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Fix consists of -
- Remove steps for add device validation.
- Add steps for gluser peer status validation.
- Add steps for endpoints validation.
Change-Id: I773a883b1ea8bb2bc93660db3459fd864fcd1317
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change required due to -
1. Get block volume by prefix is common step which is used
in two places for now and will be used in other places
too.
2. Hence add library "heketi_blockvolume_list_by_name_prefix"
in heketi_ops.py.
3. And use added library and update code from class
"GlusterStabilityTestSetup" and "TestGlusterBlockStability".
Change-Id: I9e60d58d5c84380104081335745270b3d21ff071
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I22410ad8c81ca71ac9c2cbaddd66f086abcdf3c5
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
| |
Change-Id: I96759bbcd74cad7755c99255b4b96261133d5adc
|
|
|
|
|
|
|
|
| |
Add library to check db results
Validate count of volumes of heketi and db are same
Change-Id: I6e75f2d8d5f19a94c1dced5a07f9c948b4de9ef4
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
| |
Change-Id: I46ad6aefd3c699b4ce7807db89c2016791a48e05
|
|
|
|
|
|
| |
Change the 'cluster' to 'clusters' in kwargs description.
Change-Id: Iac9170d0549adc6bb5b76f5772de47d1db083951
|
|
|
|
|
|
|
| |
Remove json description from heketi_device_add library as it is not
supported.
Change-Id: If3121294dc9456587af36d65726842f399730a9b
|
|
|
|
|
|
| |
This reverts commit 046244942f7ad3f5f24b675dfa299ad955f1412f.
Change-Id: I1f49d613af3dd236bf4113db757cbf9ce752e973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix consists of -
- Use "**kwargs" approach in the "heketi_node_list"
function as it is done in lots of other functions.
- Parse the CLI output in the "heketi_node_list" function
using regex instead of the splitting and stripping strings.
- Combine test cases related to the same feature into one
module - test_heketi_node_operations.py
- Remove redundant checks which already exist in common
libraries.
- Remove unnecessary logging.
Change-Id: I815ddfbbacb765140229e7630ec87a6bbaa6255b
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
| |
As part of the fix loaded the output into json which was missed.
Change-Id: Ia3d07f768362232ec2b34641be1a6ae4c4eec399
|
|
|
|
|
| |
Change-Id: I5886680a0d5666c68c677893e0fb327be0e80760
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
modification in block volume name parameter passed twice while
creating
Change-Id: Ieb827a8e7fa40a84eed7f8c5e90760710e6615b2
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
| |
Change-Id: Iaa7deca275958d4de68601dc16d1920f3dab85f2
|
|
|
|
|
|
|
|
| |
Add fix to test cases which are skipped due to bugs -
BZ-1644685, BZ-1652913, BZ-1634745, BZ-1635736, BZ-1636477, BZ-1641668
Change-Id: I03a7f7dddaba5d3e41770969352b2263c84cb920
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I7ead23c46a472fee70d684c45f32f5e4efb0674f
Signed-off-by: kasturiNarra <knarra@redhat.com>
|
|
|
|
|
|
|
|
| |
It happens that heketi client located out of the Heketi POD may fail
not reaching the server side. So, add back-up approach where we run
Heketi commands on a Heketi POD when main commands fail.
Change-Id: Ie6ae5be82082f34426f9288b02575e3abd4940f5
|
|
|
|
|
|
|
| |
This TC verify the expanshion of BHV and after expanding volume verify
that space is usable.
Change-Id: I2621aedc1cbddcad374fe52013aba2d48acfd1e0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Required steps to run test cases using py3:
1) Install py3
2) Install 'tox' package using "pip3"
3) Run test cases using tox package installed via pip3
Note that full py3 support is not tested yet. It only allows you to run
it on py3 not providing any guarantees.
Example:
$ python3 -m tox -e functional3 -- \
glusto -c /path/to/the/config/file.yaml \
'--pytest=-v -rsx tests -k test_glusterblock_logs'
Change-Id: I610faac0b75364c401734b6f892649893ca2320e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It happens, that Heketi commands hang.
So, to avoid cancelling of whole test runs, add
timeouts for Heketi commands.
By default, timeout is 120 sec (2 min).
If it is needed to change default value, then
define following config option:
common:
heketi_command_timeout: 180
Change-Id: I79f33daa05bde9a37245e94e66042944c6cd9242
|
|
Move all the files of 'cns-libs/cnslibs/common' dir
to the 'openshift-storage-libs/openshiftstoragelibs',
because 'common' is the only dir there, which doesn't really makes sense.
And "cns" is old project name, so, replace it with
"openshift-storage-libs".
Also, fix all the imports of these libs.
Change-Id: Ife00a73554e73b21b214b15016b0c8dbbf423446
|