summaryrefslogtreecommitdiffstats
path: root/docs/submodules/oom
AgeCommit message (Collapse)AuthorFilesLines
2020-01-20Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 59ee11be51545ac5902c8c6789c1a3a44425ef73 - Merge changes from topic "OOM-1853" * changes: Run env setup only once Fix condition for checking if tests are defined - Run env setup only once prep_ubuntu_16_04_for_molecule routine was taken out of run_molecule function so that it's not superfluously run on each molecule invocation Change-Id: I1e4d3f32fbec4fa1e96389d9d65740747bffcef6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1853 - Fix condition for checking if tests are defined Native shell conditional is used as previously the condition would give warnings on stderr in certain cases, e.g. when role was removed script reported: "find: ‘ansible/roles/<rolename>’: No such file or directory" Change-Id: I63f50bda94e144a17307d927a6be70ae270f28bf Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1853
2020-01-20Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to a3f7fe728cfa4f3b4e0a1f87b3232630a608365a - Merge "Improve offline-installer-review.sh logic to only run relevant tests" - Improve offline-installer-review.sh logic to only run relevant tests Main CI wrapper script refactored so that it runs tests in a more granulated manner, i.e. matching between changed files and relevant tests to run was optimised. Change-Id: I09086099d7d16c52e29da2fe19440bcfd79ad295 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1853
2020-01-20Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to a96b1cca28d388c8c93c2f973a9e52633a25124c - Merge "Remove reference to Appendix in BuildGuide" - Remove reference to Appendix in BuildGuide Appendix was removed in change I8859ba42420d351ce12347cd63bf11f95a4b528d Fixed some wording. Change-Id: I3ad585b67532a4a44bf272d8ebfefec03ec3cc12 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2158
2020-01-20Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 694656b0fd93183b99a1065dd9dafaf367e14552 - Merge "Add robot config at onap install" - Add robot config at onap install Change onap network cidr to /16 due to robot hardcoded config. Adding onap network id to configuration at installation part. Adding optional connection to demo usecases network at deploy step Update patch scripts for specify network and kubernetes namespace Enable config_drive parameter at openstack instances deploying to get openstack metadata Issue-ID: OOM-1996 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: I4403e8ca0f385060ac815372ffd91eda60026ddb
2020-01-16Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 23ba267911f1b9b7120ea45f9f40f27ed144ade8 - Add tests for rke playbook This adds tests for the rke playbook. Change-Id: Idbb90bb9674d67c1877302877b60d3d60d44e36b Issue-ID: OOM-1907 Signed-off-by: Michal Zegan <m.zegan@samsung.com> Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-01-16Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to cb3f68d8bcecb6ff55b223d16e7f91c871fb30b6 - Decrease tests resource footprint on CI minion Due to constrained CI minion resources docker volumes need to be pruned after each test invocation to prevent false negative which occurs in case when multiple playbook level tests are run. Heavy VNC Server image (1GB) needs to be mocked with lightweight alpine image in play-infrastructure test for same reasons. Change-Id: I1026593a375853575cf210aefe29bc320d4e5c64 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1907
2020-01-14Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 9c14b7d8aed7c055a9ef3495f5e0fe5448202631 - Add test scenario for unsafe volatile storage This tests rke role with etcd storage configured on tmpfs. Change-Id: I57feb705a38e87c1b2127294c3443d99cc2595aa Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259
2020-01-14Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to cb8f5b24417812e9692d1378588e41a6ddc14db2 - Change group_vars inclusion mode in rke role tests Inclusion switched from inventory.links declaration in molecule config to filesystem symlink. Change-Id: Idcdd40ba196963f61b587c78718564c9374fa731 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259
2020-01-13Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 4f7bf1c03c5e8ceb1c46d578696e2e90b369c469 - Include etcd storage configuration task in testing It was missing since adding feature for etcd storage configuration in https://gerrit.onap.org/r/c/oom/offline-installer/+/94135 Change-Id: I1d354af1fd48df8cb8de002f473d32cd5d4f9075 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2259
2020-01-10Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 593d936bfe90f2a23a56a95e189f042c594c135c - Limit resource footprint of rke role tests Number of kubernetes nodes created by rke role tests was limited to 1 - higher number caused resource exhaustion in CI worker (8gb memory limit). Verifier timeout was increased in routine where pod readiness is checked. Change-Id: I2c30aa999b92c4ceddccf682c4f918e953da2621 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-2257 - Add static and dynamic kubelet config support Kubelet can be configured on startup now - just add new key/values in: kubelet-static-config.yml.j2 Also kubelet static (startup) configuration can be overriden later (dynamically) during its runtime - for more info read this: https://kubernetes.io/docs/tasks/administer-cluster/reconfigure-kubelet/ Issue-ID: OOM-2199 Change-Id: Ia4790a4dfc04f0caed695df7bfd343253bd95bc0 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-12-16Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to afa9fed5280ce7aab326623a3d9c865f3b02f251 - Merge "Add screen and jq to onap_rpm.list" - Add screen and jq to onap_rpm.list Added screen and jq packages to RPM repository list. These packages was added as helpful tools for debugging. Oniguruma package is dependency for jq package. Issue-ID: OOM-2200 Change-Id: I2bbd8bf75569156e845341a9766214b03401ec35 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-12-09Update git submodulesOndřej Šmalec1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to d8c6d9acfd8b74dc3f3187d069b393405e5c1b18 - Archive helm_charts with command module Due to bug in ansible archive module empty files are not added into tar file. Hence kibana-onborading.json missing in helm_charts on infra node. Changing archive module into command module to tar helm_charts. Issue-ID: OOM-2231 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I5527bd0f52976a93ac2861d9de010fbb79eb97fd
2019-11-28Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 610ddff2d54cece28af56cc7bbf01ed524ecce9c - Merge "docker-images-collector.sh to use override values.yaml" - docker-images-collector.sh to use override values.yaml Change docker-images-collector.sh script to use file oom/kubernetes/onap/resources/overrides/onap-all.yaml as input instead of oom/kubernetes/onap/values.yaml. Also small enable script running in Windows git bash. Issue-ID: OOM-2222 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: Idf7143ed9880ac510c103f4d3a4d5a45f375d71a
2019-11-27Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 3c6f676f8f50ac796804900c0ba1e3d9ffc1ff29 - Downloading docker images does not work on Windows Changing build/download/docker_downloader.py to connect docker engine in more default way i.e. taking engine parameters from environment fixes this script. Issue-ID: OOM-2223 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Change-Id: Iddf69593bb4cf4596e713c8d537a90424c5925ef
2019-11-21Update git submodulesOndřej Šmalec1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to cb93bcee2dc49826964f8400420fe6d375ed3662 - Script for adding image into offline nexus repository Help script for adding docker image into nexus repository on infra server. Issue-ID: OOM-2210 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I0ea81170a701b87ad1c4ecc53cfc6e03a3e95684
2019-11-19Update git submodulesPetr Ospalý1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 8a89840c024dc6cb4097ec37d9659598d79b5dd3 - Fix helm behavior When 'helm serve' is not running and helm is not listening on localhost:8879 then helm starts to delete everything...instead of aborting or doing something sensible... This commit fix this misbehavior: we abort Issue-ID: OOM-2074 Change-Id: Icb4d25163012e4aedf5ec1598a4f20c738c04974 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> - Improve cleanup (--delete-all) usage It cleans all orphaned images and volumes on each kubernetes node: docker system prune --force --all --volumes Also it now fixes the requirement for an override file when '--clean-only' is used and it adds more kubernetes resource object to redeploy. + improve help description + add use_help to not print all help when not asked + fix function name: redeploy_component -> undeploy_component + fix messages on some systems by switching echo to printf + fix grep to not match (e.g.) onap-bars when onap-bar was requested + add trap and fix terminal colors on abort Issue-ID: OOM-2074 Change-Id: I54958d6e97febbda461bfb68f3829b002e7200b4 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> - Remove deprecated flag This commit fixes this warning: Flag --include-uninitialized has been deprecated, The Initializers feature has been removed. This flag is now a no-op, and will be removed in v1.15 + Fix whitespace in help Issue-ID: OOM-2074 Change-Id: I23b1a5cbe10fc07ec9342119be1753402ef6e041 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-11-15Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to cd1c4bc83b4571f1b5f03539abea2ccff97caf67 - Merge "Update documentation" - Update documentation Fix several typos in Build and Install parts of docs Fix paths of configuration files in Install part Remove note discouraging making changes in config files Issue-ID: OOM-2158 Issue-ID: OOM-2197 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: I28d9b43a56791bc3c1c53c12f7c852f5a1a885c6
2019-11-15Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 3e74576d0c75662af0ead9a8ab9587b0a63f99fa - Merge "Updating docker images for El Alto" - Updating docker images for El Alto Issue-ID: OOM-2147 Change-Id: Ia80d034f562879dc3820d56ebe18d0046bd42b68 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-11-15Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 5373ce199364188f1a044303558756104c4b6289 - Merge "Fix relative path in package.py" - Fix relative path in package.py Issue-ID: OOM-1994 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: Ie8bbe23c90a4c2d1fd60d3fad36fcd8f741e6f63
2019-11-15Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 271281a0af7e3832810b86dd4b2b3f9c7d382b7b - Merge "Chaging name of rhel resource directory to rpm" - Chaging name of rhel resource directory to rpm Changing name of rhel resource directory in "resources/pkg" from rhel to rpm due to platfrom independent repository for all distributions supporting RPM packages. Issue-ID: OOM-2150 Change-Id: Ie5425df8b8550c618440586b495907f86c4cc509 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-11-15Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 42e75d336da892ede39675e9d55a506a5be4ed6f - Merge "Adding relative path support" - Adding relative path support Adding support for relative paths for all files and dirs provided as parameters to build_nexus_blob.sh Issue-ID: OOM-1927 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: I18481508d91b9d432889215605fce51c3c6d7c82
2019-11-13Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 1ed2b6fce2c08867c55786fc4aeebe983f312b4c - Revert "Fix packaging offline-installer" This reverts commit 92477974b68c7638a43ffc869e3ea9fb854b3534. Reason for revert: Not solved handling of application_configuration.yml in package.py Change-Id: I814c01dc1f7334a961e991c42fd485d9af4675a1 Signed-off-by: Tomas Levora <t.levora@partner.samsung.com> Issue-ID: OOM-2201
2019-11-12Update git submodulesDenis Kasanic1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 92477974b68c7638a43ffc869e3ea9fb854b3534 - Fix packaging offline-installer Fix typos in Build and Install documentation Fix using relative paths in args for package.py Fix missing hosts.yml & application_configuration.yml in sw_package Change default build-version of packaging to empty as used in docs Give possibility to specify own inventory file to package in package.py Issue-ID: OOM-1994 Issue-ID: OOM-2197 Issue-ID: OOM-2158 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: I76598fb71a42ada1a71c9905ef2d32bc03d8f71c
2019-11-07Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to c09ef4adbb8bb87f414902d6d85c754f5054189f - Merge "Update build documentation" - Update build documentation Add note for using root shell Add example for populate local nexus Use absolute path in package.py script Remove Appendix Add clone oom with all submodules Fix example for pulling images in list Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: I8859ba42420d351ce12347cd63bf11f95a4b528d Issue-ID: OOM-2158 Issue-ID: OOM-2160
2019-11-06Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 7168a9a9e41d9aa1c2b5a69e0886893038b8bc68 - Updating instructions for vFWCL on ElAlto Commit contains also some patch files due to POLICY-2191, this is expected to be removed shortly after new drools image is created. Issue-ID: OOM-1996 Change-Id: Ia2db50fc6dc66ea0c7598d6859eb08007b59a0b9 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-10-31Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to f2ae9b14e2b49e537cf87a4409912377f00bc471 - Fixing helm repo add missing second argument bug Fixing bug in creating new helm repository when the HELM_REPO was passed as one argument instead of two Issue-ID: OOM-2159 Change-Id: Id8aabad7d8e59aa4fb2eef01cfff28e3b7ab1259 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-24Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 8f7b7135d9bb7272157990dddbc2a22a234db451 - Merge "Update onap_rpm.list" - Update onap_rpm.list Some packages was obsollete and those packages was not in public CentOS repository. This commit updates versions of soma packages in onap_rpm.list. Issue-ID: OOM-2133 Change-Id: I9b31fee243a22ced86b21fae3d78ed9c4cb6e208 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-10-24Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 2a355bb76368fd6bc727e8736cb07f6eabb7d038 - Updating documentation for El Alto Removing necessity of merging docker data lists manually as it's already solved in the build_nexus_blob.sh script Updating all links and references to El Alto Issue-ID: OOM-2016 Change-Id: I1e343a8af1d26f7f6f80a8d76fa7997883b678e4 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-24Manually update submodulesKrzysztof Opasiak1-0/+0
Automated submodules updated is currently broken. Let's update repos manually. Issue-ID: DOC-552 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I1851c5f2b1ae0b0433b2fd60da2e3de8213753f3
2019-10-15Update git submodulesPetr Ospalý1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 6dcfa709d6d09089a8da817db5e477922a3f4885 - Merge "Remove git repos list and simulation" - Remove git repos list and simulation As no external git repo should be required, removing the list and the simulation Issue-ID: OOM-2014 Change-Id: I7b8bbaab93db173bc3f1438592d288f6090d3641 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-15Update git submodulesPetr Ospalý1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 78f4d8d40c86d809e2709429dd03d0aa10c16253 - Merge "Remove NPMs and PYPIs from nexus blob" - Remove NPMs and PYPIs from nexus blob Issue-ID: OOM-2015 Change-Id: Ie8bc1219291b52410ca7ec5a40ed3e70a11cd315 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-15Update git submodulesPetr Ospalý1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to d1645f1dcadfa8ba5463a65bdb1e9532dd422229 - Merge "Remove patching from offline-installer" - Remove patching from offline-installer The patching of OOM should not be necessary to bypass offline state, therefore this custom patching can be removed in offline-installer Issue-ID: OOM-2014 Change-Id: I61b4cd48cfada613a7914ef5001bb64f7584815a Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-15Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 1b402b0db23d65f9c6c716c803fa350839ff2f6b - Merge "Adding platform independent RPM download" - Adding platform independent RPM download Updated onap_rpm.list with new versions of packages. Added scripts for creating centos container in docker with rpm repository. RPM repo is now created in centos container during download phase, but will work on both centos/rhel platforms. Issue-ID: OOM-2094 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I1b5bfe99da25e6815e85b449304b12fa6036c6b3
2019-10-09Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to e71a4a745f2ba906ab8a1f593c27923985d47e91 - Merge "Update INFO.yaml" - Update INFO.yaml Change-Id: I0fd5683089aa1c08e07ac1ab282517e915169d4c Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: CIMAN-134
2019-10-08Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to e052270b90435346a934f016bc8b8974f0b94201 - Merge "Fixing invalid hostname filled by ci-installer" - Fixing invalid hostname filled by ci-installer ci-installer filled hostname containing underscore what is invalid Issue-ID: OOM-2119 Change-Id: I26dfa7115ba9e700715e0fae441c21a26fde3382 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-08Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to c0cf4f1561dc0022e839d8e550ee0d6650d0b72f - Fixing deprecation warning in ci-installer Issue-ID: OOM-2128 Change-Id: I5b25007b0521596083f539be296291adc21bb1d8 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-03Update git submodulesBartek Grzybowski1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to ec5d45ce17d16982f22039409dccc756fd4a057c - Merge "Add more info to generated blob data" - Add more info to generated blob data Changed the way of storing nexus image information to nexus.ver in built blob Added information about OOM commit from which was the used onap docker images list generated Added information about oom/offline-installer commit used to build the nexus blob Example of the resulting nexus.ver in the nexus_data: nexus_image=sonatype/nexus3:3.15.2 nexus_image_digest=sha256:5d3600fd5cf27c3a789e7d4a3ce9448086d73a4247a118d8cdcdbabb1aff4ff7 used_image_list0=custom_docker_images.list used_image_list1=onap_docker_images.list used_image_list2=rke_docker_images.list oom_repo_commit=106dbc9a0224a3259f1eaf24d4bcc8571ed591ab installer_repo_commit=574255919970ffaf506c08d3eeaea8d6d7656236 Issue-ID: OOM-1969 Change-Id: Id824f97079fbd578cdc7af1ad959e95a52fe1d2c Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-01Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 7b37235d259400ba180ba81113c2143f5a59b4aa - Updating pip packages to newer versions As there are some issues with elder versions of some pip packages, this list contains actual versions Issue-ID: OOM-2118 Change-Id: I12503480fab8b53c6f0e21aa7fba8d2dd8a3d779 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-26Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 0a5a34ffe4b6506663a61372998f43657bf81230 - Merge changes from topic "OOM-2112" * changes: Make cicdansible to set external ip Use external_ip to populate the node address Add external_ip variable - Make cicdansible to set external ip Make cicdansible to set external_ip correctly using floating ips. Change-Id: I3791ee670806c7008073389e43dec5e887abfda9 Issue-ID: OOM-2112 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Use external_ip to populate the node address Use the new external_ip inventory variable to populate node address. Note that cluster_ip is still used if external_ip has not been set. This makes it possible to connect to kubernetes apiserver using the external_ip without disabling ssl cert verification. As an added bonus, the inventory hostname is now used as the node name to make node names more predictable. Change-Id: I3cc25c488d68f2f858a5eb3438d96285fa7517ca Issue-ID: OOM-2112 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add external_ip variable Adds the external_ip variable that can be used to set ip different from cluster_ip, like public/floating/elastic ip, that can be used to externally communicate with kubernetes nodes. Mainly useful for the control plane and communication with api server. Change-Id: Ie840bff4b8479081b7397a42935c9db53db1bf4f Issue-ID: OOM-2112 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-20Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to ef1aef15d17eae648f9eaf720c85d9c1f3f5e97e - Merge "Replace jinja for with filter expression in helm deploy call" - Replace jinja for with filter expression in helm deploy call This replaces jinja for constructions used to add helm arguments with jinja filter usage. Change-Id: Ia47635466f4a9251d1f33a42080d3538fc52587d Issue-ID: OOM-1911 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-11Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 37baf499bd05b499b1fb8194266fe93dcfbd0b51 - Removing unused debian datalist Formely used by appc-ansible-server in Casablanca Change-Id: I8043f8338f84c09212386c7924770d6df27024ed Issue-ID: OOM-2098 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-09-09Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 7c1131e5b46160a1ba4ee52d59b4650cdc1a4c9d - Add ability to put dockerdata-nfs on root disk Modify the heat template so that it becomes possible to skip volume creation for dockerdata-nfs. This feature can be toggled at will. It is useful for the cases where /dockerdata-nfs needs to be fast, but there are no ssd volumes available. Of course, large enough ephemeral disks are needed, around 60 gb. Change-Id: I37e29e7cf7273d1d4a6e896ec017d9ef8177b1d0 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Make kubernetes nodes to be placed on different computes Modify the heat template so that kubernetes node instances are not placed on the same compute nodes, but each on a different node. This is called anti-affinity. Change-Id: I16cad7cc2f503130bae80be3820c477890214594 Issue-ID: OOM-2042 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Change the way how volume map is constructed This commit modifies volume handling in heat template in cicdansible. Namely, it simplifies the generation of node to volume list mapping and makes it more readable and understandable, and also more flexible, because now parts of it could be conditionalized. This is required for a followup commit. Change-Id: I204aefd819f40050a2cb9e6a031dfb2c62da1f48 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-04Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 1da8b7af533aa48450d42219f0615d0bb510da4a - Merge changes from topic "OOM-2042" * changes: Add ansible configuration file Add cicdansible playbook Add onap installation role Add onap instance configuration role Add ansible role to deploy onap infrastructure on openstack Add floating ip fact retrieval module Add inventory for cicdansible playbook Add heat template to deploy onap infrastructure Add the .gitignore for cicdansible - Add ansible configuration file This commit adds the ansible configuration file, that configures pretty logging and, handling of connections and inventory, etc to make the playbook nicer to use. Change-Id: Ibf9eded62f87d338b4b215e8b0b37d80ec86b219 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add cicdansible playbook This playbook runs the cicdansible roles on hosts defined, statically or dynamically, in the inventory. It deploys onap infrastructure on openstack, then installs onap. Change-Id: Idf618ff137c1adbad8f9b2f1bf878eaa9f20465d Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add onap installation role This role generates offline installer parameters and inventory, downloads offline installer sw package, and initiates onap installation, waiting for it to finish. Change-Id: I5c79d9732b8d77f57278f5009f4e5089377fc2cf Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add onap instance configuration role This change adds a role that configures deployed onap infrastructure instances. This role is generic and not openstack dependent. This role configures instances to reach each other by name, to mutually authenticate with the given ssh keys, etc. This mainly makes it easier for developers to do troubleshooting, and allows offline installer to work smoothly. Change-Id: I26750b0a8a69f56297f0a5f7ff491463ed2e9e32 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add ansible role to deploy onap infrastructure on openstack This role deploys the onap infrastructure on open stack using the heat template, passing it needed parameters from inventory. It also formats and mounts all cinder volumes attached to the instances, so that they can be utilized. Change-Id: I0cb13a5b55bd31445acaa2f7c1db80a925daa5cb Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add floating ip fact retrieval module This change adds the ansible module that retrieves facts about floating ips, that is missing from the ansible core modules. This module is used to translate floating ips into their resource identifiers before using heat template. Change-Id: I7a8756eff30b33f82dade2f35227ff241a8c5972 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add inventory for cicdansible playbook This change adds the basic inventory file and group_vars used when running cicdansible playbook to deploy onap on openstack. This inventory contains only instances that must be present, other inventory entries are dynamically registered during install. Also, it delegates to group_vars for things like floating ip addresses. group_vars contains default settings for the playbook, and especially the all.yml must be modified for the environment to be deployed. Change-Id: Ia93e6b98841d7edc45699b44b2479af6daff6c4f Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add heat template to deploy onap infrastructure This change adds a heat template that deploys empty onap infrastructure on open stack. Infrastructure consists of an installer instance + infra instance + specified number of kubernetes nodes. All instances are empty after creation, and live in the internal network with cidr 10.1.0.0/24. They are isolated by security groups in order not to have external network access except possibly the intranet, but it is possible to enable internet access if required. Change-Id: I70024e1e2344ed75f443f03b2239b460a71d0151 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add the .gitignore for cicdansible Adds the .gitignore file for the ansible playbook. Change-Id: If6e52f55e045ccccd164992108d1977c2a46a413 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 8620b2be770895ffca1385f3a8a57b9422ecf126 - Merge "Add configurable etcd storage feature" - Add configurable etcd storage feature Plus the option to have etcd on tmpfs (volatile storage) for little bigger (maybe) speed (NOT FOR PRODUCTION DEPLOYMENT!). Issue-ID: OOM-2058 Change-Id: I0bbfc4fbae7f6b46e2fae49656437cd6748efd49 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-09-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 30bb2a6332d4e18f0a31e955e9285bf0a3d12411 - Merge "Move help script to tools" - Move help script to tools Change-Id: I03d1c65d05df534aecff5c6d08cfbdf97705dbdf Issue-ID: OOM-1984 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-09-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 360afc23b01cac91e2d37cb0a88b7903d1845628 - Merge "package.py - Enable adding AUX images in to packages" - package.py - Enable adding AUX images in to packages Make possible to add custom images in to aux package + add versioning to package info and file names. Issue-ID: OOM-2078 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Ibe141f386b2534aa59c6a3a31052e454b3a79e6b
2019-09-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to a16fa6022a3bc2bf3a906a722f6fed6c74e5fd88 - Merge "Skip annoying message if config.json not exists" - Skip annoying message if config.json not exists Preventing messages showing in case of non existing config.json file Issue-ID: OOM-2077 Change-Id: Ifb38495d93934b2015893d2c1fc62ec4d480171b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to d761d32ea7c87b47f25398afa9ac4e86b43e82bc - Merge "Adding proper npm logout" - Adding proper npm logout Adding npm logout to prevent authentification issues with newer versions of npm at repeated execution Issue-ID: OOM-2086 Change-Id: Icb7d70ef1b7c2037dd9e392693b2c51cf8c60f25 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-04Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 80409ef270c67d334e49ab0755de5b94dc4eaee2 - Change the way of providing docker login password As --password is insecure way, changing to recommended way using --password-stdin instead Issue-ID: OOM-2087 Change-Id: Ibe1799e9de63476540288b84726260f712d12616 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-08-22Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 0364bc6ebc6d26877f1db1be342a10b24f51d80b - Merge "Add helm redeploy tool" - Add helm redeploy tool Simple script to try to redeploy failed charts or explicitly desired chart(s). It supports override files for helm - but please, beware that helm or more specifically the onap helm plugin (deploy.sh) is not capable of handling whitespace in filenames so I don't support that in the script either (I made a version which does but it is no use if helm will break anyway). Change-Id: I69bf0672a64c45e30d4e4239da561647d00637a7 Issue-ID: OOM-1984 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>