| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
- In test case 'test_heketi_volume_create_with_cluster_node_down'
function glusto-tests 'get_volume_list' function returns 'None'
in case of failure.
- Add assert statement to check whether 'get_volume_list' function
returns expected gluster volume list.
Change-Id: I2b11bb33b1346d88db0501d000f32515db86279d
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
| |
Code creates file volume and tries to delete blockvolume
instead of file
Change-Id: I4c73f388dc10a153f254c479bc8bf127df644916
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Change code of func _create_distributed_replica_vol to
handle block hosting volume creation as well.
Change-Id: If4b1f48dc8cbe257254a2729599f58f302b403d8
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix test to run when iscsi-intiator-utils
package is not less than 6.2.0.874-13.el7
Change-Id: Ic3af5302a415c2d2420ad9b92f2d82246420beea
|
|
|
|
|
|
|
|
|
|
| |
In the 'test_heketi_node_operations::TestHeketiNodeOperations' class,
if we define 'additional_gluster_servers' option, but do not provide
there any value, then we fail. But, "skip" is expected in such situation.
So, catch "IndexError" exception and make tests be skipped after it.
Change-Id: Idfb1cdfc6941d284a4dc8e670c2eb5510eafe744
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Test case 'TestPvResizeClass::test_pv_resize_no_free_space' fails
due to bug 'BZ-1732831' which is fixed in OCS version 3.11.5. So
skip this test case for OCS version below OCS 3.11.5.
Change-Id: I7e26293c3defb332da64fd32dda4ed9011db7176
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
Add skip for package 'iscsi-initiator-utils' in test case
'test_initiator_side_failures_create_100_app_pods_with_block_pv' due to
issue 'BZ-1624670'
Change-Id: I4730b298e367fdacbaac1f314b760df6d7642e14
|
|
|
|
|
|
|
|
|
| |
Make test cases use local var 'prefix' not depending on the
'self.prefix'.
We get 'AttributeError' error when 'self.prefix' is not set.
And it can be set only when one of test cases gets run.
Change-Id: I767e037e70e019ecb3a719d898dfe2b020dddff0
|
|
|
|
| |
Change-Id: I6c517278c3f8bf6f374ab60bc27768e503161278
|
|
|
|
|
|
|
|
| |
Create network side failure during creation and deletion of the PVC's
Network side failure is introduced by opening and closing the ports
related to gluster-blockd
Change-Id: I0e7d97f0bf4a786f9ebb4cb5ccba5e5fd5812fc6
|
|
|
|
|
|
|
| |
Add new TCs where TCs verify that volume operations works while node
removal is running.
Change-Id: Id5092761253eb8f221c5fb39cfb95765f3087eea
|
|
|
|
|
|
|
| |
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 TC where it creates two volumes with the same name via heketi and
verifies that first one gets successfully created and
the second one gets failed.
Change-Id: I36e9bb1ed93b807458fcbdf8d417ada1cbc7b943
|
|
|
|
|
|
|
| |
Add new TC heketi volume creation of size greater than the device size
and verify backup-volfile-servers, replicacount, brickscount etc.
Change-Id: I87cbf0e1d8326ad077f02cf465105aca3f8bdde7
|
|
|
|
|
|
|
|
|
| |
Simulate situation where we have attached block-PVC to a pod,
and some I/O is going on there. After sending "delete" command
to it I/O must not be interrupted and should be finished successfully.
The state of PV is expected to be changed to the "released" state.
Change-Id: If8fb27b35253f01ab67772e72e5fb9f2f335d51b
|
|
|
|
|
|
|
| |
Cleanup function was missing after creation of PVC in
test_creation_of_pvc_when_one_node_is_down TC.
Change-Id: I9077f9f58248a8a08a236f7a50f1917c96181fd9
|
|
|
|
|
|
|
|
|
|
| |
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 tc where we simulate targetcli failure in parallel to the
block PVC creations.
Change-Id: I6f94079593d8ff978c321b64729b4c0b67810c23
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Verify I/O's are running when we close the ports 3260 and 24010 on
the active or passive paths
Change-Id: Ib1d69fca8f4894fd50bcc30f23ec0304f2fb5230
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Confirm no inconsistencies occur in targetcli when block
devices are created with one block hosting volume down.
Change-Id: I2a755ef2a88c6e6ca5326be3787ac07c0fb7db26
|
|
|
|
|
| |
Change-Id: I482ac6ebed181546a18595c6a6b21d2115782b3a
Signed-off-by: vamahaja <vamahaja@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>
|
|
|
|
| |
Change-Id: I78eb0975c60d1c16b05914bed74b6f942dd0335e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This plugin is used to suppress failed exit code with option -
--suppress-tests-failed-exit-code
e.g:
tox -e functional -- glusto -c gct_config.yaml \
'--pytest=-v -s tests -k test_check_bmux_enabled \
--junitxml gct_results.xml \
--suppress-tests-failed-exit-code' \
--log gct_logs.log
Change-Id: Ic2b6041d554ec737982844fc6ac8b4840b3947e1
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I4a2ac7b819929c2de6c8ea5520257800d2e134cc
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following combinations are added:
- 1 zone, replica3 volume, no zone checking flag
- 1 zone, arbiter volume, no zone checking flag
- 2 zones, replica3 volume, no zone checking flag
- 2 zones, arbiter volume, no zone checking flag
- 3 zones, replica3 volume, no zone checking flag
- 3 zones, arbiter volume, no zone checking flag
- 3 zones, replica3 volume, strict zone checking flag
- 3 zones, arbiter volume, strict zone checking flag
Change-Id: I130dcc7c6306b1cdfdee6a860fced19f48474006
|
|
|
|
|
|
|
|
| |
Validate creation of volume with snapshot enabled
and create and delete snapshot created.
Change-Id: I7173ed6fb6659963e29cc0f1b1ede0ce7c6fe2a4
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
| |
Validate total nodes count in heketi db check is same as
heketi node list.
Change-Id: I6004537c251f8e512afabe88e0fb284624421b8d
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
| |
Validate block volumes using heketi db check in heketi blockvolume list are same.
Change-Id: Ibbaf038c05ef347d195140c2ba2c18f2d58c3b5e
Signed-off-by: Sri Vignesh <sselvan@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>
|
|
|
|
|
|
|
|
|
|
| |
It happens that regex fail to find expected message in oc events
related to the stopped service. The reason is in the not static
part of the error message, it may vary.
So, fix mentioned tc by removing part of the regex, which can vary.
Also, update several other parts of the tc making it use less codelines.
Change-Id: I905f63b2b9aefbe72df610d223da4569ccb14d5e
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
'test_tcmu_runner_failure_while_creating_and_deleting_pvc ' tc may fail
occasionally when one of the following situations happen:
- PVs get deleted very fast, so tc may fail to get their statuses.
- PVs may not be updated in time due to the 'slowness' of a cluster.
So, to avoid problems related to the above mentioned situations,
just check all the deleted and created PVCs, not filtering them.
Change-Id: Ib24c5fd7c3310daa0e5523f2c6c1fd90bd958e60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Add new parameter 'additional_gluster_servers' in config file for node
add and node remove TC's.
Change-Id: I1472b09e0603179f81cbe145fad4343c8c2b6de5
|
|
|
|
|
| |
Change-Id: I22410ad8c81ca71ac9c2cbaddd66f086abcdf3c5
Signed-off-by: vamahaja <vamahaja@redhat.com>
|