| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
This test case talks to the Gluster PODs directly. It is not
compatible with Standalone Gluster clusters.
So, fix this test by reusing special common function,
which allows us to abstract from Gluster cluster deployment type.
Change-Id: Ib131984ac0a4623d1d847f9961be26da573d8513
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doing following:
- Rename top-level config option group called 'cns' to the 'openshift'.
- Rename 'cns.setup.cns_project_name' option to the
'openshift.storage_project_name'.
- Rename 'scale' option to the 'openshift.scale'.
- Delete ''devices' and 'zone' options from 'gluster_servers' config
group.
- Delete 'cns.setup.cnd_username' option as unneeded.
- Delete 'cns.setup.cnd_password' option as unneeded.
- Delete 'oc_login' common function as unneeded after deletion of
'cns.setup.cnd_username' and 'cns.setup.cnd_password' options.
- Remove 'Cns' word from base classes.
- Keep backwards compatibility for old options to make transition be
smooth.
Change-Id: I04ddbbad5f64ffeac79a6744480d33a263d63001
|
|
|
|
|
|
|
| |
The function name was confusing because now we are verifying
functionality of node tags and device tags. So changing the name
Change-Id: I00a2a12cc8b74e5bf9b76018698738550ea0c613
|
|
|
|
|
|
|
| |
this test case is verifying that arbiter pvc expand is working
properly when tags are set on nodes and devices
Change-Id: I7118e5dd94856e36cdfa438f159a39604c50e7c0
|
|
|
|
|
|
|
| |
this test case is verifying that arbiter pvc expand is working
properly
Change-Id: I52c52c9f299ef53c6c8618677d4f3425b5ba2051
|
|
|
|
|
|
|
|
|
|
| |
Several existing arbiter test cases have common bug,
where we substitute incorrect value in error messages
and do it in duplicated code.
So, move that code to separate method,
reusing it in test cases and fix substitution error.
Change-Id: I7787515a4e0cd50c688034dbb41649d96605b2ae
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the moment, most of the test cases and lib functions in
'openshift_ops' python module support only containerized
Gluster clusters. So, to be able to support standalone Gluster clusters
in addition to the containerized ones, add special function
which allows us to run shell commands on both types of Gluster clusters
autodetecting the type.
As an example, update one of the existing lib functions making
all the existing 'arbiter' test cases work in both cases.
Change-Id: Iad69d7dc692c87eb70ed5caf780cb688f274bf02
|
|
|
|
|
|
|
| |
Removing duplication of code.
Also, reuse it in places where it is already duplicated.
Change-Id: I2f88b4921cb7bec01d17e1ddeaeda16e0d198493
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our config file has dead options as well as unintuitive option names.
So, do following improvements:
- Delete unused config options from config file example.
- Delete setting of dead config options to the base class.
- Rename 'storage_class1' and 'storage_class2' config option groups to
the 'file_storage_class' and 'block_storage_class' respectively to
make it more understandable.
- Remove 'secrets' config option group as redundant. Secret names get
calculated from custom prefix and randomly generated string.
Namespace is used the same as for storage classes.
And its 'type' was always storage class's provisioner value.
Change-Id: Ifa6d0ab430e8d69591f49bc7bf4c258151662550
|
|
|
|
|
|
|
|
| |
Latest version of OCS started using a bit more data for
system needs. So, fix CNS-945 test case reducing a bit the
expected available free space of PVC.
Change-Id: I8e69f75479fac4a7743b8126d96ec582405bfa35
|
|
|
|
|
|
|
|
| |
Create and delete lots of volumes so summary vol size is bigger than
total available size making sure Gluster really reuses space of deleted
volumes.
Change-Id: I3cdc85df488a66cfed55c92438a126736dc06ff2
|
|
|
|
|
|
|
|
| |
Create arbiter volumes after setting "arbiter:required" tag
either to one node or its devices.
All other nodes or their devices are set with "arbiter:disabled" tag.
Change-Id: Ie5f26e194f97b2a0923132c485b445ead9672843
|
|
|
|
|
|
|
|
| |
Add data-driven test case where we create arbiter volume and
verify that we are able to create expected amount of files on arbiter
brick mounts.
Change-Id: I9c719be01be24f4a92d1ed73ee9f1e71ee11bb88
|
|
|
|
| |
Change-Id: I9935e067257dbf8f1e267e13efb72b1b0b3cf772
|
|
|
|
|
| |
Change-Id: I84b0399bad021fed29044c1946fdf27cccc2b6c8
Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
|
|
|
|
|
|
| |
Where we create POD with mounted arbiter volume and write data to it.
Change-Id: I3a757f7fd71a0fd3f9f7d3cea463bbba5e399ec4
|
|
Change-Id: I257f3e6a7389c9f15a4388c241e787782c186d14
|