summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-01-16Add tests for rke playbookMichal Zegan5-0/+102
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-16Decrease tests resource footprint on CI minionBartek Grzybowski2-6/+5
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-13Add test scenario for unsafe volatile storageBartek Grzybowski2-0/+75
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-10Change group_vars inclusion mode in rke role testsBartek Grzybowski2-3/+1
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-10Include etcd storage configuration task in testingBartek Grzybowski1-0/+7
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-10Limit resource footprint of rke role testsBartek Grzybowski2-19/+1
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
2020-01-08Add static and dynamic kubelet config supportPetr Ospalý4-2/+23
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-16Merge "Add screen and jq to onap_rpm.list"Tomáš Levora2-2/+11
2019-12-16Add screen and jq to onap_rpm.listJan Benedikt2-2/+11
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-06Archive helm_charts with command moduleOndřej Šmalec1-3/+6
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-28Merge "docker-images-collector.sh to use override values.yaml"Samuli Silvius2-5/+4
2019-11-25docker-images-collector.sh to use override values.yamlSamuli Silvius2-5/+4
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-25Downloading docker images does not work on WindowsSamuli Silvius1-1/+1
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-21Script for adding image into offline nexus repositoryOndřej Šmalec1-0/+103
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-15Fix helm behaviorPetr Ospalý1-0/+35
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>
2019-11-15Improve cleanup (--delete-all) usagePetr Ospalý1-60/+134
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>
2019-11-15Remove deprecated flagPetr Ospalý1-7/+3
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-15Merge "Update documentation"Tomáš Levora2-21/+20
2019-11-15Update documentationDenis Kasanic2-21/+20
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-15Merge "Updating docker images for El Alto"Bartek Grzybowski1-132/+131
2019-11-15Merge "Fix relative path in package.py"Bartek Grzybowski1-11/+16
2019-11-15Merge "Chaging name of rhel resource directory to rpm"Bartek Grzybowski8-15/+15
2019-11-15Merge "Adding relative path support"Bartek Grzybowski1-7/+8
2019-11-15Updating docker images for El AltoTomáš Levora1-132/+131
Issue-ID: OOM-2147 Change-Id: Ia80d034f562879dc3820d56ebe18d0046bd42b68 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-11-14Fix relative path in package.pyDenis Kasanic1-11/+16
Issue-ID: OOM-1994 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: Ie8bbe23c90a4c2d1fd60d3fad36fcd8f741e6f63
2019-11-12Revert "Fix packaging offline-installer"Tomáš Levora4-35/+20
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-11Fix packaging offline-installerDenis Kasanic4-20/+35
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-07Merge "Update build documentation"Samuli Silvius1-39/+15
2019-11-07Update build documentationDenis Kasanic1-39/+15
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-06Adding relative path supportTomáš Levora1-7/+8
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-05Chaging name of rhel resource directory to rpmJan Benedikt8-15/+15
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-04Updating instructions for vFWCL on ElAltoMichal Ptacek55-242/+6094
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-30Fixing helm repo add missing second argument bugTomáš Levora1-1/+1
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-24Merge "Update onap_rpm.list"Michal Ptacek1-5/+4
2019-10-24Updating documentation for El AltoTomáš Levora2-72/+26
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-22Update onap_rpm.listJan Benedikt1-5/+4
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-17Merge "Fixing wrong dependency directory in create_repo"Petr Ospalý3-79/+88
2019-10-17Fixing wrong dependency directory in create_repoJan Benedikt3-79/+88
Improving logic of create_repo.sh script. Changed from one common path to two different paths. One path for cloned offline-installer directory and second for resources directory. Issue-ID: OOM-2136 Change-Id: I627db02594c25df172c270ea015f167ea7050ca0 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
2019-10-17Update rke, kubectl and helmTomáš Levora12-140/+263
This commit updates rke (implementing K8S 1.15.4), kubectl binary and helm binary with tiller image: rke 0.3.0 kubernetes 1.15.4 kubectl 1.15.4 helm 2.14.2 dashboard 2.0.0-beta4 Kubernetes dashboard is also updated to be compliant with the 1.15 K8S. Note 1: There is a new datalist to split rke only images from other K8S related images. Note 2: El Alto recommendation cannot be fullfilled to the letter, because rke does not have any release supporting 1.15.2 version of kubernetes (only experimental). Issue-ID: OOM-2122 Change-Id: I02cf0955158eca622bcac40ceed42588dbdd3499 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-10-15Merge "Remove git repos list and simulation"Petr Ospalý3-44/+1
2019-10-15Merge "Remove NPMs and PYPIs from nexus blob"Petr Ospalý3-381/+76
2019-10-15Merge "Remove patching from offline-installer"Petr Ospalý4-95/+1
2019-10-15Remove git repos list and simulationTomáš Levora3-51/+1
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-15Remove NPMs and PYPIs from nexus blobTomáš Levora3-381/+76
Issue-ID: OOM-2015 Change-Id: Ie8bc1219291b52410ca7ec5a40ed3e70a11cd315 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-15Merge "Adding platform independent RPM download"Michal Ptacek4-6/+163
2019-10-15Adding platform independent RPM downloadJan Benedikt4-6/+163
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-11Remove patching from offline-installerTomáš Levora4-95/+1
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-09Merge "Update INFO.yaml"Michal Ptacek1-4/+6
2019-10-08Merge "Fixing invalid hostname filled by ci-installer"Michal Ptacek1-3/+3
2019-10-08Fixing deprecation warning in ci-installerTomáš Levora1-1/+1
Issue-ID: OOM-2128 Change-Id: I5b25007b0521596083f539be296291adc21bb1d8 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>