summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-03-25Update the appendix in install guideBartek Grzybowski1-6/+6
Change-Id: I3ce931f5336b4b80ce27af383b18e65d7c0dd71a Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-25Update 'Post-installation and troubleshooting' section of install guideBartek Grzybowski1-5/+6
Change-Id: Id65f1abce59b90e7bef54f3152d24e9082fbd78a Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-25Update 'Installation' chapter of install guideBartek Grzybowski1-5/+5
Change-Id: Ie7882e98989e229b3ee7f73f74fb2be57ab3e098 Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-25Update 'Configuration' chapter of install guideBartek Grzybowski2-27/+43
Change-Id: Iea6e571f2e7c9f4a3f7c54fb5318bb05736cb97a Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-25Update prerequisites section of install guideBartek Grzybowski1-11/+9
Fix/update links to point to up to date external resources Change-Id: I62f52cd8ced162139a51a4e974b458bd31d2f231 Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-25Update links in install guideBartek Grzybowski1-2/+3
Change-Id: Iec903e45f839366f1498056bf448a758142d9383 Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-25Update the build guideBartek Grzybowski1-44/+36
Change-Id: Ib342fab062728a1820675db12bf3d52e15b0e319 Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-22Fix formattings and adjust main titleBartek Grzybowski1-3/+8
Change-Id: I1ea3192e818ca3a78561c11b80e4051927b07db9 Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-22Drop unused anchorsBartek Grzybowski1-31/+3
Shorten main section titles for clarity Change-Id: Id5bc573b7b0ad91614c8561ae8e1befe19153edd Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-22Fix rst formatting and shorten main section titleBartek Grzybowski1-4/+4
Change-Id: Ie82a3a1a8a4207ec7447755a8911f6914425df01 Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-22Exclude .tox subdir when building documentationBartek Grzybowski1-0/+2
Change-Id: I96b01f257702a9b154cb5fcc1c085883cde93a3f Issue-ID: INT-1893 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-18Upgrade docker-images-collector.sh related documentationBartek Grzybowski1-16/+13
Change-Id: I8531b816834b5b6c84436f7974ff39958160dcbe Issue-ID: OOM-2708 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-18Remove hardcoded docker image listBartek Grzybowski1-224/+0
OOM docker image list needs to be generated prior to ONAP deployment for the exact OOM project refspec used hence removing the file from repository as for most cases it'll be invalid anyway. Change-Id: I3da264e573f0d406ab7fd6adbee88f80db93b04a Issue-ID: OOM-2708 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-18Run chartmuseum in docker containerBartek Grzybowski1-31/+31
Switching from running local chartmuseum binary to chartmuseum docker container since docker engine is a runtime dependency anyway. Change-Id: I8aa66047d1fa91c2d248998a0c69a0e0a520af62 Issue-ID: OOM-2708 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-17Merge "Support Helm v3 in helm-healer script"Lasse Kaihlavirta1-5/+12
2021-03-17Merge "Upgrade rke version to 1.2.4 in Molecule setup"Lasse Kaihlavirta2-6/+1
2021-03-17Merge "Upgrade kubectl version and download link in it's Molecule test setup"Lasse Kaihlavirta2-2/+2
2021-03-17Merge "Upgrade Kubernetes version deployed by RKE to v1.19.6"Lasse Kaihlavirta3-61/+3
2021-03-17Merge "Drop rancher_server_image global variable"Lasse Kaihlavirta1-1/+0
2021-03-17Merge "Update image data list for RKE 1.2.4"Lasse Kaihlavirta1-21/+13
2021-03-17Merge "Upgrade docker version in molecule roles"Lasse Kaihlavirta2-2/+2
2021-03-17Merge "Upgrade RKE and kubectl binaries version in data list"Lasse Kaihlavirta1-2/+2
2021-03-17Merge "Update build guide in regard of docker engine version"Lasse Kaihlavirta1-1/+1
2021-03-17Merge "Fix docker-entrypoint.sh"Lasse Kaihlavirta1-2/+2
2021-03-17Merge "Upgrade docker engine version in package list"Lasse Kaihlavirta2-4/+4
2021-03-16Update INFO.yamlLasse Kaihlavirta1-29/+4
- add myself (Lasse Kaihlavirta) - remove obsolete committers Issue-ID: CIMAN-134 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: If2b3a0daec6ced1590699f5f5dfc1fe2943a93c8
2021-03-08Support Helm v3 in helm-healer scriptBartek Grzybowski1-5/+12
Change-Id: I314b37c587c76038b1694eef7d52078f2af09a1d Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-03Upgrade rke version to 1.2.4 in Molecule setupBartek Grzybowski2-6/+1
Kubectl dependency is removed as it's no longer needed for rke tests. Change-Id: I0191b105e2a4cce1fe6e66678f4ce57fd2ce19ee Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-03Upgrade kubectl version and download link in it's Molecule test setupBartek Grzybowski2-2/+2
Kubectl upgraded to 1.19.6 Change-Id: I331926c81b595c17700f76c4568bc76f5d1ae8c1 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-02Upgrade Kubernetes version deployed by RKE to v1.19.6Bartek Grzybowski3-61/+3
Manual system_images assignment in rke's cluster config is dropped as for any particular kubernetes release Rancher project holds a predefined, static map connecting Rancher's Kubernetes version with particular system images, so it's enough to define k8s version. Ref.: https://rancher.com/docs/rke/latest/en/config-options/system-images/ Change-Id: I027589c86500bbc5260caaa4aef7065d23d2241c Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-01Drop rancher_server_image global variableBartek Grzybowski1-1/+0
It's not in use since the time 'rancher' role got obsoleted by 'rke' one Change-Id: Ibdc26103d9f7e87c9bb29a60c9276210e88d2628 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-01Update image data list for RKE 1.2.4Bartek Grzybowski1-21/+13
Change-Id: Icc59efb1789f31f3d4b8409d67426d5eb2d876d5 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-24Upgrade docker version in molecule rolesBartek Grzybowski2-2/+2
Docker release is upgraded to 19.03.15 Change-Id: I04099e32f312fe2e316ab9bac0ca3b75b7b29662 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-23Upgrade RKE and kubectl binaries version in data listBartek Grzybowski1-2/+2
Change-Id: I1aff068caeb4213cbcefb9bd341e961b9d26a976 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-19Update build guide in regard of docker engine versionBartek Grzybowski1-1/+1
Change-Id: I559ca429ca4701da4508e724069f62368cac263b Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-19Fix docker-entrypoint.shBartek Grzybowski1-2/+2
Change-Id: Ie737420d13ee455cc2b50d2541620ab836cd36f3 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-19Upgrade docker engine version in package listBartek Grzybowski2-4/+4
Change-Id: Ic397e6d347bf52a65be68078d4110a2e1dc66726 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-16Merge changes from topic "ansible-helm3"Bartek Grzybowski58-230/+473
* changes: Run chartmuseum as a docker container Update 'helm deploy' failure criteria Fix kubeconfig file permissions Ensure k8s namespace for ONAP exists Customize helm "--timeout" option format if running helm v3 Redirect chartmuseum stdout/stderr to /dev/null Drop DIND specific test env settings for 'rke' role/playbook Improve bin utils symlink creation logic Add test scenario for Helm v3 Refactor Helm role test setup Add helm-push Helm v3 plugin to downloaded utilities list Fix Helm v3 data dir setup Add tasks to setup Helm v3 on infra node Add Helm v3 test scenario to rke playbook tests Change 'rke' role testing strategy Workaround RKE binary download issue Play 'chartmuseum' role in rke playbook if running with Helm v3 Fix variable inclusion order in RKE playbook tests Add Helm v3.3.4 to the list of downloaded utilities Add 'chartmuseum' binary to downloaded utilities list Add Molecule test scenario to verify 'chartmuseum' role on Ubuntu Add 'chartmuseum' role Split Helm v2 setup to separate playbook Improve 'application' role test coverage
2021-02-16Merge "Add Helm v3 plugin deployment playbook"Krzysztof Opasiak9-5/+111
2021-02-12Run chartmuseum as a docker containerBartek Grzybowski17-71/+68
A docker container for chartmuseum is run with chart storage volume mounted from hosts' resource dir for chart repo persistence across container/infra restarts. Change-Id: I692ff7a3d95414b439b15b5414bc8b959eb79414 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-11Merge "Move Helm v2 plugin installation logic into separate playbook"Krzysztof Opasiak5-25/+30
2021-02-11Update 'helm deploy' failure criteriaBartek Grzybowski1-1/+1
Contrary to helm v2, helm v3 prints regular output to stderr hence stderr output presence can no longer be used as failure criteria. Since 'deploy' plugin (for any helm release) prints a list of charts that failed to deploy at the end of it's run, it's output is used to detect deployment failure. Change-Id: I340e4e1a5be0949d866ddedfb49c0d23a48e67cf Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-10Fix kubeconfig file permissionsBartek Grzybowski1-1/+1
Kubeconfig file should not be world readable. Helm v3 prints relevant warning to stderr if it's (kubeconfig) mode is incorrect. Change-Id: I9d2b8618cd3e43a49345e96f6ed5169438a29cef Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-09Ensure k8s namespace for ONAP existsBartek Grzybowski1-0/+6
Helm v3 does not automatically create namespace when either of "install" or "upgrade" subcommand is called even with "--namespace" option. Change-Id: I8595d8d9cdcb904b6c032695bae4d945fd07176c Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-09Customize helm "--timeout" option format if running helm v3Bartek Grzybowski3-3/+4
Helm v3 requires unit definition for 'timeout' option which is not supported by Helm v2. Change-Id: Ia5839e5c412be1700459c70d43d2e6cc0400633d Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-05Redirect chartmuseum stdout/stderr to /dev/nullBartek Grzybowski1-4/+8
Chartmuseum logs to it's stdout/stderr during it's normal operations and since the shell pipe opened by ansible is gone once playbook finishes this resulted in chartmuseum process crashing with "broken pipe" message. Change-Id: I0e2a5471df23f5881248ecb529a0193505f56cfe Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Drop DIND specific test env settings for 'rke' role/playbookBartek Grzybowski5-76/+1
DIND usage was already dropped so those settings are no longer required. Change-Id: Ifd2b5f26196f84ff0167558c1d5cd4c8218124d7 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Improve bin utils symlink creation logicBartek Grzybowski1-14/+9
Change-Id: I9f468b6c731aaa764340e8503e6f377faba522b2 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Add test scenario for Helm v3Bartek Grzybowski8-1/+76
Change-Id: Iad5478f70533719e1076f3961613fddffb14eebd Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Refactor Helm role test setupBartek Grzybowski9-12/+25
Test setup variable inclusion reworked for better sanity. General Molecule docker image is used instead of pre-built one. Change-Id: I013b9d7b92ded86220e6f2092ce75ee47b094d89 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>