osm/devops.git
7 months agoSeparate cluster addons installation (openebs, metallb, cert-mgr) from install_kubead... 94/14294/1
garciadeblas [Mon, 1 Apr 2024 15:46:09 +0000 (17:46 +0200)]
Separate cluster addons installation (openebs, metallb, cert-mgr) from install_kubeadm_cluster

Change-Id: Id80d48b804372c97290f3cb4ac930ca76f1d692b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoUpdated k8s version to 1.29 and helm version to 3.14 in installers 92/14292/1
garciadeblas [Mon, 1 Apr 2024 15:15:01 +0000 (17:15 +0200)]
Updated k8s version to 1.29 and helm version to 3.14 in installers

Change-Id: I33f3ef86430742e47e79d8f01cc88d38344f51f7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoRemove install_helm function from install_kubeadm_cluster 91/14291/1
garciadeblas [Mon, 1 Apr 2024 15:02:14 +0000 (17:02 +0200)]
Remove install_helm function from install_kubeadm_cluster

Change-Id: I4dce361ac30b1df070f469951ce0f3cf909c38f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoSeparate helm client installation from install_kubeadm_cluster 90/14290/1
garciadeblas [Mon, 1 Apr 2024 13:01:27 +0000 (15:01 +0200)]
Separate helm client installation from install_kubeadm_cluster

Change-Id: I3179800acf111516dfc0750d98d6fd4edf3c47a9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoFix install_kubeadm_cluster to check pod readiness in cert-manager namespace 89/14289/1
garciadeblas [Mon, 1 Apr 2024 13:08:46 +0000 (15:08 +0200)]
Fix install_kubeadm_cluster to check pod readiness in cert-manager namespace

Change-Id: Ic8d03d75ce177d6dc38da77963378801fba0e2ec
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoSet global.image.tag as string in values passed to OSM helm chart 88/14288/1
garciadeblas [Mon, 25 Mar 2024 08:02:32 +0000 (09:02 +0100)]
Set global.image.tag as string in values passed to OSM helm chart

Change-Id: I29f030b706eaa4b853cb7781b58b50a903f2c63a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
8 months agoRemove SSL env variables from NBI Dockerfile 51/14251/1
garciadeblas [Mon, 11 Mar 2024 16:41:28 +0000 (17:41 +0100)]
Remove SSL env variables from NBI Dockerfile

Change-Id: I45c444ac2c2c6a9cd1907c70f7e086e28a3ee759
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
8 months agoFig bug 2338 for the LCM Dockerfile 36/14236/2
Pedro Escaleira [Tue, 5 Mar 2024 17:56:23 +0000 (17:56 +0000)]
Fig bug 2338 for the LCM Dockerfile

Change-Id: I80475c34a8d4afbbdaf26bb9e3c85d6a00e0c35b
Signed-off-by: escaleira <escaleira@av.it.pt>
8 months agoFix Bug 2338: updated kubernetes apt repo from apt.kubernetes.io to pkgs.k8s.io 32/14232/1
Pedro Escaleira [Mon, 4 Mar 2024 17:07:11 +0000 (17:07 +0000)]
Fix Bug 2338: updated kubernetes apt repo from apt.kubernetes.io to pkgs.k8s.io

Change-Id: I72bb442fb5c69e5dc48e7f8272df912bd56ad9bc
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
10 months agoUpdate K8s version in install_kubeadm_cluster.sh to 1.28 66/14166/2
garciadeblas [Wed, 24 Jan 2024 16:36:49 +0000 (17:36 +0100)]
Update K8s version in install_kubeadm_cluster.sh to 1.28

Change-Id: Ibc0028df3d41204d630643aff86d8fd9657c5169
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFix air-gapped installation issues with containerd and OSM helm chart 83/13983/5
garciadeblas [Thu, 2 Nov 2023 06:56:50 +0000 (07:56 +0100)]
Fix air-gapped installation issues with containerd and OSM helm chart

Change-Id: I5d8a8afc751d892de6be92ebbb62bd3ace382b21
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoRemove unnecessary code related to K8s monitoring in install_kubeadm_cluster.sh 64/14164/1
garciadeblas [Tue, 23 Jan 2024 10:34:50 +0000 (11:34 +0100)]
Remove unnecessary code related to K8s monitoring in install_kubeadm_cluster.sh

Change-Id: Iac32518e66e6b1ba97bc2eb98e8b1b55bd16d346
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoDisable docker installation in full_install_osm.sh 58/14158/2
garciadeblas [Mon, 22 Jan 2024 12:16:26 +0000 (13:16 +0100)]
Disable docker installation in full_install_osm.sh

Change-Id: If47dd38fbc3fbb22a7169c86e05769d38a187a8e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoNew option -c in full_install_osm to allow different K8s cluster engines 59/14159/2
garciadeblas [Mon, 22 Jan 2024 12:30:59 +0000 (13:30 +0100)]
New option -c in full_install_osm to allow different K8s cluster engines

Change-Id: Iec530a35acf33fa8b3da788e97a98a10cf3f8be9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoMove kubeadm folder creation from full_install_osm.sh to install_kubeadm_cluster.sh 57/14157/1
garciadeblas [Mon, 22 Jan 2024 12:15:31 +0000 (13:15 +0100)]
Move kubeadm folder creation from full_install_osm.sh to install_kubeadm_cluster.sh

Change-Id: Iaa02b89c029eb933e4ca5f5052a1829527b71a4a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoRename INSTALL_NODOCKER to INSTALL_DOCKER in full_install_osm.sh 56/14156/1
garciadeblas [Mon, 22 Jan 2024 12:09:21 +0000 (13:09 +0100)]
Rename INSTALL_NODOCKER to INSTALL_DOCKER in full_install_osm.sh

Change-Id: I62a3a7c650e40477a3a1c46e26ca8b440f253c3a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoUpdate iptables during osm installation only if LXD is installed 55/14155/1
garciadeblas [Mon, 22 Jan 2024 11:56:21 +0000 (12:56 +0100)]
Update iptables during osm installation only if LXD is installed

Change-Id: I8ed050bf3b402d37cd9897eafc70dc0fa4298028
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoUpdate pretty formatting of tools/check_changes.sh 51/14151/1
garciadeblas [Tue, 16 Jan 2024 14:15:15 +0000 (15:15 +0100)]
Update pretty formatting of tools/check_changes.sh

Change-Id: I05eb4a7e31c05122c5dba7aaf700805746f46600
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoPrepare installers and Jenkins for Release FIFTEEN 21/14121/1 release-v15.0-start v15.0.0
garciadeblas [Tue, 12 Dec 2023 20:53:43 +0000 (21:53 +0100)]
Prepare installers and Jenkins for Release FIFTEEN

Change-Id: I2b6f9d6743860e425915497314ab82a4e20c60e3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10997: Add OSM gitlab OCI URL for robot tests 69/14069/3
Gabriel Cuba [Mon, 27 Nov 2023 18:53:23 +0000 (13:53 -0500)]
Feature 10997: Add OSM gitlab OCI URL for robot tests

Change-Id: I007538fd37d407bb8fa80ff3f8fcefaa8fd86546
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
11 months agoRevert "Revert "Feature 11008: Update of OSM Helm installer to latest versions"" 13/14113/1
almagia [Thu, 7 Dec 2023 14:19:15 +0000 (15:19 +0100)]
Revert "Revert "Feature 11008: Update of OSM Helm installer to latest versions""

This reverts commit 6ec4e466630f34341a1150121c24649da5eab41d.

TSC approval on 5 Dec 2023

Change-Id: I58c6bb7e6695371ec03a8c4a13596525e3c84c5d

11 months agoRevert "Feature 11008: Update of OSM Helm installer to latest versions" 11/14111/2
Rahul [Tue, 5 Dec 2023 11:26:09 +0000 (11:26 +0000)]
Revert "Feature 11008: Update of OSM Helm installer to latest versions"

This reverts commit 7ecb4e809e72c4c4c3c33e8a30f2c6050e30b03e.

Change-Id: I58e2276e4b7af5f31bee77a21e28fb00e209bf07
Signed-off-by: Rahul <rzamre@indracompany.com>
11 months agoRemoving Charm and Snap promotion 71/14071/2
Mark Beierl [Wed, 29 Nov 2023 11:40:44 +0000 (06:40 -0500)]
Removing Charm and Snap promotion

As charms and snaps are no longer maintained after v14.0, this change
removes the promotion of charms and snaps in preparation for v15.0

Change-Id: I8f116a01ed0813f360e2f501e1685dccf168dc39
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
11 months agoUpdate Jenkins stage 1 and 2 files to enable new params so that they land in stage 3 68/14068/1
garciadeblas [Mon, 27 Nov 2023 17:50:12 +0000 (18:50 +0100)]
Update Jenkins stage 1 and 2 files to enable new params so that they land in stage 3

Change-Id: I3c7353662d2b1c3937ec30e92d38a8f193c4a861
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 11008: Update of OSM Helm installer to latest versions 05/14005/11
zamre [Thu, 9 Nov 2023 12:06:53 +0000 (12:06 +0000)]
Feature 11008: Update of OSM Helm installer to latest versions

Change-Id: Ie5ade4a5f0418b3dbb0da3b3648ebbea479961e5
Signed-off-by: zamre <rzamre@indracompany.com>
12 months agoPin version of charmed MongoDB to use channel latest/stable 54/14054/2
garciadeblas [Tue, 21 Nov 2023 12:46:36 +0000 (13:46 +0100)]
Pin version of charmed MongoDB to use channel latest/stable

Change-Id: I4d00dd4e01d92c27fee310f779c75808579ee193
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoFeature 11006: make juju installation optional in community installer 44/13944/8
garciadeblas [Tue, 10 Oct 2023 08:52:29 +0000 (10:52 +0200)]
Feature 11006: make juju installation optional in community installer

Change-Id: Id00504e76f8492e4bd146bca430b50df8061e92b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoFeature 10982: adapt Jenkinsfile for public clouds to work with ETSI Jenkins 42/14042/2
aguilard [Fri, 17 Nov 2023 07:53:43 +0000 (07:53 +0000)]
Feature 10982: adapt Jenkinsfile for public clouds to work with ETSI Jenkins

Change-Id: Ia8c47d3bfdcac69d6547a5eae1788acf5f9d3ab1
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
12 months agoPin gcloud version in tests Dockerfile 22/14022/1
aguilard [Wed, 15 Nov 2023 12:34:41 +0000 (12:34 +0000)]
Pin gcloud version in tests Dockerfile

Change-Id: Ic0afc565083752f0b8df63145d606346a53b8acc
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
12 months agoFeature 10982: Public Cloud Robot Suite 13/14013/4
aguilard [Mon, 13 Nov 2023 13:11:05 +0000 (13:11 +0000)]
Feature 10982: Public Cloud Robot Suite

Add Azure and Google Cloud CLIs to tests Dockerfile.
Add Jenkinsfile for Azure testing job. This job requires the following:
- Jenkins secret file for Azure credentials in JSON (AZURE_CREDENTIALS param)
- Two additional secrets for SSH public and private keys used when creating
the VMs (SSH_PRIVATE_KEY, SSH_PUBLIC_KEY)

Change-Id: Id4a0a1f401bc6a917532dd7498b187bf5887ea76
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
12 months agoFeature 11007: replace charmed mongodb with bitnami helm chart 71/13971/6
zamre [Mon, 16 Oct 2023 16:47:10 +0000 (16:47 +0000)]
Feature 11007: replace charmed mongodb with bitnami helm chart

This change replaces charmed MongoDB with Bitnami helm chart. The
values passed to the helm chart use the same service name that existed
previously, mongodb-k8s, so that no other changes are required in the
rest of modules.

It also modifies OSM health checks to successfully pass mongodb health
check.

Change-Id: I52b938598314ed75d2f248e9399dcae60934bd3e
Signed-off-by: zamre <rzamre@indracompany.com>
13 months agoUpdate osm helm chart to use version 8.0.34 of mysql server 45/13945/3
garciadeblas [Tue, 10 Oct 2023 09:45:57 +0000 (11:45 +0200)]
Update osm helm chart to use version 8.0.34 of mysql server

Change-Id: I4804d7da812c50283dd0cd3f5398fb4bbb9b93c2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoSimplify install_ngsa to use same code for helm install and upgrade 47/13947/3
garciadeblas [Tue, 10 Oct 2023 13:32:36 +0000 (15:32 +0200)]
Simplify install_ngsa to use same code for helm install and upgrade

Change-Id: Ibd4fed0216b45a60f383b12c9ab3c1117688bf73
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoFeature 11006: new boolean param in stage3 to enable juju installation 46/13946/1
garciadeblas [Tue, 10 Oct 2023 13:13:49 +0000 (15:13 +0200)]
Feature 11006: new boolean param in stage3 to enable juju installation

Change-Id: I9838fdac79a73a557810d488a48390d01212048b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoFix Airflow installation when defaultAirflowTag is numeric 33/13933/1
garciadeblas [Thu, 20 Jul 2023 15:02:19 +0000 (17:02 +0200)]
Fix Airflow installation when defaultAirflowTag is numeric

Change-Id: Ibfdfdfa6c582648e48fd4d797a8e0e7bf246209c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoUpdate default URLs and tags to use 14 and fourteen 29/13929/2
garciadeblas [Tue, 3 Oct 2023 15:52:02 +0000 (17:52 +0200)]
Update default URLs and tags to use 14 and fourteen

Change-Id: I0a6f2351a393bf17afe91a420d98b0ac2d5c5d14
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoUpdate full_install to remove pull of docker images before deploying with helm 28/13928/1
garciadeblas [Wed, 6 Sep 2023 10:39:07 +0000 (12:39 +0200)]
Update full_install to remove pull of docker images before deploying with helm

Change-Id: If7081fdeea41795ac13bb80a72be0d7b82f55697
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoUpdate full_install to rename deploy_charmed_services 27/13927/1
garciadeblas [Wed, 6 Sep 2023 10:31:41 +0000 (12:31 +0200)]
Update full_install to rename deploy_charmed_services

Change-Id: I0999515e7a7982562acfda76f1f9972dff2452a0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoUpdate Dockerfiles to remove pyangbind patch 81/13881/1
garciadeblas [Wed, 6 Sep 2023 08:31:22 +0000 (10:31 +0200)]
Update Dockerfiles to remove pyangbind patch

Change-Id: I231ad9e7cda7a39a2c4a6a4afcfdfe1ad57a289e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
15 months agoRevert "Integrate NBI and Prometheus" 50/13850/2
beierlm [Fri, 25 Aug 2023 21:03:47 +0000 (23:03 +0200)]
Revert "Integrate NBI and Prometheus"

This reverts commit 38f5d5834d610e011b3608fe8cc34b927775204a.

Reason for revert: Grafana-k8s requires Juju 3.1 and we are not ready
to change Juju versions at this time

Change-Id: I90dbb6e1c2921289ecaabfa636878763f981c3e1
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoRevert "Integrate MON and Grafana" 49/13849/2
beierlm [Fri, 25 Aug 2023 21:03:24 +0000 (23:03 +0200)]
Revert "Integrate MON and Grafana"

This reverts commit 87b620ace4933f30db8c4834862a57d56f9a07a6.

Reason for revert: Grafana-k8s requires Juju 3.1 and we are not ready
to change Juju versions at this time

Change-Id: I645f1a8bd71b48f5d139420dbe7d879c88c6a2c7
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoRevert "Integrate MON and Prometheus" 48/13848/2
beierlm [Fri, 25 Aug 2023 21:02:56 +0000 (23:02 +0200)]
Revert "Integrate MON and Prometheus"

This reverts commit c5b6206a7c21cadda941762389ecadd0100418f0.

Reason for revert: Grafana-k8s requires Juju 3.1 and we are not ready
to change Juju versions at this time

Change-Id: Id344572277ef7b32921922eb70bf1c37ceb12f24
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoRevert "Integrate grafana-k8s and prometheus-k8s" 47/13847/2
beierlm [Fri, 25 Aug 2023 21:01:44 +0000 (23:01 +0200)]
Revert "Integrate grafana-k8s and prometheus-k8s"

This reverts commit d8b4673088b0a120e3e6a2dcdafd40aee8799662.

Reason for revert: Grafana-k8s requires Juju 3.1 and we are not ready
to change Juju versions at this time

Change-Id: Ieb3d7d3713a180ab5cc45cd01cec31d4110512a0
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoRevert "Remove Prometheus charm" 46/13846/2
beierlm [Fri, 25 Aug 2023 21:01:16 +0000 (23:01 +0200)]
Revert "Remove Prometheus charm"

This reverts commit 722b50279283ef22a9f9fab256e416f795427f26.

Reason for revert: Grafana-k8s requires Juju 3.1 and we are not ready
to change Juju versions at this time

Change-Id: Ibc17a6973c981a21152a8f74c8054e42ac21b24f
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoRevert "Remove Grafana charm" 45/13845/2
beierlm [Fri, 25 Aug 2023 21:00:53 +0000 (23:00 +0200)]
Revert "Remove Grafana charm"

This reverts commit 027439f8b24c98525475e8f90591c70e053b72fe.

Reason for revert: Grafana-k8s requires Juju 3.1 and we are not ready
to change Juju versions at this time

Change-Id: I2f1056da47a9c0afc63fc2f547dbebbf667d11e6
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoFixes bug 2285: MTU Issue 08/13808/3
Mark Beierl [Fri, 11 Aug 2023 19:37:02 +0000 (19:37 +0000)]
Fixes bug 2285: MTU Issue

There is a bug in microk8s 1.26.7 where calico will not be
created with the correct MTU:

https://github.com/canonical/microk8s/issues/4142

This patch adds a workaround.

Change-Id: I164e612c03a70e9417b6f736b71f71b8050fddbc
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoChanging NBI Pebble Service command to enter the startup directory first 95/13795/8
gatici [Wed, 19 Jul 2023 09:45:43 +0000 (12:45 +0300)]
Changing NBI Pebble Service command to enter the startup directory first

In rockcraft.yaml WORKDIR is not supported, so it needs to be specified in Pebble service definition by using working-dir parameter.
However, working-dir is not supported in Juju 2.9.x. So, we are entering to the startup directory first as a workaround.

Change-Id: Ia441b5445822f0833f659f964fc1f2216586cdc5
Signed-off-by: gatici <gulsum.atici@canonical.com>
15 months agoUse 22.04 as base for charms 07/13807/3
Mark Beierl [Fri, 11 Aug 2023 15:26:22 +0000 (15:26 +0000)]
Use 22.04 as base for charms

When promoting charms that are now 22.04 based, we need
to use the correct base channel

Change-Id: I0c384dc9c253df28f9ad55e289b0d53c0d21f844
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoAdd check on installation of helm-charts in install_ngsa.sh 04/13804/2
aguilard [Thu, 10 Aug 2023 07:45:44 +0000 (07:45 +0000)]
Add check on installation of helm-charts in install_ngsa.sh

Increased timeout for deploying Airflow helm-chart.

Change-Id: Ib2d9c1802739dc2288ed9b827e23ea6f7c22d07c
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
15 months agoChanging MON Pebble Service command to enter the startup directory first 98/13798/5
Dario Faccin [Tue, 1 Aug 2023 15:39:36 +0000 (17:39 +0200)]
Changing MON Pebble Service command to enter the startup directory first

In rockcraft.yaml WORKDIR is not supported, so it needs to be specified in Pebble service definition by using working-dir parameter.
However, working-dir is not supported in Juju 2.9.x. So, we are entering to the startup directory first as a workaround.

Change-Id: I5949b16ce7e28dfb3f235eabd64062a5a185aa9c
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
15 months agoRemove Grafana charm 97/13797/3
Patricia Reinoso [Tue, 1 Aug 2023 08:34:41 +0000 (08:34 +0000)]
Remove Grafana charm

Grafana is replaced by grafana-k8s

Change-Id: Ia5f6adb08caa3db899d1d3705086873844578942
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
15 months agoRemove Prometheus charm 96/13796/3
Patricia Reinoso [Tue, 1 Aug 2023 08:32:42 +0000 (08:32 +0000)]
Remove Prometheus charm

Prometheus is replace by prometheus-k8s

Change-Id: I94e249e1f3467ec8fb20620361540f655d48e746
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
15 months agoChanging RO Pebble Service command to enter the startup directory first 94/13794/5
gatici [Mon, 31 Jul 2023 13:18:42 +0000 (16:18 +0300)]
Changing RO Pebble Service command to enter the startup directory first

In rockcraft.yaml WORKDIR is not supported, so it needs to be specified in Pebble service definition by using working-dir parameter.
However, working-dir is not supported in Juju 2.9.x. So, we are entering to the startup directory first as a workaround.

Change-Id: I44bbe0beeafce3932218a0df1d38191a14cb4a8a
Signed-off-by: gatici <gulsum.atici@canonical.com>
15 months agoIntegrate grafana-k8s and prometheus-k8s 73/13573/9
Patricia Reinoso [Fri, 7 Jul 2023 13:01:27 +0000 (13:01 +0000)]
Integrate grafana-k8s and prometheus-k8s

Update osm bundle
Update osm bundle HA
Update charmed installer

Change-Id: I34806659cd8fa44e4d9b4a1eea33e362cc38ae22
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
15 months agoIntegrate MON and Prometheus 84/13584/14
Patricia Reinoso [Mon, 26 Jun 2023 16:31:17 +0000 (16:31 +0000)]
Integrate MON and Prometheus

Using the metrics-endpoint | prometheus_scrape  integration
Add prometheus-url to the charm config.
prometheus-url does not have a default value.
if prometheus-url is missing the charm is blocked.

Change-Id: I963f305efec9f171eace82379ba23999736f1d4e
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
15 months agoIntegrate MON and Grafana 56/13556/27
Patricia Reinoso [Tue, 20 Jun 2023 15:23:47 +0000 (15:23 +0000)]
Integrate MON and Grafana

Add actions for datasources in mon charm

create, list and delete prometheus datasources

requests are done using grafana API calls

grafana-url, grafana-admin, grafana-password does
not have default value. If they are not present in
config the charm is blocked.

Change-Id: Ia0138b8d3088654f65ea9d23a664619a4475d3d8
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
16 months agoIntegrate NBI and Prometheus 99/13599/9
Patricia Reinoso [Wed, 28 Jun 2023 16:10:23 +0000 (16:10 +0000)]
Integrate NBI and Prometheus

Remove relation between NBI and Prometheus

Integration is done with a config parameter
prometheus-url

This parameter does not have default value.

If this parameter is not set the charm is in blocked status.

Change-Id: I312304b7c75835d0b1de5a59b21edc7f478666e9
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
16 months agoUse highest base for charms 68/13668/1
Mark Beierl [Wed, 12 Jul 2023 18:06:04 +0000 (14:06 -0400)]
Use highest base for charms

Updates to check if the charm being promoted uses 22.04 as its base, and promote that
one instead of 20.04

Change-Id: Ia5e34419729b1a2969eb4c10981aeeecc76fe544
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoRevert "Revert "Remove installers/docker folder"" 47/13647/2
almagia [Fri, 7 Jul 2023 09:55:13 +0000 (11:55 +0200)]
Revert "Revert "Remove installers/docker folder""

This reverts commit de6dd2c4069332dad7341b2d98620f4d2b481f8a.

Requested by TSC on 07.07.2023

Change-Id: Ice6a0c82b37f398ea274568832c561476f477717

16 months agoFix jenkins stage1 typo in OPENSTACK_OSM_FLAVOR 29/13629/1
garciadeblas [Wed, 5 Jul 2023 09:37:12 +0000 (11:37 +0200)]
Fix jenkins stage1 typo in OPENSTACK_OSM_FLAVOR

Change-Id: Ica00c6d8318bbb0d75ef2288eb8651ac8b3ba91a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoUpdate jenkins stage1 and stage2 to fix setting of VM flavor for OSM installation 28/13628/1
garciadeblas [Wed, 5 Jul 2023 07:07:56 +0000 (09:07 +0200)]
Update jenkins stage1 and stage2 to fix setting of VM flavor for OSM installation

Change-Id: I33a8b01cd47dbeea2d05473365dbe7c18c050b86
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoUpdate airflow-values to restrict the volume of the worker logs 24/13624/1
garciadeblas [Tue, 4 Jul 2023 13:46:11 +0000 (15:46 +0200)]
Update airflow-values to restrict the volume of the worker logs

Change-Id: Ic0216ae3a6adc4741b66d00cc97c4b71557e462b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoFix default docker image tag for installations in master 22/13622/1
garciadeblas [Tue, 4 Jul 2023 10:18:44 +0000 (12:18 +0200)]
Fix default docker image tag for installations in master

Change-Id: I1797f7e05cab2b50d4a8c947138c55df64829dd4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoCopy usage from full_install_osm into install_osm 18/13618/1
garciadeblas [Mon, 3 Jul 2023 17:31:15 +0000 (19:31 +0200)]
Copy usage from full_install_osm into install_osm

Change-Id: I3551d6e5021ffbc64a6a17a5f17251f838c07a33
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoUpdate jenkins stage3 to allow setting the VM flavor for OSM installation and tests 17/13617/1
garciadeblas [Mon, 3 Jul 2023 16:51:45 +0000 (18:51 +0200)]
Update jenkins stage3 to allow setting the VM flavor for OSM installation and tests

Change-Id: Ie133c40e70e596ad2d25a610f1839bdf24de2037
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoEnhacement of OSM bundle documentation 00/13600/5 release-v14.0-start
Guillermo Calvino [Thu, 29 Jun 2023 09:30:23 +0000 (11:30 +0200)]
Enhacement of OSM bundle documentation

Change-Id: I5b4ade65aa064fa76df678f4f9b00a7e0e9c711e
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
16 months agoSupport of Ubuntu22 in osmclient docker image 98/13598/3
garciadeblas [Wed, 28 Jun 2023 15:12:44 +0000 (17:12 +0200)]
Support of Ubuntu22 in osmclient docker image

Change-Id: I8c3fd04db71d1045764d37ee002798d9b017ab35
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoFix mongodb 5/stable charm 90/13590/3
Guillermo Calvino [Tue, 27 Jun 2023 14:24:37 +0000 (16:24 +0200)]
Fix mongodb 5/stable charm

Change-Id: I5f48d7c1bbe2a50c509f4db22605475480a66308
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
16 months agoFix minor typo in Dockerfiles 97/13597/1
garciadeblas [Wed, 28 Jun 2023 12:31:27 +0000 (14:31 +0200)]
Fix minor typo in Dockerfiles

Change-Id: Icdbf765e43557d4c2d469998cbf27f43487c76a8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoRevert "Remove installers/docker folder" 93/13493/3
garciadeblas [Thu, 1 Jun 2023 16:30:24 +0000 (18:30 +0200)]
Revert "Remove installers/docker folder"

This reverts commit a282db1e1960066376bc5475488edfc939235a66.

Change-Id: I88523ad80885c6aee41f0ecb799057362a5606ae
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoRemove installers/docker folder 92/13492/4
garciadeblas [Thu, 1 Jun 2023 12:22:56 +0000 (14:22 +0200)]
Remove installers/docker folder

Change-Id: I5e20a0add9bda3a173e5104dcfb38b6e2550430b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoRemove libssl-dev installation from install_osmclient 78/13578/2
garciadeblas [Mon, 26 Jun 2023 07:10:11 +0000 (09:10 +0200)]
Remove libssl-dev installation from install_osmclient

Change-Id: Idb00505feecb867a6028eee85870df5685298359
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoUpdate juju version to 2.9.43 80/13580/1
Guillermo Calvino [Mon, 26 Jun 2023 11:41:57 +0000 (13:41 +0200)]
Update juju version to 2.9.43

Change-Id: I3513d49c6d6deb7c0c5c15c1870a4456406a0b72
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
17 months agoUpdate NBI configmap to expose OSMNBI_USER_MANAGEMENT env var 63/13563/3
garciadeblas [Wed, 21 Jun 2023 16:02:47 +0000 (18:02 +0200)]
Update NBI configmap to expose OSMNBI_USER_MANAGEMENT env var

Change-Id: Ie47483dae11146f944eeec41533acbca1dae5848
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRemove specific installation of some pip packages during install_osmclient 75/13575/2
garciadeblas [Fri, 23 Jun 2023 12:07:58 +0000 (14:07 +0200)]
Remove specific installation of some pip packages during install_osmclient

Change-Id: I313ffd8856d3ee397b8423d64e93d522760341bd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFix archive logs so that no old logs are archived 53/13553/2
garciadeblas [Tue, 20 Jun 2023 11:18:37 +0000 (13:18 +0200)]
Fix archive logs so that no old logs are archived

Change-Id: I1d5883db41d1d2b9103bbb78a565042c2d8c0351
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRemove dependencies no longer needed by pycurl 33/13533/3
gonzalezpach [Thu, 15 Jun 2023 07:54:03 +0000 (09:54 +0200)]
Remove dependencies no longer needed by pycurl

Change-Id: I942e786ab9286f2f30bd60e146ea862324e4ca4d
Signed-off-by: gonzalezpach <pol.gonzalez.pacheco@upc.edu>
17 months agoFixes Bug 2224 65/13565/3
Mark Beierl [Wed, 21 Jun 2023 18:35:03 +0000 (14:35 -0400)]
Fixes Bug 2224

Minor changes to the LXD preseed were required as part of the
update to LXD 5.0

Change-Id: I6741e74b811f8435b4e74a9587c93d3c4d368dab
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
17 months agoUpdate helm3 version to 3.11 in LCM/Dockerfile 72/13472/3
garciadeblas [Tue, 30 May 2023 14:24:19 +0000 (16:24 +0200)]
Update helm3 version to 3.11 in LCM/Dockerfile

Change-Id: Ie12bc0ad958a8f1380563032259b7d82340318db
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoUpdate OSM helm chart to support installation behind HTTP proxy 82/13482/4
garciadeblas [Wed, 31 May 2023 21:47:01 +0000 (23:47 +0200)]
Update OSM helm chart to support installation behind HTTP proxy

Change-Id: Ibd50b4fddcb205130935ab38369144637b68b5a6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoSet default tag to testing-daily in OSM helm chart 83/13483/4
garciadeblas [Wed, 31 May 2023 22:04:35 +0000 (00:04 +0200)]
Set default tag to testing-daily in OSM helm chart

Change-Id: If73d982bd3ca810083248bf47edfc8d1e8e4f1b6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoAdd option in Jenkins stage3 to test old SA 96/13496/9
garciadeblas [Fri, 2 Jun 2023 10:56:29 +0000 (12:56 +0200)]
Add option in Jenkins stage3 to test old SA

Change-Id: Id363400ccf551ccf6ade39a32c7e598e4200886b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRename install_juju to install_juju_client in install_juju.sh 27/13527/4
garciadeblas [Wed, 7 Jun 2023 21:50:00 +0000 (23:50 +0200)]
Rename install_juju to install_juju_client in install_juju.sh

Change-Id: Iba9baef126eab52cfc06506ee6576a73c99cfa2e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoUpdate Keystone Dockerfile to use Ubuntu 22.04 43/13543/3
Gulsum Atici [Mon, 19 Jun 2023 07:58:23 +0000 (10:58 +0300)]
Update Keystone Dockerfile to use Ubuntu 22.04

Change-Id: I600b662e7505ca6dc3401c04dca82575143e1702
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoUpdate installer for Ubuntu22 and K8s 1.26.5 29/13429/29
garciadeblas [Thu, 1 Jun 2023 16:38:13 +0000 (18:38 +0200)]
Update installer for Ubuntu22 and K8s 1.26.5

Change-Id: I3b39c6b63c06847f42376ec6e8493d2085429986
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoSupport of Ubuntu22 docker image for NG-UI 26/13526/1
garciadeblas [Thu, 8 Jun 2023 15:23:24 +0000 (17:23 +0200)]
Support of Ubuntu22 docker image for NG-UI

Change-Id: Ie5fa1a82f522fe5fdcc1a726aae2e2c061c1c216
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoUpdate port and targetPort in webhook-translator 25/13525/2
garciadeblas [Thu, 8 Jun 2023 09:19:40 +0000 (11:19 +0200)]
Update port and targetPort in webhook-translator

Change-Id: I1e0a4a44f1d5ec540e2c8cffa9ff42e8a106233f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFix track end events in charmed installation and add OS info to the tracking 18/13518/4
garciadeblas [Wed, 7 Jun 2023 21:06:50 +0000 (23:06 +0200)]
Fix track end events in charmed installation and add OS info to the tracking

This change also cleans the installer and reorder slightly the
instructions in install_osm

Change-Id: I3dda98b6caaf02860d847d1012f490e71ff41aa0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoSimplify copy of libmd0 library in POL dockerfile 20/13520/3
garciadeblas [Wed, 7 Jun 2023 21:22:09 +0000 (23:22 +0200)]
Simplify copy of libmd0 library in POL dockerfile

Change-Id: Id411b68789ffcb705abafd9c336df77071cb8195
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRemove mon-service from OSM helm chart 02/13502/4
garciadeblas [Mon, 5 Jun 2023 08:33:05 +0000 (10:33 +0200)]
Remove mon-service from OSM helm chart

Change-Id: Id7e04a968cd590964efc61e13ec6a4d0f0614d7b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFix containerd configuration to be applied only if there is docker proxy 19/13519/1
garciadeblas [Wed, 7 Jun 2023 21:19:00 +0000 (23:19 +0200)]
Fix containerd configuration to be applied only if there is docker proxy

Change-Id: I483a916d9aa341af9184a3e549f7cf9409d4744b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoAdd missing libmd0 library to POL dockerfile 15/13515/3
Gulsum Atici [Wed, 7 Jun 2023 13:18:15 +0000 (16:18 +0300)]
Add missing libmd0 library to POL dockerfile

Change-Id: Ida7c638c33efdf2413a8fa0218e21edf7c805b2b
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoSimplify pulling of images in installer, and pull OSM prometheus image before deploying 13/13513/3
garciadeblas [Wed, 7 Jun 2023 10:21:33 +0000 (12:21 +0200)]
Simplify pulling of images in installer, and pull OSM prometheus image before deploying

Change-Id: I6071b0b584c39677401dcb580c718809b345930d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFix default installer to make local cluster pull images from docker proxy 14/13514/2
garciadeblas [Wed, 7 Jun 2023 10:53:25 +0000 (12:53 +0200)]
Fix default installer to make local cluster pull images from docker proxy

This change also reverts previous commit bc5422cf9fd9d21d7028d445fe1982080101611a.

Change-Id: Ia72ce8677a8ebe15f15e6f79d8b158654393f93a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFix errors in installation tracking related to proxy_ok and install_k8s_ok 12/13512/1
garciadeblas [Tue, 6 Jun 2023 16:56:32 +0000 (18:56 +0200)]
Fix errors in installation tracking related to proxy_ok and install_k8s_ok

Change-Id: I13c3ba2587bab8013585bc314955181add5041f3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFix default installer to make local cluster pull images from private registry 11/13511/1
garciadeblas [Tue, 6 Jun 2023 22:25:27 +0000 (00:25 +0200)]
Fix default installer to make local cluster pull images from private registry

Change-Id: Ied88a31ce3c4c5daa11f95dc68e7312a7dd70c50
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoAdd Keystone charm 74/13474/9
Patricia Reinoso [Wed, 31 May 2023 08:37:18 +0000 (08:37 +0000)]
Add Keystone charm

osm-keystone charm was in https://github.com/charmed-osm/keystone-operator

Change-Id: Iba2321b80dfe8aed79cf27d49883bcec671ff223
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
17 months agoImprove tracking of failure events in install_lxd.sh 95/13495/1
garciadeblas [Fri, 2 Jun 2023 09:09:39 +0000 (11:09 +0200)]
Improve tracking of failure events in install_lxd.sh

Change-Id: I49bdaf5321912463ab287d7e2493951eee4a05e8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoImprove tracking of failure events in install_juju.sh 94/13494/1
garciadeblas [Fri, 2 Jun 2023 08:29:23 +0000 (10:29 +0200)]
Improve tracking of failure events in install_juju.sh

Change-Id: Ib2394be66bee50abbff4200ca230cb20413e91e7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoClean references to OSM_DOCKER_WORK_DIR in uninstall_osm.sh 91/13491/2
garciadeblas [Thu, 1 Jun 2023 12:22:18 +0000 (14:22 +0200)]
Clean references to OSM_DOCKER_WORK_DIR in uninstall_osm.sh

Change-Id: I3d98359512ccdd240c7deaf57f31d1b6e96dce41
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>