| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I4a2ac7b819929c2de6c8ea5520257800d2e134cc
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
Create network side failure by opening and closing the ports
related to gluster-blockd during creation of the PVC's,
Verify PVC's are bound and validate multipath.
Change-Id: Ibc53a13e2abb8674661da83d5881a13bbb2ad7fb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In OCS 3.11.4 was changed the approach for 'provisioners' in storage
classes due to the BugZilla bugs [1] and [2].
So, change the approach for getting 'provisioner' value in this project
making it be autocalculated based on the data taken from the
block provisioner pod, which is located in the working namespace.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1732787
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1738394
Change-Id: Ic1037038e39abba2b2a1ad6dc3ddbfe42473cb88
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Define 'check_heketi_db_inconsistencies' config option setting
there 'False' or 'True' values. Default value is 'True'.
If heketi client doesn't support the 'heketi db check' feature, then
'heketi db check' just won't be performed.
Change-Id: I7faff35b15e40d864c0377ae7fee154e217d8eae
|
|
|
|
|
| |
Change-Id: I22410ad8c81ca71ac9c2cbaddd66f086abcdf3c5
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
| |
As of now user can only pass dc name as argument
to validate iscsi and multipath session, with this
support user can also pass pod name by specifying
rtype=pod
Change-Id: Iecc86edc2a2239fc05535f0e4f7e9ae93d5e76f5
|
|
|
|
|
|
|
|
| |
Add new function called 'wait_for_pvcs_be_bound', which allows us
to wait for 'Bound' state of multiple PVCs using single timeout.
Also, reuse this new function in the baseclass.py
Change-Id: Ia3809d322925b90fdef984db59b3e9e83a82abc7
|
|
|
|
|
|
|
|
|
|
| |
Add new function called 'wait_for_resources_absence',
which allows us to wait for absense of multiple resources
using single timeout.
Also, reuse this new function in the baseclass.py for PVC/PV
removal waitings.
Change-Id: I6e3daae012199e50d3aeb68b697cfae801b0b49b
|
|
|
|
| |
Change-Id: I4a6fd02f5713b4e86a9d70cdaffd3ca9369932f4
|
|
|
|
|
|
|
| |
Add new TC verify PVC's create and delete fails while gluster-blockd
and tcmu-runner services are down on one node.
Change-Id: I5acbcfd6c9a227c0cce21c62f5e162caf970aa22
|
|
|
|
|
|
|
|
|
|
| |
Add 10 test cases for testing Heketi zones feature.
To make all the Heketi zones test cases run in the single suite using the same
cluster set 'common.allow_heketi_zones_update' config option to "True" value.
By default it is set to "False" and only small set of test cases can run
having such value.
Change-Id: I69a1f7c96c9f52a06134e715e113ccd9b06764e6
|
|
|
|
|
|
|
|
|
|
|
| |
In test case when we use large disk size, heketi takes time to create
volume and due to timeout it gives error.
Add fix in such test cases to check if volume created after getting
an exception, get details of such volumes or raise exception in case
it fails to create volume.
Change-Id: I1c23a8c6558c23edf8947771e4f41a4bd3ffd66a
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Gluster block test cases failed with error "self.node" variable not found
as self.node variable is not created in "GlusterStabilityTestSetup" class.
Fixed change in baseclass.py by using variable "self.ocp_client[0]".
Change-Id: I2affabbb626b7e266a9bb243d3ec249229ec9670
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
| |
Change-Id: If30737958bc667264fc01fe81d411f406b501918
|
|
|
|
|
|
|
|
| |
Move get_block_hosting_volume_by_pvc_name from
test_restart_gluster_services to baseclass to
be able to reuse it in other test modules.
Change-Id: I65847792601b422293d4baed2ccade664ad7e54b
|
|
|
|
|
|
|
| |
Added Error msg in GlusterBlockBaseClass for better visibility in case
of failures or debugging purpose.
Change-Id: Ia92cd6f6129cb5aa55f6f8e807ef056e54691956
|
|
|
|
|
|
|
|
| |
We have test cases which create more than 1 app DC at once.
So, add functionality to be able to create bunch of DCs in parallel
and reuse it in one of test cases.
Change-Id: Id606d02c31a919bbc6d49d59714dd5628c6a835d
|
|
|
|
| |
Change-Id: Iaa7deca275958d4de68601dc16d1920f3dab85f2
|
|
|
|
| |
Change-Id: I2ebc1c2e7e7aefb5e0d70342a7ec243a12b0663b
|
|
|
|
|
| |
Change-Id: Ia4e0fb737b16ea7bdc8ffd5ae44cdd418471552a
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
| |
New TC verifies that it is possible to run IOs on block
volumes when gluster-blockd service is down.
Change-Id: Ia1de14d2990f833221f6725e9b0e48d77ef85c10
|
|
|
|
|
|
|
| |
move gluster-block stability TC to new module named
'gluster_stability/test_gluster_block_stability.py'.
Change-Id: Iac1f432e438a2815bdc2115ab19e0170e46930c1
|
|
|
|
|
|
|
| |
Project has lots of inconsistencies with OCP3.6 and 3.7
So, fix it.
Change-Id: I8d38773637b779e1c2e1631568f100c1ab1fdd50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
BZ-1632873 was fixed, hence, unskip test cases which were
skipped due to this BZ. Also, make it run only on containerized
Gluster clusters.
Change-Id: Iee49a303c4f191652d1c94c18e830e6d2fb4e381
|
|
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
|