| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Icd7b817b2ba680c47cd7c27fe95ad791d2e217b8
Signed-off-by: Arun Kumar <aanand01762@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fix consits of -
1. Add conv=fsync in dd to sync io after pod reboot
2. Add steps to wait for events after node reboot
Change-Id: I53d1d9262fe05f9acd68ad18b8a0f48fd6716dea
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
|
| |
TC 'test_initiator_side_failures_create_100_app_pods_with_block_pv'
creates 100 pods which is part of scaling and fails due to setup
issues.
Change-Id: I923feaf37c6c0442632bf14ee88e0e27f414d8b0
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Python3 returns iterator of list for function 'dict.items()',
which cuases 'RuntimeError' while trying to update dict inside
loop. Convert this iterator into list while looping over the
dict items.
Change-Id: Ia339bb89c4a8dbacae1c66ff41110975db73e9d7
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
| |
Change-Id: I41d4817fe39ad9c4b26eee659eaaeda563f72496
Signed-off-by: vamahaja <vamahaja@redhat.com>
Co-authored-by: crombus <pkundra@redhat.com>
|
|
|
|
|
|
| |
Change-Id: Ib4cd81191be5c53d104e3460274e18c94f070dd2
Signed-off-by: vamahaja <vamahaja@redhat.com>
Co-authored-by: crombus <pkundra@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: I43ebf7f489f0e80f33992edc7cea6a54dcc8a531
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I1d497a9b61762e68558026ddc49e5269b0354ce1
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
| |
Change-Id: I29093a09c3f0cc09eaa9c6d94bad882c0bafd91c
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
|
|
|
|
|
|
|
| |
Fix test to run when iscsi-intiator-utils
package is not less than 6.2.0.874-13.el7
Change-Id: Ic3af5302a415c2d2420ad9b92f2d82246420beea
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This TC verify iscsi login and logout is happening properly on deletion
of app pod when initiator and target on same node.
Change-Id: Ia812cbbddef4fcab2f3762c930a38c0c8af62417
|
|
|
|
|
|
|
|
| |
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: I5bb2760ff284cdc83424388bfdfc79d5fd112f21
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
| |
Change-Id: I4196cb1395a3720e03f62473d11e5f46d797c355
|
|
|
|
|
|
|
|
|
|
|
| |
New TC insures that app pod is restarted properly when one of the
target node is down.
This patch includes libs of vmware api
These libraries can perform VM operations like power on and off via
vmware client api's.
Change-Id: I11ad4dc3318cb0583de5882d8067ed7e30ea9962
|
|
|
|
|
| |
Change-Id: Ia4e0fb737b16ea7bdc8ffd5ae44cdd418471552a
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
This test case verifies that when tcmu-runner is down we are able to
run IOs on block volumes, and stoping tcmu-runner would effect
gluster-blockd and gluster-block-target services.
Change-Id: I0b4a23f7c2dce909f07a22893f83a6c1d0285091
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Rename TC modules to appropriate name and move them to correct
component.
Change-Id: I87c9bb7822c17c955dd9c2d780ef08e4d4e0d7ee
|
|
|
|
|
|
|
|
| |
Before, these libraries could be used for 'active' state only. Make it
accept one additional 'state' argument for possibility to use it for
any state, not just one.
Change-Id: I6d4fbd7584b308e3ad248213cb0ec3f4996f6437
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
Move all the files of 'tests/functional/common/' dir
to the 'tests/functional/', because 'common' is the only
dir there, which doesn't really makes sense.
Do the same about 'tests/functional/common/heketi/heketi_tests'
and 'tests/functional/common/heketi/'.
Change-Id: I1fa55e2e7bf09e9b9115629b06e1fd160e291a36
|