| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I1055b232711c95fdbf89ba9fe8b9d61a561fbcd5
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
| |
Change-Id: I96759bbcd74cad7755c99255b4b96261133d5adc
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I81f827f04d8795cb1821d796418cf61578dde037
|
|
|
|
|
|
|
| |
Add TC verify PVC's create and delete fails while gluster-blockd
service is down on one node.
Change-Id: I73332f667526891e0fadf050f53bb33394519566
|
|
|
|
|
|
|
|
| |
Create block volume with hacount 4 when one of the four
nodes is down. Also, create a block volume with hacount 3
and verify volume creation is succesful.
Change-Id: I4bf8b178ac92a71fa5e6b7e9e8220da04c6e872d
|
|
|
|
|
|
|
|
|
| |
Validate the creation of 100 app pods with block
volumes attached to it. Verify iscsi login, multipath and
check for volume mismatch across OCP, heketi and gluster
Change-Id: If400b8d3fe3d0ba0f22169633f0bb537f3f237e5
Signed-off-by: rgeorge <rgeorge@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Create 8 Block PVC and wait for them to get bound. Delete created
PVC's and create 8 more PVC's simultaneously. Kill the tcmu-runner
service while PVC creation and deletion is in the progress. Restart
all the services related to block volumes and verify all pending
operations are completed sucessfully.
Change-Id: I0cb4cd29b92233a65be93f4b96f1a9a0cb8bed9f
|
|
|
|
|
|
|
|
| |
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: Ife24a38ce9787de1d9cca71206a7f98be27da6c4
Signed-off-by: rgeorge <rgeorge@redhat.com>
|
|
|
|
|
|
|
|
| |
Validate whether creation of maximum supported
blockvolumes doesn't have any impact to the
functionality of gluster-block.
Change-Id: I2a1503f527da2d1d916e87ce154e88bf9b5e1fa8
|
|
|
|
|
|
|
| |
Add a device, check there are no bricks on the device and verify
the device deletion.
Change-Id: I0e6adafb730e8d82926ce4e1d7b6b3c4799efc1b
|
|
|
|
| |
Change-Id: I46ad6aefd3c699b4ce7807db89c2016791a48e05
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
By default, we create replica-3 file volumes.
And when we have more than 3 Heketi nodes located in unique zones,
we should check that our file volume is located in 3 unique zones,
not bigger. So, fix this bug.
Change-Id: Id82626425473f5e480ad73b0e17b7a0d675ba8ba
|
|
|
|
|
|
|
|
| |
create app pod attached to pvc
resize pvc to size more than available size
expand the volume to a available size
Change-Id: Iae652fc13f1c5e39e6550529b81b9cd1cd0e4b38
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I4a6fd02f5713b4e86a9d70cdaffd3ca9369932f4
|
|
|
|
|
|
|
| |
Stop glusterd on 2 of the nodes/pods in the cluster containing alteast
5 gluster nodes and verify creation of volume using heketi.
Change-Id: I94570f5bbfa20c19f11f4e14e29d2b1a40612fc5
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simulate situation where we have block
pvc attached to a pod and some I/O is
created on the pod. After sending "delete"
command to it, iqn's present on the nodes
where app pods are running are expected to
be logged out and migrated to a new node where
new pods are running. Also data in the app pod
is expected to be the same.
Change-Id: Ia3a9e77902a29b942b151ea4874125423520f46f
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix consists of 2 parts:
- Calculate correctly left time for waiting in
'scale_dcs_pod_amount_and_wait' function. Before, it had bug,
where we were waiting less time than requested. And it led to the
unexpected timeout errors.
Example: it could fail waiting only 180sec having 600sec as real
timeout.
- Reset 'attempts' on the instantiated 'waiter's to avoid
redundant waiting reusing the single waiter instance.
Example. On deletion of 20 PVCs we save about 1,5 minutes.
In whole test suite we create much more PVCs than 20.
Change-Id: I5d06a63dd0c2c5bd67fdb09fef87948d65e6bf22
|
|
|
|
|
|
|
| |
Add new TC missing parameters for file storage class and verify PVC
pending state.
Change-Id: Ibd8f418934da261058adb4127e60f85465a5ef75
|
|
|
|
|
|
| |
As part of the fix loaded the output into json which was missed.
Change-Id: Ia3d07f768362232ec2b34641be1a6ae4c4eec399
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
"get_ocp_gluster_pod_details" library gives error
"IndexError: list index out of range" in case of
independent mode setup as "get_custom_resource"
returns "[[]]" which in not none.
Added fix to check if any element present in list.
Change-Id: Iffd081f835ffaf9cb50c020cd297444ea2678950
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
| |
Change-Id: If30737958bc667264fc01fe81d411f406b501918
|
|
|
|
|
| |
Change-Id: I5886680a0d5666c68c677893e0fb327be0e80760
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I9cffdb09826e993de6db3d558996c7b46c92a03f
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
| |
Testcase to check if all gluster nodes are utilized
for block volume creation
Change-Id: Id3762d3aff85a628ed972b19fbe15bfa223376c6
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add new TC where we verify rediscovery of iscsi paths
which happen after abrupt reboot of initiator node.
Change-Id: I841e875881c47f8215d48821cd76c0399d43badc
|