summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-11-17Merge "[DOC] Add bounds to sphinx requirement" into istanbulistanbulThomas Kulik2-10/+7
2022-11-17Merge "[DOC] Set defaultbranch istanbul in .gitreview" into istanbulThomas Kulik1-0/+1
2022-04-22[ANSIBLE] Do not add kubernetes nodes host keys to known_hosts fileBartek Grzybowski3-8/+2
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>
2022-04-14[DOC] Add bounds to sphinx requirementCédric Ollivier2-10/+7
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)
2022-04-14[DOC] Set defaultbranch istanbul in .gitreviewCédric Ollivier1-0/+1
Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I97115e2fa2e53d5bd507e73f61b064083abdaab5
2022-03-21[ANSIBLE] Do not run "onap" make target while building the helm chartsBartek Grzybowski5-6/+0
Change-Id: I057ae770366e92bebeb97310bab773cdf6b45429 Issue-ID: OOM-2946 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-21[BUILD] Drop make's "onap" target while building the chartsBartek Grzybowski1-1/+1
Change-Id: I57d73afd7f5690f0c379b4f60e74f271bf3bd7cb Issue-ID: OOM-2946 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-17Merge "[CICDANSIBLE] Add availability_zone Heat stack parameter" into istanbulBartek Grzybowski5-0/+16
2022-03-16[MOLECULE] Configure and write tests for application-overrides roleOstap Batih10-1/+113
* 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
2022-03-16[MOLECULE] Pin the ansible-lint pip packageBartek Grzybowski1-1/+1
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>
2022-03-14[CICDANSIBLE] Add availability_zone Heat stack parameterBartek Grzybowski5-0/+16
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>
2022-03-08[BUILD] Add tests for docker downloader scriptBartek Grzybowski6-1/+118
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>
2022-03-08[BUILD] Improve docker images download script testabilityBartek Grzybowski1-9/+10
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>
2022-03-01[BUILD] Fix docker mirror handlingBartek Grzybowski1-0/+2
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>
2022-02-28Merge changes from topic "OOM-2927" into istanbulBartek Grzybowski7-50/+18
* 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
2022-02-28[BUILD] Fix a buggy condition in _pull_image routineBartek Grzybowski1-1/+1
Change-Id: Id9480ca97790e9732a3ab7ea53bfe3f14928c2d8 Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28[ANSIBLE] Override sha tag for kube-webhook-certgen imageBartek Grzybowski1-0/+5
It's default value breaks offline simulations. Change-Id: I849cda0bc1818551b21ad39bcbc7dbf6325d4c62 Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28[BUILD] Update image list for kube-prometheus-stackBartek Grzybowski1-9/+9
Change-Id: I484914d0d9fae371cede9293a104e6ed8e957cf6 Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor ↵Bartek Grzybowski1-37/+0
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>
2022-02-28[ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1Bartek Grzybowski3-3/+3
Change-Id: I1f86b7d44716ed45abb2fdc63416d1d49004dffe Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-23[MOLECULE] Pin the markupsafe pip package in virtualenvBartek Grzybowski1-1/+1
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>
2022-02-18[DOC] Update documentation in regard of ONAP services monitoringBartek Grzybowski3-0/+20
Change-Id: Ib121b469822c024f63e230139f4f13ec46ef49ab Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-17[ANSIBLE] Update ONAP MariaDB dashboardBartek Grzybowski3-46/+1252
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>
2022-02-10[ANSIBLE] Add new dashboard for ONAP services monitoring in GrafanaBartek Grzybowski2-0/+55
Change-Id: Ibeb18c82b945a2adbde044f3db40d77076aa3d01 Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-09[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selectorBartek Grzybowski1-0/+37
Change-Id: I96bee37a8852e3868adbc5cdcdab6c844654e21d Issue-ID: OOM-2924 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-09[ANSIBLE] Setup Prometheus to select all ServiceMonitorsBartek Grzybowski1-0/+3
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>
2022-02-09[MOLECULE] Unpin the ansible-lint pip packageBartek Grzybowski1-1/+1
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>
2022-01-26[BUILD] Enable importCustomCertsEnabled in docker images collector scriptBartek Grzybowski1-1/+1
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>
2022-01-21[DOC] Update changelogBartek Grzybowski1-0/+5
Change-Id: I58e680c78e077e95e1b0d29208272a60c7d6e01d Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-21[BUILD] Add option to define excluded private registriesBartek Grzybowski2-7/+18
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>
2022-01-21[BUILD] Support docker mirror in download scriptBartek Grzybowski2-5/+32
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>
2022-01-21[BUILD] Fix argument name for DockerDownloader class instantiationBartek Grzybowski1-3/+3
Change-Id: Ie21ad508da894992a8202d71f8ac62374c609733 Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for kube_prometheus.yml playbook testsBartek Grzybowski2-0/+28
Change-Id: Id423da14169e109c72f7441a1b944abef1e8a305 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for cert_manager.yml playbook testsBartek Grzybowski2-0/+28
Change-Id: Ibfd91503b9eb92126c90f4e9c1b0e418c0e63641 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'kube-prometheus-stack' roleBartek Grzybowski2-14/+32
Change-Id: I40ba8c39ad8530168672fad1134e26226d18b735 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'k8s-persistent-volume' roleBartek Grzybowski3-0/+27
Change-Id: I79b1cc4757ce5b45afae3f13b05f2739a3593d4f Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'bash-completion' roleBartek Grzybowski1-0/+30
Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Fix typo in 'ubuntu' scenario setup for 'package-repository' roleBartek Grzybowski1-2/+2
Change-Id: I03fc928975122400d64bd39c341e07a7a604be90 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add 'ubuntu' scenario for 'cert-manager' roleBartek Grzybowski2-0/+32
Change-Id: I33db6f8837a14959d35318db08acfb2002911a38 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[MOLECULE] Add molecule setup for kube_prometheus.yml playbookBartek Grzybowski7-3/+62
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>
2022-01-05[MOLECULE] Add molecule setup for cert_manager.yml playbookBartek Grzybowski5-0/+57
Change-Id: I8d6847ac2f201ff3218c02f4ee0406042cea9ee2 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-05[ANSIBLE] Drop pndareg.ctao6.net repository simulationBartek Grzybowski1-1/+0
Pnda charts were already removed from OOM Change-Id: I0c319b61271b45c642a77b1ea45e32a362cb262a Issue-ID: DCAEGEN2-2503 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-04[MOLECULE] Add testinfra tests for kube-prometheus-stack roleOstap Batih1-0/+32
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: I64af5aadcc14c864a27806f20d56e0d7007ff33d
2022-01-04[MOLECULE] Add testinfra test to nexus roleOstap Batih2-0/+12
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: Ie1685398a663badcaf16a44b1bf99ec0e5c29d60
2022-01-04[MOLECULE] Add testinfra tests for nginx roleOstap Batih2-0/+15
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: I32960fbb425d65f934c9c91ffbc764fceafa90f5
2021-12-22[MOLECULE] Add testinfra tests for dns roleOstap Batih3-8/+12
Issue-ID: OOM-2889 Signed-off-by: Ostap Batih <o.batih@samsung.com> Change-Id: I9c653bdaa8cfcd1a8e187cbf899c060a6299457c
2021-12-20[ANSIBLE] Generate shell completion code for kubectl and helmBartek Grzybowski1-0/+4
Rke.yml playbook leverages 'bash-completion' role Change-Id: I1d09a3118f0b52ef274e4159666d9f1b0353783d Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-20[ANSIBLE] Generate shell completion code for cmctl in 'cert_manager' playbookBartek Grzybowski1-0/+2
Leverages 'bash-completion' role Change-Id: Ia404ee05e7268f713ae4a0f613db01e873259ee9 Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-20[ANSIBLE] Drop shell completion code generation in 'kubectl' roleBartek Grzybowski3-36/+0
Moved to a dedicated role Change-Id: I9000403ff619a784c9a480d5de2eafe857c80d8f Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-20[ANSIBLE] Drop shell completion code generation in 'cert-manager' roleBartek Grzybowski3-33/+0
Moved to a dedicated role Change-Id: Ibfaf132d4d81edaee8332b809c3452d530ab1c4c Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>