osm/devops.git
10 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>
10 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>
10 months agoClean installer references to OSM_DOCKER_WORK_DIR 90/13490/2
garciadeblas [Thu, 1 Jun 2023 12:20:03 +0000 (14:20 +0200)]
Clean installer references to OSM_DOCKER_WORK_DIR

Change-Id: I54cdbb8c2ebb75d1dc1c939bd1c8682b2e9980b8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoJSCH workaround for Ubuntu 22.04 81/13481/2
Mark Beierl [Wed, 31 May 2023 18:31:37 +0000 (14:31 -0400)]
JSCH workaround for Ubuntu 22.04

Clearly marked workaround code which re-enables ssh-rsa as an
accpeted public key algorithm.

Change-Id: Iabd67c650d03d9b157b45df1481ccd2643a3beb1
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
10 months agoRename alertmanager vdu-webhook endpoint from alert_vdu to vdu_down 85/13485/1
garciadeblas [Thu, 1 Jun 2023 08:46:15 +0000 (10:46 +0200)]
Rename alertmanager vdu-webhook endpoint from alert_vdu to vdu_down

Change-Id: I3c3d343d4682f72a80a62ac0c972769a41665e7c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoUpdate Webhook/Dockerfile to use Ubuntu22 as base image 04/13404/5
garciadeblas [Wed, 17 May 2023 10:19:59 +0000 (12:19 +0200)]
Update Webhook/Dockerfile to use Ubuntu22 as base image

Change-Id: Ic26a3b442bb599b618974571d827a49a0cc73660
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFix installation tracking issues 44/13444/2
garciadeblas [Thu, 18 May 2023 09:28:16 +0000 (11:28 +0200)]
Fix installation tracking issues

Change-Id: I0f0c32fec318a12419ea3cc772967713bd8b0c42
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoAdd option -y to add-apt-repository in installers, always required for Ubuntu22 71/13471/2
garciadeblas [Tue, 30 May 2023 12:10:46 +0000 (14:10 +0200)]
Add option -y to add-apt-repository in installers, always required for Ubuntu22

Change-Id: I83cbb5e3e21fb31747d8c2ce3b84bb79069ae4a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoSupport of VDU alarms in new SA architecture 68/13468/1
aguilard [Tue, 30 May 2023 11:08:27 +0000 (11:08 +0000)]
Support of VDU alarms in new SA architecture

Change-Id: I26ef6330d8e29c5f4330c8b5488068b9aec6253c
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
10 months agoBuild jammy charms for osm 79/13379/13
Patricia Reinoso [Fri, 12 May 2023 09:04:10 +0000 (09:04 +0000)]
Build jammy charms for osm

jammy charms were already published in charmhub

Remove series:focal from bundle

Fix ha bundle

Update charmcraft files to build on jammy.

Update integration tests

Change-Id: Ifc0056287e731638235720b80b229bda5926f728
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
10 months agoCreate airflow secret as part of OSM Helm chart 62/13462/1
garciadeblas [Fri, 26 May 2023 09:10:11 +0000 (11:10 +0200)]
Create airflow secret as part of OSM Helm chart

Change-Id: Ia4c001df698d6a9b3743d30ab6507ca400cab072
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoAdd logLevel options to OSM helm chart 60/13460/2
garciadeblas [Thu, 25 May 2023 08:36:17 +0000 (10:36 +0200)]
Add logLevel options to OSM helm chart

Change-Id: Ie476bc6b0053a3fb0886ed2191a92c0916908e53
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoUpdate OSM helm chart to take into account manifest changes for feature 10957 46/13446/3
garciadeblas [Wed, 24 May 2023 15:21:06 +0000 (17:21 +0200)]
Update OSM helm chart to take into account manifest changes for feature 10957

Change-Id: Icd2802f943e3d1362d22be6daf88ba8eb56d54fe
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFeature 8170: deploy OSM services with a helm chart 04/13204/28
garciadeblas [Fri, 14 Apr 2023 07:57:17 +0000 (09:57 +0200)]
Feature 8170: deploy OSM services with a helm chart

Change-Id: Ice69a2c7adcfdae331fee7212337e47e82130516
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFix log archive in stage3 59/13459/1
garciadeblas [Thu, 25 May 2023 10:48:48 +0000 (12:48 +0200)]
Fix log archive in stage3

Change-Id: If97fcc39cbc3e1fabd6c0bcf877dfac771a2ba1b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoArchive Airflow DAGs logs in stage3 45/13445/1
garciadeblas [Wed, 24 May 2023 15:59:26 +0000 (17:59 +0200)]
Archive Airflow DAGs logs in stage3

Change-Id: Ie916fb68c463f5bef7e68116ac8910a08267dbe9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoRemove legacy keystone charm 41/13441/2
Patricia Reinoso [Wed, 24 May 2023 08:08:35 +0000 (08:08 +0000)]
Remove legacy keystone charm

Change-Id: Ieef80de0273facc15c42aaf216867c6866f183ab
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
10 months agoClarify messages and minor refactors in full_install_osm 26/13426/3
garciadeblas [Fri, 19 May 2023 09:42:13 +0000 (11:42 +0200)]
Clarify messages and minor refactors in full_install_osm

Change-Id: I33182aa1f7c53117ae0b645a4f02b3cbde7bfb1c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoUpdate stage3 to archive logs from Airflow DAGs 31/13431/2
garciadeblas [Sun, 21 May 2023 22:47:42 +0000 (00:47 +0200)]
Update stage3 to archive logs from Airflow DAGs

Change-Id: I99b6d6b9afe94135be8909c7aa96866615532389
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdate tests and NBI Dockerfile to patch pyangbing and install libmagic1 09/13409/6
garciadeblas [Wed, 17 May 2023 15:53:37 +0000 (17:53 +0200)]
Update tests and NBI Dockerfile to patch pyangbing and install libmagic1

Change-Id: If262e372ce26b04df5ac54961336620f27897933
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoubuntu20 as base image for OSM installation 05/13405/1
garciadeblas [Wed, 17 May 2023 14:24:22 +0000 (16:24 +0200)]
ubuntu20 as base image for OSM installation

Change-Id: I9372211baabe88c83c5f86e32dff35686968c1d4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFix charmcraft pack for keystone charm 89/13389/4
Patricia Reinoso [Tue, 16 May 2023 08:12:58 +0000 (08:12 +0000)]
Fix charmcraft pack for keystone charm

Add missing cryptography dependencies.

Change-Id: Id933b7b83ad81014bdbd2832379d202e8bc07e3f
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
11 months agoUpdate stage2 to use Ubuntu22 as Openstack base image 03/13403/1
garciadeblas [Wed, 17 May 2023 10:19:36 +0000 (12:19 +0200)]
Update stage2 to use Ubuntu22 as Openstack base image

Change-Id: I91c710a86f7fba14f3e39d95e8d3fb96a7f14662
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdate jenkins-stage3 to use ubuntu22 as default image and DEBUG loglevel for sshCommand 95/13395/2
garciadeblas [Tue, 16 May 2023 09:04:40 +0000 (11:04 +0200)]
Update jenkins-stage3 to use ubuntu22 as default image and DEBUG loglevel for sshCommand

Change-Id: I852e0f706176fda4f24ea4afd8a23e27280624ba
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoEnable NGSA installation (Airflow, AlertMgr and PushGW) by default 62/13362/4
garciadeblas [Wed, 10 May 2023 16:12:00 +0000 (18:12 +0200)]
Enable NGSA installation (Airflow, AlertMgr and PushGW) by default

This reverts commit 64885c283f162872a85ea05142d3ebf927aaacdc.

Change-Id: I5afc552335f8f25656f1947c5b212750683b807b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoSet focal series in OSM bundle. 76/13376/2
Patricia Reinoso [Thu, 11 May 2023 14:02:35 +0000 (14:02 +0000)]
Set focal series in OSM bundle.

Even if model-config 'default-series' is 'focal'
juju pulls the 'jammy' series for OSM charms
that's why we need to explicitly specify the series.

Change-Id: I4b2024f92f33817771cb40305d979213d7546af5
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
11 months agoUpdate tests/Dockerfile to make it work with Ubuntu22 base image 75/13375/2
garciadeblas [Thu, 11 May 2023 13:34:13 +0000 (15:34 +0200)]
Update tests/Dockerfile to make it work with Ubuntu22 base image

Change-Id: I0a7db076f5e9db92a8891d13636f5ac0a845ab4a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdates to Python 3.10 and Ubuntu22.04 60/13360/2
Mark Beierl [Wed, 10 May 2023 15:44:11 +0000 (11:44 -0400)]
Updates to Python 3.10 and Ubuntu22.04

Updates all dockerfiles for stage 3 to use newer versions

Change-Id: I4d73e04e11be4e12c98467f5d24ee5daff699d89
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
11 months agoRevert "Enable NGSA installation (Airflow, AlertMgr and PushGW) by default" 61/13361/1
garciadeblas [Wed, 10 May 2023 16:11:21 +0000 (18:11 +0200)]
Revert "Enable NGSA installation (Airflow, AlertMgr and PushGW) by default"

This reverts commit 82afc03ffce54cf3415e91ed077fb2338e2de7e9.

Change-Id: I511d4b9d9c7410999d135d217f33dd96f83e1d84
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdate Airflow Dockerfile to unpack python3.10 versions of osm_common and osm_ngsa 57/13357/1
garciadeblas [Wed, 10 May 2023 15:02:39 +0000 (17:02 +0200)]
Update Airflow Dockerfile to unpack python3.10 versions of osm_common and osm_ngsa

Change-Id: I2a650b66cfdf8bb2249882947d0a47622c673806
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoEnable NGSA installation (Airflow, AlertMgr and PushGW) by default 36/13336/5
garciadeblas [Thu, 4 May 2023 12:20:20 +0000 (14:20 +0200)]
Enable NGSA installation (Airflow, AlertMgr and PushGW) by default

Change-Id: Ia2ba77b7cfbd961a6b70f4257dab3470048d1117
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdate Airflow version to 2.5.3 and Airflow Helm chart version to 1.9.0 52/13352/1
garciadeblas [Wed, 10 May 2023 08:50:34 +0000 (10:50 +0200)]
Update Airflow version to 2.5.3 and Airflow Helm chart version to 1.9.0

Change-Id: I98928685b3f3d5399f8c97d306e2ba7878b5515d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdate install_ngsa.sh to use docker registry and user from CICD 46/13346/1
garciadeblas [Tue, 9 May 2023 11:33:22 +0000 (13:33 +0200)]
Update install_ngsa.sh to use docker registry and user from CICD

Change-Id: I33b96d876a0dbe95846b6c6b123438f6fb17f7f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoSplit generate_docker_images and pull_docker_images in installer 37/13337/2
garciadeblas [Thu, 4 May 2023 15:57:47 +0000 (17:57 +0200)]
Split generate_docker_images and pull_docker_images in installer

Change-Id: I09fc0f0c566b481f78d818715be64dbcb855c955
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdate db_upgrade.py to append osm to metric_name to be BWC 34/13334/3
garciadeblas [Thu, 4 May 2023 11:38:46 +0000 (13:38 +0200)]
Update db_upgrade.py to append osm to metric_name to be BWC

Change-Id: I8ed6497fe21a3db3ccf841795f8b92af1a95cc0b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoRefactor MongoUpgrade1214 in db_upgrade.py 33/13333/4
garciadeblas [Thu, 4 May 2023 09:54:30 +0000 (11:54 +0200)]
Refactor MongoUpgrade1214 in db_upgrade.py

Change-Id: I1da050701c20d1a04c34457743b43a89a2786929
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10986: Autoheal switch and Autoscale switch 13/13313/2
sritharan [Fri, 28 Apr 2023 05:38:10 +0000 (05:38 +0000)]
Feature 10986: Autoheal switch and Autoscale switch

Change-Id: I851299bf9bf57e9e50d6e1ad387766bbe13a192d
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
11 months agoFeature 10981: update alerts collections in Mongo from OSM v12 to v14 72/13272/4
aguilard [Tue, 25 Apr 2023 16:25:42 +0000 (16:25 +0000)]
Feature 10981: update alerts collections in Mongo from OSM v12 to v14

Change-Id: If9e7133439fa4c856d96a9108e4306a37b2fd167
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoFeature 10981: enable REST API in Airflow 29/13329/2
aguilard [Tue, 2 May 2023 10:20:21 +0000 (10:20 +0000)]
Feature 10981: enable REST API in Airflow

Change-Id: Iaae27b9917d8cc35bae6e67cce59bef3e9bd8b41
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoFix typo in file alertmanager-values.yaml 28/13328/2
aguilard [Tue, 2 May 2023 09:54:44 +0000 (09:54 +0000)]
Fix typo in file alertmanager-values.yaml

Change-Id: If2c17971aab5d1c37987d18d2c24ec5864a132f1
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoFeature 10981: fix bug in Airflow DAGs directory 05/13305/1
aguilard [Thu, 27 Apr 2023 11:02:21 +0000 (11:02 +0000)]
Feature 10981: fix bug in Airflow DAGs directory

Change-Id: I6e081306d1363401b27d7a3d4ca8d824862d05b6
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoFeature 10981: fix bug in AlertMgr installation 02/13302/1
aguilard [Thu, 27 Apr 2023 09:47:27 +0000 (09:47 +0000)]
Feature 10981: fix bug in AlertMgr installation

Change-Id: I83fd859d14fc64dc2b2e3328ce79577fffd619ce
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoFix Bug 2121: NG-UI uses unmaintained Chokidar version 76/13276/2
SANDHYA.JS [Wed, 26 Apr 2023 04:18:39 +0000 (09:48 +0530)]
Fix Bug 2121: NG-UI uses unmaintained Chokidar version

- Changed the node version from 10 to 14 incompatible with angular 14
  version.

Change-Id: Ib27ac394e2a30b9f66be530eab7fa3678d6bae01
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
11 months agoFeature 10981: changed repeat_interval parameter in AlertManager 80/13280/2
aguilard [Wed, 26 Apr 2023 11:26:07 +0000 (11:26 +0000)]
Feature 10981: changed repeat_interval parameter in AlertManager

Change-Id: I317a7f33ef49b9e2103fedbb611efb960cb0d28f
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoImprove stage-test script: Split charms list according to tox envlist. 52/13252/3
Dario Faccin [Thu, 20 Apr 2023 14:13:50 +0000 (16:13 +0200)]
Improve stage-test script: Split charms list according to tox envlist.

For newer charms the tox envlist includes lint, unit and integration: for these charms execute only lint and unit tests.
For older charms the tox envlist includes black, cover, flake8, pylint, yamllint, safety: for these charms execute all tests.

Change-Id: I6cfbe129440be1665f63572a1879060eccd822fd
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
11 months agoOSM DB Update Charm 90/13090/7
Mark Beierl [Thu, 23 Mar 2023 17:51:15 +0000 (13:51 -0400)]
OSM DB Update Charm

Initial load of code for the osm-update-db-operator charm

Change-Id: I2884249efaaa86f614df6c286a69f3546489b523
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
11 months agoFeature 10981: extended Prometheus sidecar to dump alerts rules in config files 97/13197/7
aguilard [Thu, 13 Apr 2023 16:57:57 +0000 (16:57 +0000)]
Feature 10981: extended Prometheus sidecar to dump alerts rules in config files

Change-Id: Ic454c894b60d0b2b88b6ea81ca35a0bf4d54ebac
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoFeature 10981: remove mon and pol for ng-sa installation 46/13246/3
garciadeblas [Mon, 17 Apr 2023 10:38:17 +0000 (12:38 +0200)]
Feature 10981: remove mon and pol for ng-sa installation

This change removes the deployment of POL for NG-SA installation.
In addition, it deploys a reduced MON, which will only run
mon-dashboarder. A new K8s manifest (ng-mon.yaml )file has been created
for the purpose.

Change-Id: I243a2710d7b883d505ff4b4d012f7d67920f0e73
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10981: fix CMD in webhook Dockerfile 24/13224/3
aguilard [Tue, 18 Apr 2023 16:25:19 +0000 (16:25 +0000)]
Feature 10981: fix CMD in webhook Dockerfile

Change-Id: If8332c12c2f065c0a4d195873e24a98aa34b0ed4
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoFeature 10981: auto-scaling alerts rules for AlertManager 01/13201/5
aguilard [Fri, 14 Apr 2023 13:04:14 +0000 (13:04 +0000)]
Feature 10981: auto-scaling alerts rules for AlertManager

Change-Id: I7e8c3f7b1dd3201b75848ae6264eaa2375a5b06b
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
11 months agoAdd nohup to http.server in tools/local-build.sh 45/13245/1
garciadeblas [Thu, 20 Apr 2023 08:04:55 +0000 (10:04 +0200)]
Add nohup to http.server in tools/local-build.sh

Change-Id: Ic21b33c22c069d6145ba9d60c7e3cebb75f99664
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoUpdate helm version to 3.11.3 03/13203/1
garciadeblas [Fri, 14 Apr 2023 08:00:31 +0000 (10:00 +0200)]
Update helm version to 3.11.3

Change-Id: Ic95f32cd1fc311bf93a817da90f48a17d7c2bd13
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoReplace OSM_STACK_NAME by OSM_NAMESPACE in installers scripts 02/13202/1
garciadeblas [Thu, 13 Apr 2023 16:07:44 +0000 (18:07 +0200)]
Replace OSM_STACK_NAME by OSM_NAMESPACE in installers scripts

Change-Id: I5ce4bdc392fd64b4bed7479768b91adba53c67e4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoAdd Dockerfile for Webhook translator 96/13196/1
garciadeblas [Thu, 13 Apr 2023 09:01:15 +0000 (11:01 +0200)]
Add Dockerfile for Webhook translator

Change-Id: Id9a787e0fd3fd953b1b2ace190cdca6a77199f27
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoUpdate tools/local-build.sh to run python http server instead of qhttp 95/13195/1
garciadeblas [Thu, 13 Apr 2023 09:00:14 +0000 (11:00 +0200)]
Update tools/local-build.sh to run python http server instead of qhttp

Change-Id: Id9857656e18e1487da7123e076bf00c0b9869d25
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoRemove unnecessary Makefile related to old docker image build process 02/13102/2
garciadeblas [Mon, 27 Mar 2023 10:49:43 +0000 (12:49 +0200)]
Remove unnecessary Makefile related to old docker image build process

Change-Id: Icc304cfe7124979584405ec6635ce2c7a9861eac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoFeature 10981: installation of webhook translator as part of NG-SA 52/13152/2
garciadeblas [Tue, 4 Apr 2023 08:52:46 +0000 (10:52 +0200)]
Feature 10981: installation of webhook translator as part of NG-SA

Change-Id: I5318460103a6b89b37931bf661618251a3837d04
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoFeature 10981: installation of AlertManager as part of NG-SA 04/13104/5
garciadeblas [Tue, 28 Mar 2023 16:27:20 +0000 (18:27 +0200)]
Feature 10981: installation of AlertManager as part of NG-SA

Change-Id: I99bb5785081df4395be336f323d5d4ac3dfd68b6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoLCM integration tests: use RO charm from charmhub instead of building it 97/13097/3
Dario Faccin [Mon, 27 Mar 2023 08:38:22 +0000 (10:38 +0200)]
LCM integration tests: use RO charm from charmhub instead of building it
locally

Change-Id: I3c1aba9227d9ef5c28f559447da63035214c8ea1
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
12 months agoIntegration tests for VCA Integrator Operator 62/13062/8
Dario Faccin [Wed, 15 Mar 2023 13:55:07 +0000 (14:55 +0100)]
Integration tests for VCA Integrator Operator

Change-Id: I2bc362961edb19f3a0696c779aa9eeaacc361572
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
12 months agoMinor indentation fixes in MON and POL K8s manifests 42/13142/2
garciadeblas [Tue, 4 Apr 2023 08:51:51 +0000 (10:51 +0200)]
Minor indentation fixes in MON and POL K8s manifests

Change-Id: Ib96f1655df650587fc6255d5f98986e1332bbb2f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoPartial revert of 13026 36/13136/2
Mark Beierl [Mon, 3 Apr 2023 17:32:22 +0000 (13:32 -0400)]
Partial revert of 13026

The *.gz and *Packages are actually used in the creation of
the debian repository for the installers.

Change-Id: I56ba0ce478fba9bcaeb58d6f2abaf235a4eab78a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
12 months agoAdding documentation to OSM bundles 87/13087/3
Guillermo Calvino [Thu, 23 Mar 2023 15:14:35 +0000 (16:14 +0100)]
Adding documentation to OSM bundles

Change-Id: I94b2d7467f4fba40b625acaf545dc20fc6079f8c
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
12 months agoUpdate Dockerfile and stage-test script to run tests for charms 34/13134/3
Dario Faccin [Fri, 31 Mar 2023 14:47:35 +0000 (16:47 +0200)]
Update Dockerfile and stage-test script to run tests for charms

This patch updates Dockerfile to use Ubuntu 20.04 as base for building
and testing charms.
This patch updates stage-test script to execute testing for charms.
Tests will be executed only for charms modified by the review.
This patch updates tox configuration for charms setting the python
interpreter to python3.8.

Change-Id: Ib9046b78d6520188cc51ac776fe60ea16479f11c
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
12 months agoUpdate bundle (standalone and HA) to use MongoDB charm from edge channel 32/13132/2
Dario Faccin [Mon, 3 Apr 2023 11:21:19 +0000 (13:21 +0200)]
Update bundle (standalone and HA) to use MongoDB charm from edge channel

Change-Id: Ie60a105a58c5838db90129f1d6d896907675a405
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
12 months agoRemove checks for copyright in charms 30/13130/2
Dario Faccin [Fri, 31 Mar 2023 14:56:38 +0000 (16:56 +0200)]
Remove checks for copyright in charms

This patch removes the flake8 copyright plugin and configuration.

Change-Id: I65e362748e16efbc48055370f8f1590d4910c000
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
12 months agoUpdate base image for Airflow to support Python 3.10 89/13089/2
garciadeblas [Thu, 23 Mar 2023 16:31:44 +0000 (17:31 +0100)]
Update base image for Airflow to support Python 3.10

Change-Id: I4d0bd5be38faff10de4bd2dbaaa9a6010ab12732
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoUpdate base image for Airflow to 2.5.2 88/13088/2
garciadeblas [Thu, 23 Mar 2023 16:29:26 +0000 (17:29 +0100)]
Update base image for Airflow to 2.5.2

Change-Id: Id73a0de10b80a4154e1816c5695d3c96de1b03fe
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoPin Charmed Operator Framework version for charms 92/13092/3
Dario Faccin [Fri, 24 Mar 2023 10:21:19 +0000 (11:21 +0100)]
Pin Charmed Operator Framework version for charms

Change-Id: Iff5659151e5678298b72e54b7b22a375bc7b7ebf
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
12 months agoFix docker tag in stage3 to coexist with periodic clean-up 85/13085/1
garciadeblas [Thu, 23 Mar 2023 13:04:09 +0000 (14:04 +0100)]
Fix docker tag in stage3 to coexist with periodic clean-up

Change-Id: I1ce9a5de84e0bcedd7abaecfa0fb6d753b853cb7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agoRemove duplicated lines in Airflow Dockerfile 77/13077/1
garciadeblas [Wed, 22 Mar 2023 21:03:13 +0000 (22:03 +0100)]
Remove duplicated lines in Airflow Dockerfile

Change-Id: Iaeb200d498c01e53a7748293d39b6d9a0ba3cfa9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoSet K8s 1.26 in charmed OSM installation 57/13057/2
Patricia Reinoso [Tue, 14 Mar 2023 16:06:32 +0000 (16:06 +0000)]
Set K8s 1.26 in charmed OSM installation

storage is deprecated: replaced by hostpath-storage

Change-Id: I11dd6fc2c18f89c289ad80da696929a7c0236d63
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
13 months agoFix unit tests for NG-UI charm 99/12999/5
Daniel Arndt [Fri, 24 Feb 2023 13:41:14 +0000 (09:41 -0400)]
Fix unit tests for NG-UI charm

Change-Id: If5b98446bb589a3346bcaf1d260a3ad2c5affd3b
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
13 months agoIntegration tests for NG UI charm 45/13045/7
Daniel Arndt [Tue, 7 Mar 2023 23:51:20 +0000 (19:51 -0400)]
Integration tests for NG UI charm

Change-Id: I3c8958d54aeed84faf1ed2194bc818c1691cf755
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
13 months agoCharm cleanup 96/12996/4
Mark Beierl [Wed, 22 Feb 2023 18:00:58 +0000 (13:00 -0500)]
Charm cleanup

Removal of obsolete charm code

Change-Id: Ifc5e83457cf580d8b236a636328470c527c5c3a9
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
13 months agoIntegration of OSM Charms with new MongoDB 87/12987/4
Dario Faccin [Thu, 16 Feb 2023 19:50:38 +0000 (20:50 +0100)]
Integration of OSM Charms with new MongoDB

Change-Id: I9e723dc94ff4c5b7e691179be4e9e3c7b43b6ab0
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
13 months agoUpdate the artifacts stored in stage2 26/13026/1
garciadeblas [Tue, 28 Feb 2023 11:56:07 +0000 (12:56 +0100)]
Update the artifacts stored in stage2

This change updates the patterns of the artifacts to be stored by the
method `archive` in `ci_helper.groovy`.

The pattern "dists/*.gz" and "dists/*Packages" corresponding to index
files for debian repos are no longer required.

The pattern "dist/*.whl" corresponding to Python wheel files is now
required, since it is an additional artifact generated in stage2.

Change-Id: Id87fcb98b2d79a9bd0b64fdaca44da8acd9e1cb1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoBug 2218: Fix command for `juju run-action` 85/12985/2
Daniel Arndt [Tue, 21 Feb 2023 15:48:27 +0000 (11:48 -0400)]
Bug 2218: Fix command for `juju run-action`

Change-Id: Ife2e8e9f532f3c67c7e2f71d3f77d3e4e7dc5257
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
13 months agoAdd OSM-MON integration tests 78/12978/3
Dario Faccin [Wed, 15 Feb 2023 09:52:55 +0000 (10:52 +0100)]
Add OSM-MON integration tests

Change-Id: I3199869880d0c9ce0784dcc623c844dd39f1180a
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
14 months agoAdd OSM-POL integration tests 77/12977/2
Dario Faccin [Wed, 15 Feb 2023 08:29:55 +0000 (09:29 +0100)]
Add OSM-POL integration tests

Change-Id: I140b9eb271c0f03520660b676e075b3f0d62a128
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
14 months agoAdd NBI integration tests 02/12902/4
Dario Faccin [Tue, 31 Jan 2023 10:51:48 +0000 (11:51 +0100)]
Add NBI integration tests

Change-Id: Id3330c06eb5a2d1fb5fe9a48be30f69c6012fb27
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
14 months agoMake iptables persistent after reboot 03/12903/2
Gulsum Atici [Wed, 1 Feb 2023 08:15:52 +0000 (11:15 +0300)]
Make iptables persistent after reboot

Change-Id: Ief0342cf23406622458c28cf2c65a6e6069262fc
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoReformat files according to new black validation 05/12905/1
Dario Faccin [Wed, 1 Feb 2023 15:56:28 +0000 (16:56 +0100)]
Reformat files according to new black validation

Change-Id: Ie550b7a41d14260080c9602df91d646e486e6884
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
14 months agoChange iptables rule to allow docker and LXD can share the same host network. 98/12898/1
Gulsum Atici [Mon, 30 Jan 2023 16:11:31 +0000 (19:11 +0300)]
Change iptables rule to allow docker and LXD can share the same host network.

Change-Id: Ie3a79e27acb55b3aa942ddee2a81fd5ec64428e4
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoImprove Merge Job Speed 96/12896/1
Mark Beierl [Sat, 28 Jan 2023 04:05:48 +0000 (04:05 +0000)]
Improve Merge Job Speed

Checks for charms that were changed for the merge job too
instead of forcing all charms to be rebuilt

Change-Id: I9018813ba087cd968968dc98f6167097a8ca4bdb
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
14 months agoAdd integration tests for osm-lcm charm 39/12839/5
Dario Faccin [Mon, 16 Jan 2023 16:40:08 +0000 (17:40 +0100)]
Add integration tests for osm-lcm charm

Change-Id: I2f2201a7910caa5d95e8b87e97a9ffdeb5a56e03
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
14 months agoFixing hostpath problem in debug mode for ro charm 29/12829/3
Gulsum Atici [Mon, 9 Jan 2023 22:38:31 +0000 (01:38 +0300)]
Fixing hostpath problem in debug mode for ro charm

Solving nested hostpath problem in debug mode for RO charm and adding missing hostpath of RO-SDN-onos-openflow.

Change-Id: Id75ccdb1e5d713c910686aaeddf0acb2e275b1c2
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
15 months agoUse branch for charms 36/12836/2
Mark Beierl [Thu, 12 Jan 2023 20:14:58 +0000 (15:14 -0500)]
Use branch for charms

When merging changes for charms in a development branch (ie: not v10.0, etc),
we want to publish it to latest/edge/branch-name so that it can be kept
separate from the other branches of development

Change-Id: I8f2ec65057d2029d7cda83b9b607a0474a801455
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoFixing branch in charm build 15/12815/1
Mark Beierl [Tue, 25 Oct 2022 13:01:08 +0000 (09:01 -0400)]
Fixing branch in charm build

First time testing with a non-production branch, need to use the branch
name in the final charm revision

Change-Id: I95f72d04c498310fd03eebc22b59fd2cc8aa6d46
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
(cherry picked from commit 54b4d430ae9f77cef482da7f2e7865e5ea498324)

15 months agoFix bug 2207 - Charmed installer fails when the option --small-profile is used 03/12803/1
Guillermo Calvino [Thu, 5 Jan 2023 11:20:24 +0000 (12:20 +0100)]
Fix bug 2207 - Charmed installer fails when the option --small-profile is used

Change-Id: Id0a13d9a053e7777b6812167d91f8c0348fc4625
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
16 months agoJFrog Speedup 92/12792/1
Mark Beierl [Thu, 15 Dec 2022 19:29:21 +0000 (14:29 -0500)]
JFrog Speedup

The current method of downloading artifacts for the daily repo generation
is to use a 'build :: build number' style search.  It turns out this
is actually not effective as it performs a full artifactory scan to
get content.  Instead if we directly ask for the content from the path,
the files we want are downloaded very quickly and no load is placed on
the artifactory server.

Change-Id: I1095b784dee73782d3104f301c977a7d958cce00
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoFix Bug 2204 - Grafana Charm is failing to be deployed in Charmed OSM Master 84/12784/1
Guillermo Calvino [Mon, 12 Dec 2022 16:17:49 +0000 (17:17 +0100)]
Fix Bug 2204 - Grafana Charm is failing to be deployed in Charmed OSM Master

Change-Id: Ia79845f41b642d223d8b501a87a61bdb99db9ab3
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
16 months agoAdd missing jq step 81/12781/1
Mark Beierl [Mon, 12 Dec 2022 14:00:59 +0000 (09:00 -0500)]
Add missing jq step

Installation of jq was moved from common to k8s specific
section, so must be replicated for charmed section

Change-Id: Ib843314ba9af97cd5be8932926ddd08839b4258a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoRelease Script for Charms and Snaps 71/12771/1
Mark Beierl [Thu, 8 Dec 2022 18:35:22 +0000 (13:35 -0500)]
Release Script for Charms and Snaps

Performs a scan of the track and channels specified to promote
the snaps and the charms to the next track.

Change-Id: I1ed59f1a34fda93eba19c4477149d166f0998fc1
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoAdding resources to charm promotion 69/12769/1
Mark Beierl [Thu, 8 Dec 2022 15:24:53 +0000 (10:24 -0500)]
Adding resources to charm promotion

Some charms have resources, and others, like prometheus have
multiple resources.  This change takes those resources into
account when promothing charms

Change-Id: I0ecb3634e379e5f1eb7036dadb591d73db773099
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoFixing track 67/12767/1
Mark Beierl [Thu, 22 Sep 2022 14:01:14 +0000 (10:01 -0400)]
Fixing track

Use variable instead of hard-coded 'latest'

Change-Id: I72bcf6f0ed7ef84aefde255d6ee877ead86836b6
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
(cherry picked from commit c598418ec0c5aadfb38aac91cccf28369a34f23c)

16 months agoUpdate Prometheus recording rules for NG-SA 53/12753/1
aguilard [Wed, 30 Nov 2022 12:00:32 +0000 (13:00 +0100)]
Update Prometheus recording rules for NG-SA

Change-Id: I6fd6dad662822490eecdd89006064be429b36db0
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
16 months agoUpdate Airflow/Dockerfile to install osm_ngsa deb package in user folder 45/12745/2
garciadeblas [Mon, 28 Nov 2022 22:54:26 +0000 (23:54 +0100)]
Update Airflow/Dockerfile to install osm_ngsa deb package in user folder

Change-Id: Iacc57c09341252ca7d7a11f89a2ba7a3ba697cf9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoUpdate tag to be used by airflow image when installing NGSA 28/12728/1 release-v13.0-start
garciadeblas [Fri, 25 Nov 2022 16:21:46 +0000 (17:21 +0100)]
Update tag to be used by airflow image when installing NGSA

Change-Id: I779139e1cb4cc62011e642b852d8c53a6ddea53e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoUpdate scripts in tools folder for release THIRTEEN 27/12727/1
garciadeblas [Fri, 25 Nov 2022 13:46:38 +0000 (14:46 +0100)]
Update scripts in tools folder for release THIRTEEN

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