| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Separate node reboot functionality from single test case to re-use
it at other places. Update test case accordingly.
Change-Id: Ib9a7f15d29237e4f21aafc408c074e799e706740
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
"get_gluster_pod_names_by_pvc_name" function depends
on the ocp3.11 specific shell command, which fails on
old OCP versions. So, fix it by getting info in compatible way.
Also, update usages of this function with new return data structure.
Change-Id: Ibb8559590a1288c032630b3292f631d28bc87263
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
This test case validates bhv options like
features.shard,shard.size,shd max threads,
and performance related ones
Change-Id: I991f13e1b744486281e98813f169630a666eeb59
|
|
|
|
|
|
| |
Add steps to verify endpoints
Change-Id: Ibf09e8f0e2cefb0d45755225c051f2a11fe43860
|
|
|
|
|
|
|
|
| |
Create 3 volumes using heketi-cli command, verify their presence in
heketi topology info, delete 2 volumes and validate their deletions
and presence of 3rd volume in heketi topology info
Change-Id: I78298d2aec21ff8031ff01efd53f11ba31e269c9
|
|
|
|
|
| |
Change-Id: I7ead23c46a472fee70d684c45f32f5e4efb0674f
Signed-off-by: kasturiNarra <knarra@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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This test case checks if invalid size is passed, size of PVC does
not change. Verify the size of PVC and I/O can be performed on
the volume attached to PVC.
Change-Id: Ia833c76a6d9990ebbac78759c54dc7d28f530ec6
|
|
|
|
|
|
|
| |
Create storage class one for file and one for block volumes with invalid
clusterid. Create PVC from those SC's and it should not go in bound state
Change-Id: I73848a4e213cc34e374eddbe0eb27d3e35e27d71
|
|
|
|
|
|
|
| |
Restructure initiator_side_failures and make another function out of it
which can be used for verification of iscsi and multipath at many places
Change-Id: I6bc4b9e7679bee413d726be426df5796eaf97fc8
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It will allow us to recreate SSH connections when it is broken.
Also, do following additional things:
- Fix 'podcmd' module, where 'user' argument for 'g.run' is missing in it's
wrapper.
- Use "g.log.error" command to log errors when they appear inside of
the 'cmd_run' func.
- Delete several unused commands, instead of fixing them.
- Update several test cases's logic due to the changes in the libraries.
Change-Id: I908e5adcff739b6ab3a4aefaebfe46abdee22655
|
|
|
|
| |
Change-Id: I5cada2a8dff40516310de38e23b98de2a64efc11
|
|
|
|
|
|
|
| |
Instead of crafting it manually. It allows us to use both approaches
from 'openshift-ansible' lib for naming of this dc - old and new ones.
Change-Id: Iac4513a50de51aefd401d2af4c798366ec10b02a
|
|
|
|
|
|
|
|
|
| |
Now, this function hides info about the real problem which caused error
So, make it raise exceptions in place with info about error for ease of
debugging.
Also, fix it's usage providing mpath always.
Change-Id: I8cbc62a12f3999e3d64fb6b504865f30b1602cf1
|
|
|
|
|
|
|
| |
This TC verify the expanshion of BHV and after expanding volume verify
that space is usable.
Change-Id: I2621aedc1cbddcad374fe52013aba2d48acfd1e0
|
|
|
|
|
|
|
| |
The purpose of TCs is to validate that block device size cannot be more
than the block hosting volume.
Change-Id: I35aac44bdc2b3e72f1de9ab167e1468ece932f14
|
|
|
|
|
|
|
| |
"test_pvc_deletion_while_pod_is_running" test case is not supported
on OCP 3.9. Added skip statement for OCP 3.9
Change-Id: I5af35145c35371e7eed37d78c2fb9ce23dc9ffa6
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Verify that when heketi is down PVC expansion should not work.
Bring heketi up and running, when heketi is up expansion should work.
Change-Id: I4303a82581a91db220ff226f53dea7dc49d22d93
|
|
|
|
| |
Change-Id: I1d9c7e14525ad8de35bfa7be8fffc533c010248b
|
|
|
|
|
|
|
| |
Check if volume name is combination of string 'vol_' and volume id
and check volume is present in heketidb and gluster cluster.
Change-Id: I755a6447fe653a4ba148798f4c0317aa08a4a4eb
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Because BZ-1609703 was fixed.
Change-Id: I86e7690e8a190d9f913fb0140780a0bcbcce1e72
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ib596c79ea3e7c3dd6c83c533e708313f3c4ecc2f
|
|
|
|
|
|
|
|
| |
Rename test module to remove P0 from its name.
Which will let us comsume same files for adding other priority test
cases as well.
Change-Id: I66cbb34ba7ecee1130b7d55952310955a9fe8722
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add 2 test cases, where one verifies creation of an app pod on the
Gluster node and another on the separate node
Change-Id: I99dfc5db7fa74d0f69115cfed470f72e66b1a256
|
|
|
|
| |
Change-Id: I519ce5c26f7bd6480a48512744626ba812524413
|
|
|
|
| |
Change-Id: I95154066af3e574059199ced18239f7e34c95335
|
|
|
|
|
|
|
| |
Changing assertion logic. Now, instead of checking fstab file,
we check brick paths presence on Gluster PODs and nodes.
Change-Id: I00ed0cb5ef18b67ad0f112276120624c0c0b0763
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now, we use single prefix for all the test cases of
'test_gluster_services_restart' python test module.
It is fragile approach, because if first test fails to delete
heketi or gluster volume, then all other test cases fail too,
but should not do it.
So, use unique prefixes for each of the test cases in this module,
to make failure be unique per test.
Change-Id: I1cc68ffc0553f79d0b0623335a2aaf985feabade
|
|
|
|
|
|
|
|
|
|
|
| |
Renamed cns_baseclass.py to baseclass.py with updated BaseClass.
Merged HeketiBaseClass to BaseClass with appropriate changes.
Updated delete_volumes and delete_block_volumes methods used in
test case method with heketi_delete_volume and heketi_blockvolume-
delete.
Change-Id: I8f623f1692cd863dc8ff041f7e8525ee0dc84f7b
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
| |
Change-Id: I40b7ea79d1f7dbc82db825f6ced4447a157361e6
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In some cases, it is useful to stop test execution after first failure.
Not only stop it, but also skip all the scheduled cleanups.
It will allow us to keep a cluster in the best state for a root cause
debugging.
Just define 'common.stop_on_first_failure' option to True value
in the config file. It will make the test runner stop after first
failure skipping all the scheduled cleanups and pending test cases.
Change-Id: I963eb038a11a8e2088a84f7ba4838870ea3e657a
|
|
|
|
|
|
|
|
|
| |
Add Heketi version checks to the test cases and Heketi libraries.
In case of incompatible Heketi version in a setup,
test cases will be skipped and direct usage of Heketi libraries
will cause them to raise the NotImplementedError exceptions.
Change-Id: I462e76f615165140f2a8c7e796c1c582b8f4dc91
|
|
|
|
|
|
|
|
| |
This library is helpfull for diagnosing output of gluster and heketi
and it compare both the outputs and the test case verify this feature
is working properly.
Change-Id: Ice607003f32db2bce2f540a7651024b66b071634
|
|
|
|
|
| |
Change-Id: I9ab3c6bea56a02f76ce818ee095ffe4afc0e64c0
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
Trying to create pvc with defined arbiter file size and
verifying that when we are expanding volume it is expanding
according to avg file size
Change-Id: I5c39339f70702bf685c237ae16e21f54384e51db
|