Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Issue-ID: OOM-2147
Change-Id: Ia80d034f562879dc3820d56ebe18d0046bd42b68
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Issue-ID: OOM-1994
Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com>
Change-Id: Ie8bbe23c90a4c2d1fd60d3fad36fcd8f741e6f63
|
|
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
|
|
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
|
|
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
|
|
|
|
|
|
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>
|
|
Issue-ID: OOM-2015
Change-Id: Ie8bc1219291b52410ca7ec5a40ed3e70a11cd315
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
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
|
|
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>
|
|
|
|
|
|
Issue-ID: OOM-2128
Change-Id: I5b25007b0521596083f539be296291adc21bb1d8
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
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>
|
|
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>
|
|
Change-Id: I0fd5683089aa1c08e07ac1ab282517e915169d4c
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: CIMAN-134
|
|
* changes:
Make cicdansible to set external ip
Use external_ip to populate the node address
Add external_ip variable
|
|
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>
|
|
|
|
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 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
* 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
|