| 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>
|
|
|
|
|
| |
Change-Id: I9ab3c6bea56a02f76ce818ee095ffe4afc0e64c0
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With growth of amount of test cases and supported OpenShift versions we
need to perform more and more version comparisons.
So, this module is designed to ease such operations.
Usage example:
from cnslibs.common import openshift_version
version = openshift_version.get_openshift_version()
if '3.9' < version <= '3.11':
# Do stuff for OpenShift 3.11 or 3.10
elif version <= '3.9':
# Do stuff for OpenShift 3.9 or lower
else:
# Do stuff for higher versions than 3.11
Also, reuse it in all the existing places with version comparisons.
Change-Id: Ibc27eff20ed0dff80deca73d5d156e23bda57439
|
|
|
|
|
|
|
| |
Removing duplication of code.
Also, reuse it in places where it is already duplicated.
Change-Id: I2f88b4921cb7bec01d17e1ddeaeda16e0d198493
|
|
|
|
|
|
|
| |
We expect that we are able to resize PVC using all the available
free space, so add appropriate test case.
Change-Id: I1db494d5d7e888fca21bfe1492bfe35e35c3df6a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Shrink operation is not allowed for gluster volumes in OCS,
so adding a test case which makes sure that the test returns an error
when an attempt is made to shrink an existing PVC.
Change-Id: Iab929e157d3c9324a0581b0c220aed9681ec0035
Signed-off-by: Rachael George <rgeorge@redhat.com>
|
|
|
|
|
|
|
| |
Make sure that after failed attempt of PVC resize application POD
continues to work and we are able to write data.
Change-Id: I1dda1e4698ca4e569aa67740c2e9a5dca9a4e7bf
|
|
Change-Id: Idae22a28e4da867fd0567cbec49760d6f3a374f6
Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
|