oom/offline-installer.git
18 months agoMerge "[DOC] Add bounds to sphinx requirement" into istanbul istanbul
Thomas Kulik [Thu, 17 Nov 2022 12:29:31 +0000 (12:29 +0000)]
Merge "[DOC] Add bounds to sphinx requirement" into istanbul

18 months agoMerge "[DOC] Set defaultbranch istanbul in .gitreview" into istanbul
Thomas Kulik [Thu, 17 Nov 2022 12:28:51 +0000 (12:28 +0000)]
Merge "[DOC] Set defaultbranch istanbul in .gitreview" into istanbul

2 years ago[ANSIBLE] Do not add kubernetes nodes host keys to known_hosts file 13/128313/2
Bartek Grzybowski [Fri, 22 Apr 2022 10:38:18 +0000 (12:38 +0200)]
[ANSIBLE] Do not add kubernetes nodes host keys to known_hosts file

This operation is redundant and causes a warning on each ssh connection
from infra host to any node. As per documentation keys should be set up
prior to running installer with setup.yml playbook. If using cicdansible
those are also set up automatically there.

Change-Id: I4fae07f632b425321e95cff02370e6e7f2b5e66f
Issue-ID: OOM-2964
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Add bounds to sphinx requirement 26/128626/1
Cédric Ollivier [Thu, 14 Apr 2022 08:17:43 +0000 (10:17 +0200)]
[DOC] Add bounds to sphinx requirement

As ONAP was created before Oct 20 2020 in RTD, we
must set bounds to enforce a compatible Sphinx version
(see manual).

It also removes useless deps and incorrect concrete deps.

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I83e36d4ff783b5b6b133abe700a55803fc930aaa
(cherry picked from commit ace2a55c8d5c41de90f00162b45856870ad04c5d)

2 years ago[DOC] Set defaultbranch istanbul in .gitreview 25/128625/1
Cédric Ollivier [Thu, 14 Apr 2022 08:23:57 +0000 (10:23 +0200)]
[DOC] Set defaultbranch istanbul in .gitreview

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I97115e2fa2e53d5bd507e73f61b064083abdaab5

2 years ago[ANSIBLE] Do not run "onap" make target while building the helm charts 73/127773/3
Bartek Grzybowski [Thu, 17 Mar 2022 11:17:58 +0000 (12:17 +0100)]
[ANSIBLE] Do not run "onap" make target while building the helm charts

Change-Id: I057ae770366e92bebeb97310bab773cdf6b45429
Issue-ID: OOM-2946
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Drop make's "onap" target while building the charts 72/127772/2
Bartek Grzybowski [Thu, 17 Mar 2022 10:04:18 +0000 (11:04 +0100)]
[BUILD] Drop make's "onap" target while building the charts

Change-Id: I57d73afd7f5690f0c379b4f60e74f271bf3bd7cb
Issue-ID: OOM-2946
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years agoMerge "[CICDANSIBLE] Add availability_zone Heat stack parameter" into istanbul
Bartek Grzybowski [Thu, 17 Mar 2022 08:35:04 +0000 (08:35 +0000)]
Merge "[CICDANSIBLE] Add availability_zone Heat stack parameter" into istanbul

2 years ago[MOLECULE] Configure and write tests for application-overrides role 66/127766/2
Ostap Batih [Wed, 23 Feb 2022 11:16:06 +0000 (11:16 +0000)]
[MOLECULE] Configure and write tests for application-overrides role

    * configured molecule for application-override role for centos and ubuntu
    * wrote testinfra test for role

Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: Iff17b0b9439f3fcb52eb6c4f3829f0c65b55c1a3

2 years ago[MOLECULE] Pin the ansible-lint pip package 68/127768/1
Bartek Grzybowski [Wed, 16 Mar 2022 10:08:09 +0000 (11:08 +0100)]
[MOLECULE] Pin the ansible-lint pip package

Pinned to 5.4.0 due to an issue when version is resolved automatically

Change-Id: Idbeb12b472c4e4122da980d762b3703abd8084cc
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[CICDANSIBLE] Add availability_zone Heat stack parameter 60/127760/1
Bartek Grzybowski [Thu, 10 Mar 2022 13:09:49 +0000 (14:09 +0100)]
[CICDANSIBLE] Add availability_zone Heat stack parameter

This will allow parametrizing the availability zone in cicdansible

Change-Id: Ia825b01e246acf7877b66665d436f0c4a1991b60
Issue-ID: OOM-2935
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Add tests for docker downloader script 94/127294/1
Bartek Grzybowski [Fri, 4 Mar 2022 15:35:02 +0000 (16:35 +0100)]
[BUILD] Add tests for docker downloader script

This adds test routines for downloader script leveraging tox and pytest

Change-Id: I0c603434fd323741ad5230679c78c2c7e688edf3
Issue-ID: INT-1429
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Improve docker images download script testability 93/127293/1
Bartek Grzybowski [Fri, 4 Mar 2022 15:29:38 +0000 (16:29 +0100)]
[BUILD] Improve docker images download script testability

Command line argument parsing routine now returns raw ArgumentParser
object for easier instantiation in test routines.

Change-Id: Icac599a6e72b0a7514a1a33d23624c44dc819b9b
Issue-ID: INT-1429
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Fix docker mirror handling 89/127289/1
Bartek Grzybowski [Tue, 1 Mar 2022 11:34:28 +0000 (12:34 +0100)]
[BUILD] Fix docker mirror handling

In case image originates from same repository that is used as a docker
mirror do not try to retag the image (to the same name which would
end with error)

Change-Id: I4c43315d5633e39a347492d2b2065bdddfead6fb
Issue-ID: INT-1429
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years agoMerge changes from topic "OOM-2927" into istanbul
Bartek Grzybowski [Mon, 28 Feb 2022 15:55:25 +0000 (15:55 +0000)]
Merge changes from topic "OOM-2927" into istanbul

* changes:
  [ANSIBLE] Override sha tag for kube-webhook-certgen image
  [BUILD] Update image list for kube-prometheus-stack
  Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector"
  [ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1
  [MOLECULE] Pin the markupsafe pip package in virtualenv

2 years ago[BUILD] Fix a buggy condition in _pull_image routine 85/127285/1
Bartek Grzybowski [Mon, 28 Feb 2022 11:36:50 +0000 (12:36 +0100)]
[BUILD] Fix a buggy condition in _pull_image routine

Change-Id: Id9480ca97790e9732a3ab7ea53bfe3f14928c2d8
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Override sha tag for kube-webhook-certgen image 95/127195/3
Bartek Grzybowski [Tue, 22 Feb 2022 11:35:25 +0000 (12:35 +0100)]
[ANSIBLE] Override sha tag for kube-webhook-certgen image

It's default value breaks offline simulations.

Change-Id: I849cda0bc1818551b21ad39bcbc7dbf6325d4c62
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Update image list for kube-prometheus-stack 94/127194/3
Bartek Grzybowski [Tue, 22 Feb 2022 11:14:22 +0000 (12:14 +0100)]
[BUILD] Update image list for kube-prometheus-stack

Change-Id: I484914d0d9fae371cede9293a104e6ed8e957cf6
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years agoRevert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector" 92/127192/5
Bartek Grzybowski [Tue, 22 Feb 2022 08:32:38 +0000 (08:32 +0000)]
Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector"

This reverts commit 69a9449e18b2c82988e0fa9717b43a292da18ce0.

Reason for revert: Fixed upstream in OOM

Issue-ID: OOM-2927
Change-Id: I49d8bfe273cfc16cf79ac4e4995f841c71579d75
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1 89/127189/3
Bartek Grzybowski [Fri, 18 Feb 2022 12:28:54 +0000 (13:28 +0100)]
[ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1

Change-Id: I1f86b7d44716ed45abb2fdc63416d1d49004dffe
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Pin the markupsafe pip package in virtualenv 99/127199/1
Bartek Grzybowski [Wed, 23 Feb 2022 13:30:45 +0000 (14:30 +0100)]
[MOLECULE] Pin the markupsafe pip package in virtualenv

Pinning to an older version is required by a backward incompatible
change introduced in the library, details in the bug report at
https://github.com/pallets/markupsafe/issues/284

Change-Id: Ia291d70e0ca734a2149ee81c6168d82e1d7d7ebe
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Update documentation in regard of ONAP services monitoring 86/127186/1
Bartek Grzybowski [Fri, 18 Feb 2022 11:01:07 +0000 (12:01 +0100)]
[DOC] Update documentation in regard of ONAP services monitoring

Change-Id: Ib121b469822c024f63e230139f4f13ec46ef49ab
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Update ONAP MariaDB dashboard 80/127180/6
Bartek Grzybowski [Thu, 17 Feb 2022 10:02:26 +0000 (11:02 +0100)]
[ANSIBLE] Update ONAP MariaDB dashboard

This change adds a curated set of panels for ONAP's MariaDB Galera chart
monitoring.

Change-Id: Ief0f46966af59021cca3c1529d7ce10fd0a99b8f
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Add new dashboard for ONAP services monitoring in Grafana 91/126991/1
Bartek Grzybowski [Thu, 10 Feb 2022 13:39:40 +0000 (14:39 +0100)]
[ANSIBLE] Add new dashboard for ONAP services monitoring in Grafana

Change-Id: Ibeb18c82b945a2adbde044f3db40d77076aa3d01
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector 88/126988/2
Bartek Grzybowski [Tue, 8 Feb 2022 11:03:54 +0000 (12:03 +0100)]
[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector

Change-Id: I96bee37a8852e3868adbc5cdcdab6c844654e21d
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Setup Prometheus to select all ServiceMonitors 80/126980/2
Bartek Grzybowski [Fri, 4 Feb 2022 12:00:01 +0000 (13:00 +0100)]
[ANSIBLE] Setup Prometheus to select all ServiceMonitors

By default Prometheus selects only ServiceMonitors with a "release" label
set to "kube-prometheus-stack" which prevents correct discovery of Onap
monitoring targets. With these settings any ServiceMonitor with any
arbitrary label will be selected.

Change-Id: Icbb099a86779bc4df6333e71258504e18f3d1d09
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Unpin the ansible-lint pip package 90/126990/1
Bartek Grzybowski [Wed, 9 Feb 2022 10:47:31 +0000 (11:47 +0100)]
[MOLECULE] Unpin the ansible-lint pip package

Unpinned due to molecule failing on 'lint' command

Change-Id: Ib8fddf2edd0c8b81176f6ebfd5346478d6b53e52
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Enable importCustomCertsEnabled in docker images collector script 55/126455/1
Bartek Grzybowski [Wed, 26 Jan 2022 09:35:30 +0000 (10:35 +0100)]
[BUILD] Enable importCustomCertsEnabled in docker images collector script

Enabling it implies enumerating additional image for certInitializer which
might be needed for some usecases.

Change-Id: I3ed35d1be7f8542b57b5e142d2cc6eb679077ffd
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Update changelog 52/126452/1
Bartek Grzybowski [Fri, 21 Jan 2022 15:53:37 +0000 (16:53 +0100)]
[DOC] Update changelog

Change-Id: I58e680c78e077e95e1b0d29208272a60c7d6e01d
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Add option to define excluded private registries 03/126703/2
Bartek Grzybowski [Fri, 21 Jan 2022 12:14:24 +0000 (13:14 +0100)]
[BUILD] Add option to define excluded private registries

This option allows to exclude pulling some images that originate
from private registries from mirror defined in '--private-registry-mirror'.

Change-Id: I49e73eb8a1e253667bde4a387cd809c278ba77d2
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Support docker mirror in download script 02/126702/1
Bartek Grzybowski [Fri, 21 Jan 2022 10:20:49 +0000 (11:20 +0100)]
[BUILD] Support docker mirror in download script

A new option '--docker-private-registry-mirror' is added that allows
pulling images which originate from private registries from custom
docker mirroring repository (pull through cache)

Change-Id: I28ee693438d3684d3d0000a7dd94a265c0a617c1
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Fix argument name for DockerDownloader class instantiation 01/126701/1
Bartek Grzybowski [Thu, 20 Jan 2022 14:19:32 +0000 (15:19 +0100)]
[BUILD] Fix argument name for DockerDownloader class instantiation

Change-Id: Ie21ad508da894992a8202d71f8ac62374c609733
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add 'ubuntu' scenario for kube_prometheus.yml playbook tests 74/126474/1
Bartek Grzybowski [Wed, 5 Jan 2022 12:14:31 +0000 (13:14 +0100)]
[MOLECULE] Add 'ubuntu' scenario for kube_prometheus.yml playbook tests

Change-Id: Id423da14169e109c72f7441a1b944abef1e8a305
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add 'ubuntu' scenario for cert_manager.yml playbook tests 73/126473/1
Bartek Grzybowski [Wed, 5 Jan 2022 12:05:52 +0000 (13:05 +0100)]
[MOLECULE] Add 'ubuntu' scenario for cert_manager.yml playbook tests

Change-Id: Ibfd91503b9eb92126c90f4e9c1b0e418c0e63641
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add 'ubuntu' scenario for 'kube-prometheus-stack' role 72/126472/1
Bartek Grzybowski [Wed, 5 Jan 2022 11:50:04 +0000 (12:50 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'kube-prometheus-stack' role

Change-Id: I40ba8c39ad8530168672fad1134e26226d18b735
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add 'ubuntu' scenario for 'k8s-persistent-volume' role 71/126471/1
Bartek Grzybowski [Wed, 5 Jan 2022 11:32:31 +0000 (12:32 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'k8s-persistent-volume' role

Change-Id: I79b1cc4757ce5b45afae3f13b05f2739a3593d4f
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role 70/126470/1
Bartek Grzybowski [Wed, 5 Jan 2022 10:47:18 +0000 (11:47 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role

Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Fix typo in 'ubuntu' scenario setup for 'package-repository' role 69/126469/1
Bartek Grzybowski [Wed, 5 Jan 2022 10:22:01 +0000 (11:22 +0100)]
[MOLECULE] Fix typo in 'ubuntu' scenario setup for 'package-repository' role

Change-Id: I03fc928975122400d64bd39c341e07a7a604be90
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add 'ubuntu' scenario for 'cert-manager' role 68/126468/1
Bartek Grzybowski [Wed, 5 Jan 2022 10:08:16 +0000 (11:08 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'cert-manager' role

Change-Id: I33db6f8837a14959d35318db08acfb2002911a38
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add molecule setup for kube_prometheus.yml playbook 79/126279/2
Bartek Grzybowski [Tue, 4 Jan 2022 12:51:54 +0000 (13:51 +0100)]
[MOLECULE] Add molecule setup for kube_prometheus.yml playbook

nfs_mount_path in kube-prometheus-stack role is coerced to global
value from group_vars to allow direct verifier test reuse in
playbook run.

Change-Id: I125355f2b65b57ae6782b9eafcb6d6b58a7444e0
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add molecule setup for cert_manager.yml playbook 40/126440/3
Bartek Grzybowski [Tue, 4 Jan 2022 11:15:54 +0000 (12:15 +0100)]
[MOLECULE] Add molecule setup for cert_manager.yml playbook

Change-Id: I8d6847ac2f201ff3218c02f4ee0406042cea9ee2
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Drop pndareg.ctao6.net repository simulation 76/126276/3
Bartek Grzybowski [Wed, 22 Dec 2021 17:43:33 +0000 (18:43 +0100)]
[ANSIBLE] Drop pndareg.ctao6.net repository simulation

Pnda charts were already removed from OOM

Change-Id: I0c319b61271b45c642a77b1ea45e32a362cb262a
Issue-ID: DCAEGEN2-2503
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add testinfra tests for kube-prometheus-stack role 21/126421/2
Ostap Batih [Thu, 30 Dec 2021 14:54:31 +0000 (14:54 +0000)]
[MOLECULE] Add testinfra tests for kube-prometheus-stack role

Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: I64af5aadcc14c864a27806f20d56e0d7007ff33d

2 years ago[MOLECULE] Add testinfra test to nexus role 20/126420/2
Ostap Batih [Wed, 29 Dec 2021 14:44:59 +0000 (14:44 +0000)]
[MOLECULE] Add testinfra test to nexus role

Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: Ie1685398a663badcaf16a44b1bf99ec0e5c29d60

2 years ago[MOLECULE] Add testinfra tests for nginx role 19/126419/2
Ostap Batih [Tue, 28 Dec 2021 09:35:22 +0000 (09:35 +0000)]
[MOLECULE] Add testinfra tests for nginx role

Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: I32960fbb425d65f934c9c91ffbc764fceafa90f5

2 years ago[MOLECULE] Add testinfra tests for dns role 75/126275/1
Ostap Batih [Wed, 22 Dec 2021 09:13:33 +0000 (09:13 +0000)]
[MOLECULE] Add testinfra tests for dns role

Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: I9c653bdaa8cfcd1a8e187cbf899c060a6299457c

2 years ago[ANSIBLE] Generate shell completion code for kubectl and helm 47/126347/1
Bartek Grzybowski [Fri, 17 Dec 2021 10:58:13 +0000 (11:58 +0100)]
[ANSIBLE] Generate shell completion code for kubectl and helm

Rke.yml playbook leverages 'bash-completion' role

Change-Id: I1d09a3118f0b52ef274e4159666d9f1b0353783d
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Generate shell completion code for cmctl in 'cert_manager' playbook 46/126346/1
Bartek Grzybowski [Fri, 17 Dec 2021 10:38:18 +0000 (11:38 +0100)]
[ANSIBLE] Generate shell completion code for cmctl in 'cert_manager' playbook

Leverages 'bash-completion' role

Change-Id: Ia404ee05e7268f713ae4a0f613db01e873259ee9
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Drop shell completion code generation in 'kubectl' role 45/126345/1
Bartek Grzybowski [Fri, 17 Dec 2021 10:35:58 +0000 (11:35 +0100)]
[ANSIBLE] Drop shell completion code generation in 'kubectl' role

Moved to a dedicated role

Change-Id: I9000403ff619a784c9a480d5de2eafe857c80d8f
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Drop shell completion code generation in 'cert-manager' role 44/126344/1
Bartek Grzybowski [Fri, 17 Dec 2021 10:29:42 +0000 (11:29 +0100)]
[ANSIBLE] Drop shell completion code generation in 'cert-manager' role

Moved to a dedicated role

Change-Id: Ibfaf132d4d81edaee8332b809c3452d530ab1c4c
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Add 'bash-completion' role 43/126343/1
Bartek Grzybowski [Fri, 17 Dec 2021 10:17:55 +0000 (11:17 +0100)]
[ANSIBLE] Add 'bash-completion' role

Role installs bash-completion package and generates the
shell completion code for binary given as a role parameter

Change-Id: I95af7b7a16b0dec1dd7841f1db7afdb3738fe6bc
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Drop 'include_role' in favor of playing the role directly 42/126342/1
Bartek Grzybowski [Thu, 16 Dec 2021 10:23:59 +0000 (11:23 +0100)]
[MOLECULE] Drop 'include_role' in favor of playing the role directly

'include_role' statement does not play role dependencies

Change-Id: I6518f32f4ac1b1f9742d96aeb10d0868c4394c5d
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years agoMerge "[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role" into...
Bartek Grzybowski [Wed, 15 Dec 2021 14:41:01 +0000 (14:41 +0000)]
Merge "[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role" into istanbul

2 years ago[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role 66/126266/1
Bartek Grzybowski [Wed, 15 Dec 2021 11:03:05 +0000 (12:03 +0100)]
[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role

Change-Id: Id154423650483512aa04607f60b4001807be6721
Issue-ID: OOM-2237
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Define verifier tests directory directly in molecule.yml 65/126265/1
Bartek Grzybowski [Tue, 14 Dec 2021 13:54:26 +0000 (14:54 +0100)]
[MOLECULE] Define verifier tests directory directly in molecule.yml

Change-Id: Ic04764848c40a205d60abb01fdffa7e76065c237
Issue-ID: OOM-2238
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Fix 'application' role idempotency checks 64/126264/1
Bartek Grzybowski [Tue, 14 Dec 2021 13:24:30 +0000 (14:24 +0100)]
[ANSIBLE] Fix 'application' role idempotency checks

Change-Id: I9ae95664d30afabc7fd3ba1ea11e466c004f5089
Issue-ID: OOM-2238
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Drop .gitignore in 'certificates' role 63/126263/1
Bartek Grzybowski [Tue, 14 Dec 2021 11:22:46 +0000 (12:22 +0100)]
[MOLECULE] Drop .gitignore in 'certificates' role

Workdir gets cleaned automatically

Change-Id: I2e10dcb004946d38e59849565040356a9b8ac474
Issue-ID: OOM-1814
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Drop Helm v2 codebase in docker-images-collector.sh 29/126129/1
Bartek Grzybowski [Fri, 10 Dec 2021 14:06:52 +0000 (15:06 +0100)]
[BUILD] Drop Helm v2 codebase in docker-images-collector.sh

Change-Id: Id91028d9d29424dce040bb676c8b7694d9b6ca35
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add testinfra tests for cert-manager role 28/126128/1
Ostap Batih [Wed, 8 Dec 2021 09:50:52 +0000 (09:50 +0000)]
[MOLECULE] Add testinfra tests for cert-manager role

Issue-ID: OOM-2889
Change-Id: Ida4349ea463b3da182502ccc10927c2f22d684b9
Signed-off-by: Ostap Batih <o.batih@samsung.com>
2 years agoMerge "[DOC] Update build and install guide" into istanbul
Bartek Grzybowski [Fri, 10 Dec 2021 09:45:19 +0000 (09:45 +0000)]
Merge "[DOC] Update build and install guide" into istanbul

2 years ago[DOC] Update build and install guide 27/126127/1
Bartek Grzybowski [Thu, 9 Dec 2021 12:29:37 +0000 (13:29 +0100)]
[DOC] Update build and install guide

Change-Id: I068fcc88b324f86504e84026561f3f72efdac79c
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Update changelog 16/125816/1
Bartek Grzybowski [Fri, 3 Dec 2021 12:18:54 +0000 (13:18 +0100)]
[DOC] Update changelog

Change-Id: Ifbf20083840b2514e2c837b2ec321e5ca1fc99c8
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Remove separate helm cases from 'application' role verifier 61/126061/1
Bartek Grzybowski [Thu, 25 Nov 2021 11:40:10 +0000 (12:40 +0100)]
[MOLECULE] Remove separate helm cases from 'application' role verifier

Change-Id: I0a9fc3bad5ec639deabdf50f42f7798974e830bc
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Drop 'helm3' test scenario for play-rke role 60/126060/1
Bartek Grzybowski [Thu, 25 Nov 2021 11:14:35 +0000 (12:14 +0100)]
[MOLECULE] Drop 'helm3' test scenario for play-rke role

Change-Id: I7e8e351cb72964dba35a69c020a6d0016e0f383a
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Download helm-push unconditionally in 'prepare-helm' role 59/126059/1
Bartek Grzybowski [Thu, 25 Nov 2021 11:03:25 +0000 (12:03 +0100)]
[MOLECULE] Download helm-push unconditionally in 'prepare-helm' role

Change-Id: I12035d5f22d947a54ce56404924ad74561c29546
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Play Helm v3 tasks unconditionally 58/126058/1
Bartek Grzybowski [Thu, 25 Nov 2021 11:00:16 +0000 (12:00 +0100)]
[ANSIBLE] Play Helm v3 tasks unconditionally

Helm v3 is the default hence no need for conditionals.

Change-Id: I2c9924a0925a8fce0ccac23430b629e3e567f654
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Drop Helm v2 specific code from application role 57/126057/1
Bartek Grzybowski [Thu, 25 Nov 2021 10:51:26 +0000 (11:51 +0100)]
[ANSIBLE] Drop Helm v2 specific code from application role

Change-Id: I270594786b2ec3b63b5c6cd313278bb271db44b1
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Drop custom helm3 scenario for application role 56/126056/1
Bartek Grzybowski [Wed, 24 Nov 2021 14:05:40 +0000 (15:05 +0100)]
[MOLECULE] Drop custom helm3 scenario for application role

Helm v3 is the default now so removing its custom scenario

Change-Id: I8814d2a61e47d43e56df43889e730fada7ba99a6
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Drop custom test scenario for helm v3 55/126055/1
Bartek Grzybowski [Wed, 24 Nov 2021 12:28:29 +0000 (13:28 +0100)]
[MOLECULE] Drop custom test scenario for helm v3

Helm v3 is now the default so removing its custom test
scenario.

Change-Id: I2c2fa2594a743a1502fe0b414aa75c145cbaa5d9
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Include chartmuseum role unconditionally 54/126054/1
Bartek Grzybowski [Wed, 24 Nov 2021 11:13:07 +0000 (12:13 +0100)]
[ANSIBLE] Include chartmuseum role unconditionally

Helm v3 is now the default so dropping the conditional inclusion of
chartmuseum role

Change-Id: I78fa4a1438b49de40e16ebeb79276d74b9ecc5a6
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Switch default helm version to 3.6.3 53/126053/1
Bartek Grzybowski [Wed, 24 Nov 2021 11:10:08 +0000 (12:10 +0100)]
[ANSIBLE] Switch default helm version to 3.6.3

Change-Id: Id7b9a183f97fe3002784f9a9482af9ff98c88bf2
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Remove Helm v2 related artifacts 52/126052/1
Bartek Grzybowski [Tue, 23 Nov 2021 11:13:53 +0000 (12:13 +0100)]
[BUILD] Remove Helm v2 related artifacts

Change-Id: I59ab1615669949d04145ab5e2600b683ecd98826
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Add ghcr.io to simulated hosts list 42/125842/1
Bartek Grzybowski [Wed, 17 Nov 2021 16:00:09 +0000 (17:00 +0100)]
[ANSIBLE] Add ghcr.io to simulated hosts list

Required by Platform chart for Chartmuseum

Change-Id: I3e981d2e2acdfcd781d5cdfd777924b489fa1593
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Update changelog 41/125841/1
Bartek Grzybowski [Tue, 16 Nov 2021 10:25:37 +0000 (11:25 +0100)]
[DOC] Update changelog

Added cert-manager
Added cmctl CLI tool

Change-Id: I36afe14ab024a09808540f4f7464ad1916892458
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Setup cmctl autocompletion 40/125840/1
Bartek Grzybowski [Tue, 16 Nov 2021 10:21:41 +0000 (11:21 +0100)]
[ANSIBLE] Setup cmctl autocompletion

Bash autocompletion code is generated to facilitate autocompletion
for cmctl command.

Change-Id: I03494293bf91aada54af70f6e0fd2c49e2feea64
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Install cmctl utility 39/125839/1
Bartek Grzybowski [Mon, 15 Nov 2021 13:27:23 +0000 (14:27 +0100)]
[ANSIBLE] Install cmctl utility

Cert-manager role will also install cmctl utility for cert-manager
resources management.

Change-Id: I4c4d9ecb243c951a190733230f310f4899c9bc23
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Add download link for cmctl utility to binaries list 38/125838/1
Bartek Grzybowski [Mon, 15 Nov 2021 13:23:12 +0000 (14:23 +0100)]
[BUILD] Add download link for cmctl utility to binaries list

This will download cmctl tool (https://cert-manager.io/next-docs/usage/cmctl/)

Change-Id: I7247303d7ef5f0c8a7ab08c43a8705020918729a
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Add cert-manager provisioning playbook 37/125837/1
Bartek Grzybowski [Wed, 10 Nov 2021 11:23:07 +0000 (12:23 +0100)]
[ANSIBLE] Add cert-manager provisioning playbook

It's also added to main site.yml

Change-Id: I8283945d74324234cae6ada8898be713576427d5
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Fetch artifacts required by cert-manager 36/125836/1
Bartek Grzybowski [Wed, 10 Nov 2021 11:18:38 +0000 (12:18 +0100)]
[BUILD] Fetch artifacts required by cert-manager

Relevant docker images required by cert-manager got added to image
list file

Helm chart archive file http link got added to utils list

Change-Id: Iee7856b98edda501ab60e06f95426ce939d116d1
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Add cert-manager role 35/125835/1
Bartek Grzybowski [Wed, 10 Nov 2021 10:53:15 +0000 (11:53 +0100)]
[ANSIBLE] Add cert-manager role

A role that provisions the cert-manager (https://cert-manager.io/)
onto Kubernetes cluster

Change-Id: Iced3be4fae7ed20be8f58662b03a8a97b454b470
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Add prepare-cert-manager role 34/125834/1
Bartek Grzybowski [Wed, 10 Nov 2021 10:27:39 +0000 (11:27 +0100)]
[MOLECULE] Add prepare-cert-manager role

Its purpose is to setup container for cert-manager role testing.

Change-Id: Iae7db9d46f9aff02c388c93f02dd0d59bbcac46d
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Update changelog 33/125833/1
Bartek Grzybowski [Wed, 27 Oct 2021 09:56:29 +0000 (11:56 +0200)]
[DOC] Update changelog

Change-Id: Id39330ddb56b0b858ac886658056a2b1180ab8e6
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Upgrade Helm3 release to 3.6.3 in test scenarios 32/125832/1
Bartek Grzybowski [Wed, 27 Oct 2021 09:54:19 +0000 (11:54 +0200)]
[MOLECULE] Upgrade Helm3 release to 3.6.3 in test scenarios

Change-Id: I819e8157758b42507c8757128f4bd047ffd4fa9b
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Upgrade Helm to 3.6.3 31/125831/1
Bartek Grzybowski [Wed, 27 Oct 2021 09:48:31 +0000 (11:48 +0200)]
[BUILD] Upgrade Helm to 3.6.3

As required by OOM Istanbul

Change-Id: I3e5a9040798b8bf6b45e92e3c10233de8131a0b2
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Update changelog 97/124497/4
Bartek Grzybowski [Mon, 27 Sep 2021 13:05:16 +0000 (15:05 +0200)]
[DOC] Update changelog

Change-Id: Ie4e24e38507266375bd925658bd937bd83d89786
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years agoMerge changes from topic "rhel79-upgrade"
Bartek Grzybowski [Fri, 1 Oct 2021 09:59:31 +0000 (09:59 +0000)]
Merge changes from topic "rhel79-upgrade"

* changes:
  [DOC] Update Rhel/Centos version in docs to 7.9
  [ANSIBLE] Disable DNS management in Network Manager only if it's installed
  [CICDANSIBLE] Update heat template "image_name" parameter description
  [MOLECULE] Upgrade roles tests image to Centos7.9
  [MOLECULE] Upgrade playbook tests image to Centos7.9
  [BUILD] Run Centos7.9 docker image for rpm download

2 years ago[DOC] Update changelog 37/124637/1
Bartek Grzybowski [Fri, 1 Oct 2021 06:55:32 +0000 (08:55 +0200)]
[DOC] Update changelog

Change-Id: I5d1f766880f91e566c5d6f5297def6c1c3171f1c
Issue-ID: OOM-2846
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[CICDANSIBLE] Add feature to set custom docker storage size on nodes 12/124612/1
Bartek Grzybowski [Thu, 30 Sep 2021 10:55:54 +0000 (12:55 +0200)]
[CICDANSIBLE] Add feature to set custom docker storage size on nodes

This allows setting custom size for volume attached to nodes via
ansible variable

Change-Id: Ie7c9562403f3b330f52136adc5dc8a11f85bc950
Issue-ID: OOM-2846
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[CICDANSIBLE] Change default node count to 4 11/124611/1
Bartek Grzybowski [Thu, 30 Sep 2021 10:34:00 +0000 (12:34 +0200)]
[CICDANSIBLE] Change default node count to 4

Currently ONAP stability is best when at least 4 k8s nodes are used

Change-Id: I9453377d809c797e2bf704293ed48ace2a0f1ae1
Issue-ID: OOM-2846
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Update Rhel/Centos version in docs to 7.9 72/124472/4
Bartek Grzybowski [Fri, 24 Sep 2021 10:25:33 +0000 (12:25 +0200)]
[DOC] Update Rhel/Centos version in docs to 7.9

Change-Id: I0936b1aab2020566f10956baef49d9e65ac7a218
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Disable DNS management in Network Manager only if it's installed 48/124448/4
Bartek Grzybowski [Thu, 23 Sep 2021 12:40:22 +0000 (14:40 +0200)]
[ANSIBLE] Disable DNS management in Network Manager only if it's installed

Additional check for package presence is required as Centos7.9 cloud
image does not have it in contrary to RedHat7.9

Change-Id: I6dcfba0a0fdc1be16ce2ab06eb562168f7814538
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[CICDANSIBLE] Update heat template "image_name" parameter description 46/124446/4
Bartek Grzybowski [Thu, 23 Sep 2021 10:57:41 +0000 (12:57 +0200)]
[CICDANSIBLE] Update heat template "image_name" parameter description

Change-Id: I8138cda0417abcef0471d35cca505c9ee709aeec
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Upgrade roles tests image to Centos7.9 17/124417/5
Bartek Grzybowski [Wed, 22 Sep 2021 12:29:07 +0000 (14:29 +0200)]
[MOLECULE] Upgrade roles tests image to Centos7.9

Change-Id: I2ae6cba6e6e6bcc629dceb21609cb35cb75ea4cf
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[MOLECULE] Upgrade playbook tests image to Centos7.9 16/124416/4
Bartek Grzybowski [Wed, 22 Sep 2021 12:28:09 +0000 (14:28 +0200)]
[MOLECULE] Upgrade playbook tests image to Centos7.9

Change-Id: I7b2d67a25da0433f073e13616cdbb0291fc1a7b9
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[BUILD] Run Centos7.9 docker image for rpm download 80/124380/4
Bartek Grzybowski [Tue, 21 Sep 2021 12:21:53 +0000 (14:21 +0200)]
[BUILD] Run Centos7.9 docker image for rpm download

Change-Id: I1e4af38d326805c865adc4d920d95628e181fa2a
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Add changelog file 93/124493/2
Bartek Grzybowski [Mon, 27 Sep 2021 11:25:45 +0000 (13:25 +0200)]
[DOC] Add changelog file

This will ease the process of tracking changes and resolving particular
commit to a specific feature set.

Change-Id: I276d3aaea27859df01431c965b2702bbc74491d7
Issue-ID: OOM-2841
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[DOC] Fix docs build 94/124494/2
Bartek Grzybowski [Mon, 27 Sep 2021 12:14:14 +0000 (14:14 +0200)]
[DOC] Fix docs build

Change-Id: I7b79921e5e60de4195b30584063022c252ec3378
Issue-ID: OOM-2841
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years agoMerge "[ANSIBLE] Setup config file containing resources dir full path"
Bartek Grzybowski [Thu, 23 Sep 2021 09:33:50 +0000 (09:33 +0000)]
Merge "[ANSIBLE] Setup config file containing resources dir full path"

2 years ago[ANSIBLE] Setup config file containing resources dir full path 24/124324/4
Bartek Grzybowski [Fri, 17 Sep 2021 09:35:57 +0000 (11:35 +0200)]
[ANSIBLE] Setup config file containing resources dir full path

Such config might be handy in scenarios where user defined scripts
populated with offline-platform require to leverage the full path to
resources directory on infra node.

Change-Id: I5b4468ef7b396d2583ad64255679a29f3ff675b4
Issue-ID: OOM-2835
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2 years ago[ANSIBLE] Provision custom Grafana Home dashboard 91/124291/1
Bartek Grzybowski [Thu, 16 Sep 2021 11:39:33 +0000 (13:39 +0200)]
[ANSIBLE] Provision custom Grafana Home dashboard

Change-Id: I85e096cbecf24c2b6914b60ec97a4f056d18bd1e
Issue-ID: OOM-2833
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>