| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
'playbooks/generate-tests-config.yaml' playbook fails when
cluster has 'glusterfs-registry' nodes. So, fix it by using proper
filtering in shell commands.
Change-Id: I884f57e646a513b1ceddc5345099fcd8379fce72
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this playbook it is now possible to generate config file
for automated test cases.
Example of it's usage:
$ tox -e ocp3.11 -- ansible-playbook -i
ocp-master-node-hostname-or-ip, \
playbooks/generate-tests-config.yaml \
-e output_filepath=foo-tests-config.yaml \
-e additional_devices=/dev/sdf
Change-Id: I53df756deb7c1a01ea47db2a9328b567b5a1ebaf
|
|
|
|
|
|
|
| |
Before, it was hardcoded. So, fix it by reading those values
dynamically.
Change-Id: Ibab2de8b4f349db4ad6f4bb1afeddc79af444c53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By doing following changes:
- Fix the deployment logic using separate set of vars for
installation of OCP3.6 and 3.7, which were broken by the too new
config options, which started being supported only since OCP3.9.
- Add waiters for oc services after nodes reboot.
- Do not update docker for OCP3.6 and 3.7 versions. Because,
docker version should be fixed for it.
- Add all cluster nodes to the 'OSEv3' Ansible host group,
because it is required in some places.
- Do not specify 'openshift_use_crio' option for all OCP versions
except OCP3.11 for 2 reasons:
-- It is supported only for this OCP version
-- Other versions try to run some CRI-O plays just having this option
defined. In other words - avoid bugs.
Change-Id: I7ab3db30a828f0e965c907282a54b2ae9aead00a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For case when it is needed to provide info for bugreport
or debug in general.
It can be run anytime, separately from the deployment logic.
Example command for running this new playbook:
$ tox -e ocp3.11 -- ansible-playbook -i 127.0.0.1, \
playbooks/gather_logs.yaml \
-e config_filepath=/path/to/the/cns-automation-config.yaml \
-e output_artifacts_dir=../cluster_logs_ocp310_ocs311/
NOTE: 'tox -e ocp3.11' can be omitted only in case you enable
'yedit' (yaml edit) module by other means.
Change-Id: Icb6bf442c07d8d949c930747e8131231a2ff112c
|
|
|
|
|
|
|
|
|
|
| |
To enable or disable CRI-O just define following option:
openshift_use_crio = true/false
In the "ocp-on-vmware.ini" config file.
Change-Id: Ibd3843d8aa13bfacb0d927142786dc5599e65315
|
|
|
|
|
|
|
|
| |
When VMWare hypervisor is under heavy load,
node boot up may be slower than 3 minutes.
So, increase timeout from 3 to the 6 minutes.
Change-Id: I27f0166d6c4221f7a647d55df704f429bf9d6dcc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following modules:
- deployment/playbooks/library/vmware_folder.py
- deployment/playbooks/library/vmware_resource_pool.py
Were broken by '2035d7e6' commit with pep8 fixes.
It was broken due to the change of the import module logic which led to
the absence of required modules imports.
So, fix it by using 'expected' import approach - importing
functions directly, not modules.
Change-Id: Ib1f9db410a8aa0171fea0e7017e29148167baf65
|
|
|
|
|
|
|
| |
User's home dir in CRS logic was hardcoded as "root".
So, fix it by calculating home dir of the current user.
Change-Id: Ib586fa605390126eb3a2efaf8c93856e52676aaf
|
|
|
|
|
|
| |
To let system services start up in time.
Change-Id: I4b4781119656c9fdc75017a28c80c20bdd0eae21
|
|
|
|
| |
Change-Id: I5f25b1dfce5d3298295939f59c3ff435ae7c6d8a
|
|
|
|
|
|
|
|
| |
For the moment, if subscription manager fails, we continue
deployment, but it is mistake. We just spend redundant time
before we try to install anything.
Change-Id: Ib95c00a3c605b98f3cd6b7998d4b482533a5d491
|
|
|
|
|
|
|
|
|
|
| |
Before, we were installing latest heketi-client version on master nodes.
But, in case we install old OCS/CNS we may end up with false
impression that we have new features, when it is not so.
So, read heketi-client package version from Heketi POD and install
exactly the same version on the master nodes.
Change-Id: Ic4e9edd7f6ef614d28c061712473aaf9b9f652e2
|
|
Add end-to-end deployment tool of OpenShift and OpenShift Container
Storage on top of VMWare.
Added code is modified version of the
'reference-architecture/vmware-ansible' dir from the following repo:
https://github.com/vponomaryov/openshift-ansible-contrib
Read 'deployment/README.rst' file for more details about the
deployment tool.
Change-Id: Ic96f252ff786cc1ecf24d27f0ec47e324131e41b
|