| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now, it is possible to run glustolibs commands
on both deployment types: containerized and standalone.
It is possible using 'auto_get_gluster_endpoint' as target for
lib function in addition to the '@podcmd.GlustoPod()' decorator.
Example:
"""
from glustolibs.gluster.volume_ops import get_volume_list
from cnslibs.common import heketi_libs
from cnslibs.common import podcmd
class TestExample(heketi_libs.HeketiBaseClass):
@podcmd.GlustoPod()
def test_get_vol_list_either_on_node_or_on_pod(self):
volumes = get_volume_list('auto_get_gluster_endpoint')
"""
Also, delete all the current usages of 'deployment_type' config option,
and delete the option as unneeded anymore.
Change-Id: I281f287c432a5a9efefda588be436ee285188697
|
|
|
|
|
|
|
| |
Removing several unused options and replacing couple of them
with built-in values.
Change-Id: I458f0eae6a68ddcb2711d454c81cdcee8142673a
|
|
|
|
| |
Change-Id: I8b62298b45f9e6af45dde60aae6c80c79d312dad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
CNS-926 - custom_volname_prefix_blockvol
This test case is verifying the volume name prefix option in storage class
Change-Id: I738e97520670bae19b7582217a98c2769b78808f
Signed-off-by: nigoyal <nigoyal@redhat.com>
|
|
|
|
|
| |
Change-Id: I49932f43ac4e41f06c559d1d18d142b8a084278e
Signed-off-by: vamahaja <vamahaja@redhat.com>
|
|
|
|
|
|
|
|
| |
Fix 2 autotests, remove skip decorator for them.
And rework logic of mongodb template uploading for mongodb pod,
so it takes couple of seconds instead of minutes.
Change-Id: Ib2b09364ae435b9784b76c2f2581c197128f9649
|
|
|
|
|
| |
Change-Id: I84968bcfe19aa8af73f185be178079a8373915b3
Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Doing 2 following things:
- Add 'heketi_service_name' config option to define the name of
Heketi service in OCP. Without it we use hardcoded name 'heketi'
which can be different on different setups.
- Add switching to the CNS project for CNS tests.
Change-Id: Iad308db7a1d63fc64ddd3f5b99823917b99c0706
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just define following config options:
cns:
heketi_config:
heketi_cli_user: 'admin'
heketi_cli_key: 'some_secret_admin_key'
To make heketi tests use specific creds for auth.
Change-Id: I60f6d6e3922de6602d8fd39656132a23f18ffc8c
|
|
|
|
|
| |
Change-Id: I7b3528ef52780b115840b5ebd7882f1d4d441ccf
Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
|
|
Change-Id: I970e5563b9342a783c0c708c710d2a9816b89c96
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|