osm/devops.git
16 months agoPyYAML bug workaround 86/13686/1 paas
Mark Beierl [Mon, 17 Jul 2023 19:13:26 +0000 (19:13 +0000)]
PyYAML bug workaround

Change-Id: I86ff4a687723a9a13b3ac7bf7fc51effa77121d2
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
17 months agoAdd missing libmd0 library to POL dockerfile 17/13517/1
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>
(cherry picked from commit 41170eaf9d1c4b30885df8dde7458fa03cba9c8c)

17 months agoFix default installer to make local cluster pull images from docker proxy 16/13516/1
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>
(cherry picked from commit 45331ff185461ed65a0e2bfd4d51e84327c2130b)

17 months agoFixing log collection 04/13504/1
Mark Beierl [Mon, 5 Jun 2023 19:56:48 +0000 (15:56 -0400)]
Fixing log collection

Change-Id: Ib223ed4b6862a2b50c46f1ceb0f2320a422dcb83
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
18 months agoUpdate from master 42/13442/3
Dario Faccin [Tue, 23 May 2023 15:44:49 +0000 (17:44 +0200)]
Update from master

Squashed commit of the following:

commit 5ef8e951103f7084c94d1db0628e46cf82c5d06b
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Fri May 19 11:42:13 2023 +0200

    Clarify messages and minor refactors in full_install_osm

    Change-Id: I33182aa1f7c53117ae0b645a4f02b3cbde7bfb1c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit b254c0268b0ce5969e50fd79fecd1a82fa635ce5
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Mon May 22 00:47:42 2023 +0200

    Update stage3 to archive logs from Airflow DAGs

    Change-Id: I99b6d6b9afe94135be8909c7aa96866615532389
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit e78f5a762565fe67b2637b560fdc829a9d71ccd0
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 17 17:53:37 2023 +0200

    Update tests and NBI Dockerfile to patch pyangbing and install libmagic1

    Change-Id: If262e372ce26b04df5ac54961336620f27897933
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 2aab0d77d06ee94a10ffed431d1b270871ce319e
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 17 16:24:22 2023 +0200

    ubuntu20 as base image for OSM installation

    Change-Id: I9372211baabe88c83c5f86e32dff35686968c1d4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit ef78c3c64d4a203334b7935e83e29bac56ccba97
Author: Patricia Reinoso <patricia.reinoso@canonical.com>
Date:   Tue May 16 08:12:58 2023 +0000

    Fix charmcraft pack for keystone charm

    Add missing cryptography dependencies.

    Change-Id: Id933b7b83ad81014bdbd2832379d202e8bc07e3f
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
commit 3f26c2c08271e5ff2beb3ee97909a035e322761f
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 17 12:19:36 2023 +0200

    Update stage2 to use Ubuntu22 as Openstack base image

    Change-Id: I91c710a86f7fba14f3e39d95e8d3fb96a7f14662
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 7e3c1483c5face876176644191a9ccaf9e8c0f0e
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue May 16 11:04:40 2023 +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>
commit 836354fe4faf5ec29acfabcaf1a79cefd86b5848
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 10 18:12:00 2023 +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>
commit 4e8024f71bb6651a447f100c1c0fbd5081ae79f5
Author: Patricia Reinoso <patricia.reinoso@canonical.com>
Date:   Thu May 11 14:02:35 2023 +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>
commit be5864a7da380b52e846465466c3363a32d5882b
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu May 11 15:34:13 2023 +0200

    Update tests/Dockerfile to make it work with Ubuntu22 base image

    Change-Id: I0a7db076f5e9db92a8891d13636f5ac0a845ab4a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 02feb8ef9ae5f545a111759cbbe9f01b1741cc85
Author: Mark Beierl <mark.beierl@canonical.com>
Date:   Wed May 10 11:44:11 2023 -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>
commit 54f21dc2e06cc72582026cf28b2206042f87133d
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 10 18:11:21 2023 +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>
commit 1233df73c57b1c72e282218839c18b139b3b5aa6
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 10 17:02:39 2023 +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>
commit 82afc03ffce54cf3415e91ed077fb2338e2de7e9
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu May 4 14:20:20 2023 +0200

    Enable NGSA installation (Airflow, AlertMgr and PushGW) by default

    Change-Id: Ia2ba77b7cfbd961a6b70f4257dab3470048d1117
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 0b7ef27773763a547581023f7b72f3d193bc898f
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed May 10 10:50:34 2023 +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>
commit 3763099835a202bb52a6d5db7b8e9c89261aec7a
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue May 9 13:33:22 2023 +0200

    Update install_ngsa.sh to use docker registry and user from CICD

    Change-Id: I33b96d876a0dbe95846b6c6b123438f6fb17f7f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 53b217f94a1c19c58eb3f3077779b3dcdfb741e7
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu May 4 17:57:47 2023 +0200

    Split generate_docker_images and pull_docker_images in installer

    Change-Id: I09fc0f0c566b481f78d818715be64dbcb855c955
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 2efbda22f27241546145752035a759016dd87430
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu May 4 13:38:46 2023 +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>
commit 986c308d5d89b8dbb3361ce2f1638b3285859d8e
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu May 4 11:54:30 2023 +0200

    Refactor MongoUpgrade1214 in db_upgrade.py

    Change-Id: I1da050701c20d1a04c34457743b43a89a2786929
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 05ee8ab29eb39cc34bd679e238c8051f29d93c35
Author: sritharan <priyadarshini@tataelxsi.co.in>
Date:   Fri Apr 28 05:38:10 2023 +0000

    Feature 10986: Autoheal switch and Autoscale switch

    Change-Id: I851299bf9bf57e9e50d6e1ad387766bbe13a192d
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
commit fc5714cf86a58590c2516dff0562ce859aace267
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Tue Apr 25 16:25:42 2023 +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>
commit e556fe0f1afc690e86e3d9de12e7ccea6e1edf7f
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Tue May 2 10:20:21 2023 +0000

    Feature 10981: enable REST API in Airflow

    Change-Id: Iaae27b9917d8cc35bae6e67cce59bef3e9bd8b41
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit b798d06e0769138e57b682e446a2576b9bf2d575
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Tue May 2 09:54:44 2023 +0000

    Fix typo in file alertmanager-values.yaml

    Change-Id: If2c17971aab5d1c37987d18d2c24ec5864a132f1
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 64775ea32b74f6629e7adf4e8bb397513ec20b6c
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Thu Apr 27 11:02:21 2023 +0000

    Feature 10981: fix bug in Airflow DAGs directory

    Change-Id: I6e081306d1363401b27d7a3d4ca8d824862d05b6
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 02609d9c7d62448a1b51b41befdfd0bc6da14d75
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Thu Apr 27 09:47:27 2023 +0000

    Feature 10981: fix bug in AlertMgr installation

    Change-Id: I83fd859d14fc64dc2b2e3328ce79577fffd619ce
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 8177b9cb342c3f820e5ba3dab85f633970960a95
Author: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
Date:   Wed Apr 26 09:48:39 2023 +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>
commit 7ff88a60b6493380746c694c0fad1b251ce08878
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Wed Apr 26 11:26:07 2023 +0000

    Feature 10981: changed repeat_interval parameter in AlertManager

    Change-Id: I317a7f33ef49b9e2103fedbb611efb960cb0d28f
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 0eda3f7f9927fc191d8f004e6dfaa1f7259d5429
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Thu Apr 20 16:13:50 2023 +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>
commit 6db47d485db75641a282f8da13720e23d6f6dfb5
Author: Mark Beierl <mark.beierl@canonical.com>
Date:   Thu Mar 23 13:51:15 2023 -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>
commit f91f9c32f0d3cd4011a288235d0e4e1ba44b85d5
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Thu Apr 13 16:57:57 2023 +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>
commit 0e49b4aa3a8853ea5b9702e0bc58134d8a4bcd88
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Mon Apr 17 12:38:17 2023 +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>
commit cb9bb7a66ce49050e2ea005276f7d342673bbcc6
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Tue Apr 18 16:25:19 2023 +0000

    Feature 10981: fix CMD in webhook Dockerfile

    Change-Id: If8332c12c2f065c0a4d195873e24a98aa34b0ed4
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 1805613aa8e2eb92a6daa7f7883ff10089447d37
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Fri Apr 14 13:04:14 2023 +0000

    Feature 10981: auto-scaling alerts rules for AlertManager

    Change-Id: I7e8c3f7b1dd3201b75848ae6264eaa2375a5b06b
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 63868ab3519bd2ab56e7da695e3e661ac877e9d8
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu Apr 20 10:04:55 2023 +0200

    Add nohup to http.server in tools/local-build.sh

    Change-Id: Ic21b33c22c069d6145ba9d60c7e3cebb75f99664
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 171bbd48411e256e22156c56aa10d1cd2f8ca0da
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Fri Apr 14 10:00:31 2023 +0200

    Update helm version to 3.11.3

    Change-Id: Ic95f32cd1fc311bf93a817da90f48a17d7c2bd13
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 325032a38c3cb0f433832e63241fa0a5ce5d95ea
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu Apr 13 18:07:44 2023 +0200

    Replace OSM_STACK_NAME by OSM_NAMESPACE in installers scripts

    Change-Id: I5ce4bdc392fd64b4bed7479768b91adba53c67e4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 4c246cfd7065f2a06191e97e0d7970ef2ffaf1f9
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu Apr 13 11:01:15 2023 +0200

    Add Dockerfile for Webhook translator

    Change-Id: Id9a787e0fd3fd953b1b2ace190cdca6a77199f27
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 2c5b33f530801667937e9147829bf8b02bd00409
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu Apr 13 11:00:14 2023 +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>
commit 7e26f9a0142e12dceda03d4b6e8cbbcbb2460c19
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Mon Mar 27 12:49:43 2023 +0200

    Remove unnecessary Makefile related to old docker image build process

    Change-Id: Icc304cfe7124979584405ec6635ce2c7a9861eac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit bacdfa852d07131631709fa16de142eb9257235e
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 4 10:52:46 2023 +0200

    Feature 10981: installation of webhook translator as part of NG-SA

    Change-Id: I5318460103a6b89b37931bf661618251a3837d04
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit bae51f695443abcd0e410a92161af05b497ddc7a
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Mar 28 18:27:20 2023 +0200

    Feature 10981: installation of AlertManager as part of NG-SA

    Change-Id: I99bb5785081df4395be336f323d5d4ac3dfd68b6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 9ab64a953b0a46d6e09c16387c851a56c8c809cd
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Mon Mar 27 10:38:22 2023 +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>
commit f88cb4f7140fd4e56b797deb29a41bd69c37913d
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Wed Mar 15 14:55:07 2023 +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>
commit 9a5ceab597f52688dd0496d67a556146a0472cd8
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 4 10:51:51 2023 +0200

    Minor indentation fixes in MON and POL K8s manifests

    Change-Id: Ib96f1655df650587fc6255d5f98986e1332bbb2f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 473c541d5bf7a126e426490f0228f8812cc70b28
Author: Mark Beierl <mark.beierl@canonical.com>
Date:   Mon Apr 3 13:32:22 2023 -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>
commit 0baeac7fd2079e87698fa1e3eea48833ee331cd7
Author: Guillermo Calvino <guillermo.calvino@canonical.com>
Date:   Thu Mar 23 16:14:35 2023 +0100

    Adding documentation to OSM bundles

    Change-Id: I94b2d7467f4fba40b625acaf545dc20fc6079f8c
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
commit f776ffa5a6a673a62c51559d690cc86799c3269a
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Fri Mar 31 16:47:35 2023 +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>
commit be1ab182ee509d5b458fcd1379a9101a7d2a09b1
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Mon Apr 3 13:21:19 2023 +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>
commit 99325bd3a2891df4b88329931535619e96ae28ec
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Fri Mar 31 16:56:38 2023 +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>
commit 75e3d990ec1cdb318f40f40676724a42e6528381
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu Mar 23 17:31:44 2023 +0100

    Update base image for Airflow to support Python 3.10

    Change-Id: I4d0bd5be38faff10de4bd2dbaaa9a6010ab12732
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit fb220c0cbdf0936d0cd52e4527832aeadc9ac2b4
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu Mar 23 17:29:26 2023 +0100

    Update base image for Airflow to 2.5.2

    Change-Id: Id73a0de10b80a4154e1816c5695d3c96de1b03fe
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit d0303f5fff9c744aa101767166e94277c9e3259f
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Fri Mar 24 11:21:19 2023 +0100

    Pin Charmed Operator Framework version for charms

    Change-Id: Iff5659151e5678298b72e54b7b22a375bc7b7ebf
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
commit 48eea891e08c1427b711d6890308854df4ccc78b
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Thu Mar 23 14:04:09 2023 +0100

    Fix docker tag in stage3 to coexist with periodic clean-up

    Change-Id: I1ce9a5de84e0bcedd7abaecfa0fb6d753b853cb7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit ef27d2e228e3dcfe572dc77ce7e4342085630acf
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed Mar 22 22:03:13 2023 +0100

    Remove duplicated lines in Airflow Dockerfile

    Change-Id: Iaeb200d498c01e53a7748293d39b6d9a0ba3cfa9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 57b89ae46f768a725e2ca7f01f7dfa97254e049a
Author: Patricia Reinoso <patricia.reinoso@canonical.com>
Date:   Tue Mar 14 16:06:32 2023 +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>
commit e64d8cfde60d376724327dddd17f343d1db0388d
Author: Daniel Arndt <daniel.arndt@canonical.com>
Date:   Fri Feb 24 09:41:14 2023 -0400

    Fix unit tests for NG-UI charm

    Change-Id: If5b98446bb589a3346bcaf1d260a3ad2c5affd3b
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
commit 773dd9959e5684902e84cc4751d47ccf321a4f22
Author: Daniel Arndt <daniel.arndt@canonical.com>
Date:   Tue Mar 7 19:51:20 2023 -0400

    Integration tests for NG UI charm

    Change-Id: I3c8958d54aeed84faf1ed2194bc818c1691cf755
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
commit 668b1469296df65fee65d62abbbbd087c69c2c04
Author: Mark Beierl <mark.beierl@canonical.com>
Date:   Wed Feb 22 13:00:58 2023 -0500

    Charm cleanup

    Removal of obsolete charm code

    Change-Id: Ifc5e83457cf580d8b236a636328470c527c5c3a9
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
commit 56db64f403eaea09530d1073640eee9b36ff2caf
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Thu Feb 16 20:50:38 2023 +0100

    Integration of OSM Charms with new MongoDB

    Change-Id: I9e723dc94ff4c5b7e691179be4e9e3c7b43b6ab0
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
commit 740e877d19b5e77c8d7f64a85e805c0e68602d41
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Feb 28 12:56:07 2023 +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>
commit 68bc89407c14e9e25cae41a94f1bc2e0c7eed59b
Author: Daniel Arndt <daniel.arndt@canonical.com>
Date:   Tue Feb 21 11:48:27 2023 -0400

    Bug 2218: Fix command for `juju run-action`

    Change-Id: Ife2e8e9f532f3c67c7e2f71d3f77d3e4e7dc5257
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
commit 4734de1c25c0be183d2b415c9692af902e817da7
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Wed Feb 15 10:52:55 2023 +0100

    Add OSM-MON integration tests

    Change-Id: I3199869880d0c9ce0784dcc623c844dd39f1180a
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
commit bb2f914425f0e7f64014d3edd6e55a83fe108975
Author: Dario Faccin <dario.faccin@canonical.com>
Date:   Wed Feb 15 09:29:55 2023 +0100

    Add OSM-POL integration tests

    Change-Id: I140b9eb271c0f03520660b676e075b3f0d62a128
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Change-Id: I7020fe97c6f266c9ff3ca38a0141bcf15f606df2
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
18 months agoFixing bundle 99/13299/1
Mark Beierl [Thu, 27 Apr 2023 09:08:19 +0000 (09:08 +0000)]
Fixing bundle

Series needs to be specified, and we need to use mongodb from track 5/edge

Change-Id: Ibaf2a2e575f13a66c3024b1ff9a516c4c8b6fc0f
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
18 months agoUpdate from master 86/13286/3
Dario Faccin [Wed, 15 Feb 2023 08:29:55 +0000 (09:29 +0100)]
Update from master

Merged the following from master into paas branch:

Add OSM-POL integration tests

Change-Id: I140b9eb271c0f03520660b676e075b3f0d62a128
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Add OSM-MON integration tests

Change-Id: I3199869880d0c9ce0784dcc623c844dd39f1180a
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Bug 2218: Fix command for `juju run-action`

Change-Id: Ife2e8e9f532f3c67c7e2f71d3f77d3e4e7dc5257
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
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>
ntegration of OSM Charms with new MongoDB

Change-Id: I9e723dc94ff4c5b7e691179be4e9e3c7b43b6ab0
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Charm cleanup

Removal of obsolete charm code

Change-Id: Ifc5e83457cf580d8b236a636328470c527c5c3a9
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Integration tests for NG UI charm

Change-Id: I3c8958d54aeed84faf1ed2194bc818c1691cf755
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
Fix unit tests for NG-UI charm

Change-Id: If5b98446bb589a3346bcaf1d260a3ad2c5affd3b
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
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>
Remove duplicated lines in Airflow Dockerfile

Change-Id: Iaeb200d498c01e53a7748293d39b6d9a0ba3cfa9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix docker tag in stage3 to coexist with periodic clean-up

Change-Id: I1ce9a5de84e0bcedd7abaecfa0fb6d753b853cb7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Pin Charmed Operator Framework version for charms

Change-Id: Iff5659151e5678298b72e54b7b22a375bc7b7ebf
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Update base image for Airflow to 2.5.2

Change-Id: Id73a0de10b80a4154e1816c5695d3c96de1b03fe
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Update base image for Airflow to support Python 3.10

Change-Id: I4d0bd5be38faff10de4bd2dbaaa9a6010ab12732
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
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>
Update bundle (standalone and HA) to use MongoDB charm from edge channel

Change-Id: Ie60a105a58c5838db90129f1d6d896907675a405
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
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>
Adding documentation to OSM bundles

Change-Id: I94b2d7467f4fba40b625acaf545dc20fc6079f8c
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
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>
Minor indentation fixes in MON and POL K8s manifests

Change-Id: Ib96f1655df650587fc6255d5f98986e1332bbb2f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
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>
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>
Feature 10981: installation of AlertManager as part of NG-SA

Change-Id: I99bb5785081df4395be336f323d5d4ac3dfd68b6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Feature 10981: installation of webhook translator as part of NG-SA

Change-Id: I5318460103a6b89b37931bf661618251a3837d04
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Remove unnecessary Makefile related to old docker image build process

Change-Id: Icc304cfe7124979584405ec6635ce2c7a9861eac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Update tools/local-build.sh to run python http server instead of qhttp

Change-Id: Id9857656e18e1487da7123e076bf00c0b9869d25
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Add Dockerfile for Webhook translator

Change-Id: Id9a787e0fd3fd953b1b2ace190cdca6a77199f27
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Replace OSM_STACK_NAME by OSM_NAMESPACE in installers scripts

Change-Id: I5ce4bdc392fd64b4bed7479768b91adba53c67e4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Update helm version to 3.11.3

Change-Id: Ic95f32cd1fc311bf93a817da90f48a17d7c2bd13
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Add nohup to http.server in tools/local-build.sh

Change-Id: Ic21b33c22c069d6145ba9d60c7e3cebb75f99664
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Feature 10981: auto-scaling alerts rules for AlertManager

Change-Id: I7e8c3f7b1dd3201b75848ae6264eaa2375a5b06b
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
Feature 10981: fix CMD in webhook Dockerfile

Change-Id: If8332c12c2f065c0a4d195873e24a98aa34b0ed4
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
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>
Feature 10981: extended Prometheus sidecar to dump alerts rules in config files

Change-Id: Ic454c894b60d0b2b88b6ea81ca35a0bf4d54ebac
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
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>
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>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
20 months agoCorrecting osm-nglcm charm configuration file name. 90/12990/2
Gulsum Atici [Tue, 21 Feb 2023 14:58:42 +0000 (17:58 +0300)]
Correcting osm-nglcm charm configuration file name.

Change-Id: Icba73353564dbf65eaa283d08d73f3488cb343ce
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
21 months agoDockerfile for NGLCM 91/12991/1
Mark Beierl [Tue, 21 Feb 2023 19:37:58 +0000 (19:37 +0000)]
Dockerfile for NGLCM

Stage 3 dockerfile to create NGLCM container

Change-Id: If0cde13b52d3ba78aa80856203a508eba2e5b35f
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoRemoving temporal from LCM 86/12986/1
Mark Beierl [Fri, 17 Feb 2023 21:07:41 +0000 (21:07 +0000)]
Removing temporal from LCM

Only NGCM should have temporal.  This was committed in error

Change-Id: I1a3a5bbadd0f83a4596c92488dc6ca7686a2930a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoMerge remote-tracking branch 'origin/master' into paas 42/12942/1
Mark Beierl [Thu, 9 Feb 2023 19:49:35 +0000 (14:49 -0500)]
Merge remote-tracking branch 'origin/master' into paas

Change-Id: Ia9fcc2d74d857cb091634345f0be31a7bbccb950
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 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>
21 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>
21 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>
21 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>
21 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>
21 months agoAdding NG-LCM charm 61/12861/2
Mark Beierl [Wed, 25 Jan 2023 02:17:42 +0000 (21:17 -0500)]
Adding NG-LCM charm

Creation of a charm for deploying the existing LCM OCI, but running
a different main() and providing Temporal configuration data

Change-Id: Ibbd636a0dcd9dfde987f83bfee11783080a79155
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoMerge branch 'master' into paas 67/12867/1
Mark Beierl [Wed, 25 Jan 2023 16:47:03 +0000 (11:47 -0500)]
Merge branch 'master' into paas

Change-Id: Ide2a4f27c8fbc012194d330017e55264d22f54e5
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 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>
22 months agoTemporal UI Charm 50/12850/3
Mark Beierl [Thu, 19 Jan 2023 16:17:51 +0000 (11:17 -0500)]
Temporal UI Charm

Initial load of a charm to deploy the Temporal web UI

Steps:

  juju deploy ch:osm-temporal-ui \
               --channel latest/edge/paas \
               --resource temporal-ui-image=temporalio/ui:2.9.1
  juju relate ingress osm-temporal-ui
  juju relate temporal osm-temporal-ui
  juju config osm-temporal-ui \
              external-hostname=temporal.127.0.0.1.nip.io

Change-Id: I594a33edcd168e54359f00451edf1bdf7fe9d24e
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
22 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>
22 months agoTemporal Charm 32/12832/10
Mark Beierl [Tue, 10 Jan 2023 21:26:06 +0000 (16:26 -0500)]
Temporal Charm

Initial commit of a basic Temporal deployment that uses
MySQL/MariaDB with root for database creation

Change-Id: Id5ff1a1ea69a0e760efe07ffc233fb8041658dee
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
22 months agoUse branch for charms 40/12840/1
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>
(cherry picked from commit 27da38deb3b184608a6d66ab6bc476506d8d7301)

22 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>
22 months agoMerge remote-tracking branch 'origin/master' into paas 24/12824/1
Mark Beierl [Fri, 6 Jan 2023 16:41:21 +0000 (11:41 -0500)]
Merge remote-tracking branch 'origin/master' into paas

Change-Id: Ie2b7b55d1b7678501140cdbddb827733aad9fda0
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
22 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)

22 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>
23 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>
23 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>
23 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>
23 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>
23 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>
23 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)

23 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>
23 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>
23 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>
23 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>
23 months agoFeature 10947 Cert-manager installation for gRPC authentication 36/12636/7
Gabriel Cuba [Mon, 7 Nov 2022 00:39:02 +0000 (19:39 -0500)]
Feature 10947 Cert-manager installation for gRPC authentication

It includes:
- Cert-manager installation
- Custom CA bootstrap
- Mount CA in LCM pod

Change-Id: I8e6d73fb0c179df130f7f4a7f8829bd781713d51
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
23 months agoUpdate Dockerfile Airflow image and values.yaml to definitive 81/12681/35
garciadeblas [Fri, 11 Nov 2022 09:24:51 +0000 (10:24 +0100)]
Update Dockerfile Airflow image and values.yaml to definitive

Change-Id: I2be745edd4dd292cbb29bde58655c47bb52d5a32
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agoRename DEFAULT_IF to OSM_DEFAULT_IF in install_lxd.sh 24/12724/2
garciadeblas [Fri, 25 Nov 2022 09:59:03 +0000 (10:59 +0100)]
Rename DEFAULT_IF to OSM_DEFAULT_IF in install_lxd.sh

Change-Id: I8d82e362792dfc2e3f12415807a20712c560e53a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agoPrepare installer, pods and Jenkins for Rel THIRTEEN 23/12723/2
garciadeblas [Thu, 24 Nov 2022 19:16:57 +0000 (20:16 +0100)]
Prepare installer, pods and Jenkins for Rel THIRTEEN

Change-Id: Id7bc562963acdb8facf7c6fb48e9598f0743d92f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agoBug 2192 - MON charm to support the MON attribute vm_infra_metrics in osm-mon Charm 12/12712/2
Guillermo Calvino [Wed, 23 Nov 2022 09:31:18 +0000 (10:31 +0100)]
Bug 2192 - MON charm to support the MON attribute vm_infra_metrics in osm-mon Charm

Change-Id: I153b196f67c5b4cf017af15d9a10c8ed98e0dee4
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
23 months agoAdding logging around repo 16/12716/2
Mark Beierl [Wed, 23 Nov 2022 14:33:42 +0000 (09:33 -0500)]
Adding logging around repo

Adding some tree commands and lsof to check on the repo directory
as it does not always get removed properly

Change-Id: Ibc23d232c3f0e00e1fe899d91f218030292f5efd
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFeature 10593 Air-gapped installation. OSM behind proxy 93/12693/14
garciadeblas [Tue, 15 Nov 2022 13:11:56 +0000 (14:11 +0100)]
Feature 10593 Air-gapped installation. OSM behind proxy

Change-Id: Iac74e39fb00a396de1a6a971c35962a6688dad06
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoBug 2193 - Grafana Charm does not get the Prometheus password if it is changed 04/12704/3
Guillermo Calvino [Fri, 18 Nov 2022 12:43:26 +0000 (13:43 +0100)]
Bug 2193 - Grafana Charm does not get the Prometheus password if it is changed

Change-Id: I2d9a72c90a75f85ef10f5985223dda2995d7febd
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoBug 2192 fixed - MON charm to support the MON attribute vm_infra_metrics 98/12698/2
Guillermo Calvino [Thu, 17 Nov 2022 10:54:31 +0000 (11:54 +0100)]
Bug 2192 fixed - MON charm to support the MON attribute vm_infra_metrics

Change-Id: I0b87faf6433e2628ee4916a76a8f7e367c6456a1
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoAdd mon-exporter as scrape target in Prometheus 02/12702/4
garciadeblas [Thu, 17 Nov 2022 23:55:44 +0000 (00:55 +0100)]
Add mon-exporter as scrape target in Prometheus

The Prometheus sidecar is expected to generate the scrape targets from
the config map and from the prometheus_jobs in MongoDB. MON is adding
mon-exporter as prometheus_job in MongoDB. There are race conditions in
the start of MON and Prometheus that prevent the sidecar to be aware
of the mon-exporter being added to prometheus_jobs collection in
MongoDB.

This change adds mon-exporter to the default scrape-targets and reconciles
the jobs in Mongo and the jobs in the configmap, prevailing the job in the
configmap if duplicated.

Change-Id: Ib6f1cb89723d7b4942eeb77fd0ea46a0d3493d58
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoLog generated prometheus config file in sidecar 00/12700/1
garciadeblas [Thu, 17 Nov 2022 16:44:23 +0000 (17:44 +0100)]
Log generated prometheus config file in sidecar

Change-Id: Iafefe1d4fc91521ecc0da067c0d54bb6d26baa31
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFeature 10967 New option ngsa to install monitoring pipeline architecture 38/12638/20
garciadeblas [Fri, 4 Nov 2022 22:18:48 +0000 (23:18 +0100)]
Feature 10967 New option ngsa to install monitoring pipeline architecture

This change covers the installation of Apache Airflow
and Prometheus Pushgateway as an experimental option in
the installer.

Changes are the following:
- `installers/full_install_osm.sh`:
  - The installer includes a new option "--ng-sa" to install Airflow and
    Prometheus Pushgateway
  - When the option is used, the script will call `installers/install_ng_sa.sh`
    in turn.
- `installers/install_ng_sa.sh`:
  - This script will install Airflow and Pushgateway in the OSM Kubernetes
    cluster in osm namespace using the helm charts from the respective communities.
- `installers/helm/values/airflow/values.yaml`:
   - File with the values to be used for the installation of Airflow helm chart.
- `docker/Airflow/Dockerfile`:
  - Dockerfile used to build the Airflow image, incorporating the DAG Python files,
    requirements and internal Python libraries used by DAGs from `osm_ngsa.deb`.

Change-Id: I04cb60b25a9a32e42d4a97fac2d1f6abf868b1f7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFeature 10966 Prometheus recording rules for VNF and NS status 71/12571/14
garciadeblas [Fri, 30 Sep 2022 10:00:27 +0000 (12:00 +0200)]
Feature 10966 Prometheus recording rules for VNF and NS status

The new file ng-prometheus.yaml controls the deployment
of OSM Prometheus when using the new monitoring pipeline
architecture.

This file includes the recording rules necessary to obtain
VNF status and NS status, derived from VM status. Those rules
are stored in file `osm_rules.yml`, as part of configmap prom.

Change-Id: Ibc3aa25e741ef4e680e5775e1d52fa171af0813b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoDevops Cleanup 60/12460/5
Mark Beierl [Tue, 16 Aug 2022 13:57:13 +0000 (09:57 -0400)]
Devops Cleanup

Removes old files from devops that are not maintained and are
confusing to developers looking to use robot tests or other
tools that have been abandoned in this repository.

Change-Id: I1eca6f413477868fd8892463b696c933f55c35e4
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoAdd init loop in prometheus sidecar container 97/12697/1
garciadeblas [Tue, 15 Nov 2022 13:12:48 +0000 (14:12 +0100)]
Add init loop in prometheus sidecar container

Change-Id: Ia6502c0e4ceef5354b27768e8632ea1e58a14076
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug 2143 to track errors during installation of Kubernetes and helm 00/12500/8
garciadeblas [Mon, 29 Aug 2022 09:25:02 +0000 (11:25 +0200)]
Fix bug 2143 to track errors during installation of Kubernetes and helm

Change-Id: I180100f6bc26e1425acd853f51382c0eb2b374d3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFeature 10961 Addition of external targets to OSM Prometheus 93/12493/8
garciadeblas [Wed, 7 Sep 2022 20:57:53 +0000 (22:57 +0200)]
Feature 10961 Addition of external targets to OSM Prometheus

This commit allows the automatic regeneration of a Prometheus config
file from a sidecar by combining the information in PROMETHEUS_BASE_CONFIG_FILE
and the prometheus_jobs in mongo.

Change-Id: I0246d60ec32733a088ca8590a6445735549bf4de
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoMinor fix in stage3 during push to dockerhub 75/12575/2
garciadeblas [Mon, 3 Oct 2022 14:16:56 +0000 (16:16 +0200)]
Minor fix in stage3 during push to dockerhub

Change-Id: I54fb53d2e58443fe0900c1e0111bebaa6daf9d16
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFixing branch in charm build 09/12609/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>
2 years agoFixing typo 91/12591/1
Mark Beierl [Fri, 14 Oct 2022 12:42:49 +0000 (08:42 -0400)]
Fixing typo

Change-Id: I6b3c3a5322c7b7cf47d40d26b01e9552c8a2b04a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFixing Relations 89/12589/1
Mark Beierl [Thu, 13 Oct 2022 16:55:26 +0000 (12:55 -0400)]
Fixing Relations

Keystone environment variables were not being set, and
the wrong prometheus password was being used

Change-Id: I18e701f4eb9c583edf7905e7404d96bee8d1d8b1
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoRevert juju agent version 88/12588/1
Mark Beierl [Thu, 13 Oct 2022 13:03:04 +0000 (09:03 -0400)]
Revert juju agent version

Back to .34 as some errors occurred

Change-Id: I07a909d6ab62a65fd56134582430d07fa5e4ecac
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFixing image typo 85/12585/1
Mark Beierl [Wed, 12 Oct 2022 17:05:21 +0000 (13:05 -0400)]
Fixing image typo

With sidecar charms, the image overlay now needs to have
the name of the unit prepended to the image resource.

Change-Id: I4e503137f6d4167904a5654aa7811f84c4374315
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoIncrementing Juju version 84/12584/1
Mark Beierl [Wed, 12 Oct 2022 14:11:59 +0000 (10:11 -0400)]
Incrementing Juju version

Updates agent to 2.9.35

Change-Id: I1f3c1b597552104163fa7acafe310a3ba6d3138e
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFlake8 compliance in Prometheus/src/app.py 34/12534/4
garciadeblas [Wed, 7 Sep 2022 20:35:53 +0000 (22:35 +0200)]
Flake8 compliance in Prometheus/src/app.py

Change-Id: I1f09864d979d0d300ad85d794e1a3bb9bebacf68
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoGet installer from right URL 69/12569/1
garciadeblas [Mon, 19 Sep 2022 10:29:46 +0000 (12:29 +0200)]
Get installer from right URL

Change-Id: Ic84102e9d07bc32decb10bb5e433121cb0ebb4ff
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoMinor changes in stage3 to get robot reports when using pabot 59/12559/2
garciadeblas [Fri, 23 Sep 2022 07:32:34 +0000 (09:32 +0200)]
Minor changes in stage3 to get robot reports when using pabot

Change-Id: I9e01db3518a9a72ffdc3b3b6df1a6c380e5f0857
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdate lxd version to 5.0 66/12566/3
garciadeblas [Tue, 27 Sep 2022 14:49:31 +0000 (16:49 +0200)]
Update lxd version to 5.0

Change-Id: I8f220a98d5e1eff1e5a621c269d80062d3f3e43d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoBug 2171: Wait for cloud init 61/12561/1
Mark Beierl [Fri, 23 Sep 2022 18:04:23 +0000 (14:04 -0400)]
Bug 2171: Wait for cloud init

Removes the explicit add of the GPG key from stage 3 as we
no longer use that key

Adds an explicit wait for cloud-init to finish before
proceeding with installation

Fixes bug 2171

Change-Id: I268efa1b0b322444d20ac9641745303b330bfd6a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoWorkaround for Charmcraft Display Bug 51/12551/2
Mark Beierl [Fri, 16 Sep 2022 20:41:13 +0000 (16:41 -0400)]
Workaround for Charmcraft Display Bug

https://github.com/canonical/charmcraft/issues/834

The same revision can be displayed more then once, so
we just take the first one

Change-Id: Idd51d3b439e9c303ba44084c21998fa195aa586e
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoAdd libmagic1 lib to support OSM client for Ubuntu22 99/12499/3
garciadeblas [Mon, 29 Aug 2022 12:56:02 +0000 (14:56 +0200)]
Add libmagic1 lib to support OSM client for Ubuntu22

Change-Id: I70b9691f7232f8ea7abec13b612302aa456803d5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoChange OSM sidecar charms charmcraft.yaml 39/12539/4
aticig [Thu, 8 Sep 2022 18:08:42 +0000 (21:08 +0300)]
Change OSM sidecar charms charmcraft.yaml

OSM sidecar charms charmcraft.yaml is changed to indicate base 20.04.

Change-Id: Ibfb5a6cd02b0025075f4109532b70c0bd6796e21
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoAdding resource 47/12547/1
Mark Beierl [Thu, 15 Sep 2022 18:12:55 +0000 (14:12 -0400)]
Adding resource

Turns out we do need to be explicit on image resource
revision to use when publishing a charm to a new
track/branch

Change-Id: Id666eac063e20274f19f70aee4c6d13a3cf6cd3a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoAdd integration tests for osm-ro charm 03/12503/10
Patricia Reinoso [Tue, 30 Aug 2022 10:09:15 +0000 (10:09 +0000)]
Add integration tests for osm-ro charm

Change-Id: I32ab9194e5d715227b8061f2f96b85222f427761
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
2 years agoFixing typo 44/12544/3
Mark Beierl [Wed, 14 Sep 2022 16:56:12 +0000 (12:56 -0400)]
Fixing typo

Typo in check to see if this is a merge job and should skip
the releasenote check
Only rebuild charms if they exist in the module

Change-Id: I7d0280167bf3b20b4059aca7f62ab42daf3cab4b
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFixing charm name typos 43/12543/2
Mark Beierl [Wed, 14 Sep 2022 00:50:09 +0000 (20:50 -0400)]
Fixing charm name typos

Corrected the name to match the metadata.yaml

Change-Id: I5c82f30e0118517d64f067a2817477d69730e1ae
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoMake PLA optional in charmed installer 16/12516/8
Patricia Reinoso [Thu, 1 Sep 2022 13:18:13 +0000 (15:18 +0200)]
Make PLA optional in charmed installer

PLA is no longer installed by default for
the charmed installer
flag --pla is needed

Change-Id: Ib0ea0691fd53884dc5bf11d067e9f9d9df55c876
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
2 years agoFixing snap promotion 42/12542/1
Mark Beierl [Mon, 12 Sep 2022 22:12:55 +0000 (18:12 -0400)]
Fixing snap promotion

Removes some charms from the list as they are not needed
for OSM

Adds an explicit import of the ETSI GPG signing key

Change-Id: I359b3495fa65e869b677af3479cd9a1877f22e6c
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoForce charm build on merge 38/12538/2
Mark Beierl [Thu, 8 Sep 2022 15:56:24 +0000 (11:56 -0400)]
Force charm build on merge

There is no easy method post-merge to determine what
charms need to be rebuilt, so we will rebuild all of
them

Change-Id: I50436a63cf3f63e32105051df8c571dd2dd6d2dd
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoBug 2139: OSM OCI images have 172.21.1.1 as apt proxy 36/12536/2
Mark Beierl [Thu, 8 Sep 2022 09:44:06 +0000 (05:44 -0400)]
Bug 2139: OSM OCI images have 172.21.1.1 as apt proxy

Removes the apt proxy configuration from the final
image layers

Change-Id: I3f2dfd81a04b42d3ee570cdc71ca41da39e621d0
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoAdding build dependencies 37/12537/1
Mark Beierl [Thu, 8 Sep 2022 13:54:38 +0000 (09:54 -0400)]
Adding build dependencies

Prometheus charm no longer builds as it is missing
some dependencies

Change-Id: I6ae44d4dce922ed0bc589a0ddf18b4cc3ae75de0
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoOSM beta bundles and charmed installer to deploy OSM sidecar charms 78/12478/11
aticig [Tue, 23 Aug 2022 12:13:23 +0000 (15:13 +0300)]
OSM beta bundles and charmed installer to deploy OSM sidecar charms

Changing charmed installer to deploy OSM from latest/beta bundle,
updating juju version to 2.9.33.

Change-Id: Ie64bff771f8cb91670588c4e28754304d692b544
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10953: Publication of Charms in CI/CD Pipeline 32/12532/4
Mark Beierl [Wed, 7 Sep 2022 13:36:43 +0000 (09:36 -0400)]
Feature 10953: Publication of Charms in CI/CD Pipeline

Adds section to detect changes in charms, and builds
and publishes the charms accordingly

Change-Id: I41bbcdcc0cf919ddbbc83374ccfb3f17c6b7dc37
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoRevert "Adding TCP Dump" 18/12518/3
beierlm [Fri, 2 Sep 2022 14:11:33 +0000 (16:11 +0200)]
Revert "Adding TCP Dump"

This reverts commit b04e188d083711b5983ad2859fc5851f25dd046d.

Reason for revert: ETSI IT discovered root cause and we no longer need this large data with every build.

Change-Id: If998fba52a951041f32694ec0393a82a691824fa
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFixing hostpaths of RO side car charm, updating osm_lib library. 81/12481/5
aticig [Tue, 23 Aug 2022 22:27:39 +0000 (01:27 +0300)]
Fixing hostpaths of RO side car charm, updating osm_lib library.

Updating osm_libs charm library and update the new version of
library in osm sidecar charms.

Change-Id: If3e526af823d0862e45513bd77dfdae1ef3e2398
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFix bug 2145: Wrong VCA data in new sidecar MON charm 66/12466/2
Guillermo Calvino [Fri, 19 Aug 2022 07:47:32 +0000 (09:47 +0200)]
Fix bug 2145: Wrong VCA data in new sidecar MON charm

Change-Id: Ib24c54cffd158f6ae4397311becc3769a1cce543
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoFix bug 2142: Debug mode in Pebble Charms is not working 65/12465/1
Guillermo Calvino [Thu, 18 Aug 2022 09:48:30 +0000 (11:48 +0200)]
Fix bug 2142: Debug mode in Pebble Charms is not working

Change-Id: Icca7e2b3a38b0c9ca4859138931e2c92566fd1d9
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoAdd juju simplestreams charm 91/12291/5
David Garcia [Thu, 30 Jun 2022 12:37:46 +0000 (14:37 +0200)]
Add juju simplestreams charm

Change-Id: I0690f8cca8561df9573e7fb169df6daaeb51506e
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoAdd VCA Integrator Charm 56/12456/2
Mark Beierl [Fri, 12 Aug 2022 15:13:24 +0000 (11:13 -0400)]
Add VCA Integrator Charm

Change-Id: Ic42bb4f8b682678d3e49aa671e2de9661a84af6c
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoBug 2137: Improve license check 49/12449/2
Mark Beierl [Fri, 12 Aug 2022 01:59:11 +0000 (21:59 -0400)]
Bug 2137: Improve license check

Rather than relying on a case sensitive extension (.jpg, etc)
this change introduces the use of file mime-type to better
determine if a file requires a license or not.

Change-Id: I24492c584c0d124c47d542cb8f8019ae56642682
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoChanging charmed installer to use latest/stable 48/12448/1
aticig [Thu, 11 Aug 2022 10:10:19 +0000 (13:10 +0300)]
Changing charmed installer to use latest/stable

OSM bundles are modified to deploy osm charms from latest/stable.

Change-Id: I0973cf952b9d54de53c1985e0690d24062e160d6
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoChanging access method of NBI in NG-UI charm for Charmed OSM 07/12407/3
Guillermo Calvino [Tue, 26 Jul 2022 11:31:36 +0000 (13:31 +0200)]
Changing access method of NBI in NG-UI charm for Charmed OSM

Change-Id: I6f9571d3dc219cc44b3c1c4f5ad9460b03eeb250
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoDisabling SSL from internal NBI http server in Charmed OSM 06/12406/4
Guillermo Calvino [Tue, 26 Jul 2022 11:18:37 +0000 (13:18 +0200)]
Disabling SSL from internal NBI http server in Charmed OSM

Change-Id: I53c2f75ba15e5c0217cb5312a6c08ed576fcd6f0
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoRemoving osm_rovim_fos debug folder path from podspec ro charm 31/12431/3
aticig [Mon, 8 Aug 2022 21:34:44 +0000 (00:34 +0300)]
Removing osm_rovim_fos debug folder path from podspec ro charm

Change-Id: I5a6965425cef6b5d4f6397368f9daa550d85e317
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoAdding VIM refresh period to RO charm config 30/12430/2
aticig [Mon, 8 Aug 2022 12:43:49 +0000 (15:43 +0300)]
Adding VIM refresh period to RO charm config

Refresh period is allowed >=60 or -1. Setting it -1
will disable the updating VM status.

Change-Id: I18a8cd8fd39da16d2d0221dac15324a08da76c2a
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoAdding VIM refresh period to RO charm config 86/12286/8
aticig [Thu, 30 Jun 2022 00:50:07 +0000 (03:50 +0300)]
Adding VIM refresh period to RO charm config

Refresh period is allowed >=60 or -1. Setting it -1
will disable the updating VM status.

Change-Id: I94ec37f68303128ba7af67f14121436005fd9259
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoUpdate maintainers of the bundles 25/12425/1
Patricia Reinoso [Wed, 3 Aug 2022 07:29:25 +0000 (09:29 +0200)]
Update maintainers of the bundles

Change README files

Change-Id: I05e84f62e20dc1124f9cc0e6a67f7744bf1ad46b
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
2 years agoAdd RO sidecar charm 72/12272/4
David Garcia [Mon, 27 Jun 2022 10:24:36 +0000 (12:24 +0200)]
Add RO sidecar charm

Change-Id: Id18c049f83c0217577778e13da3dab76d5708ed4
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoLCM sidecar charm 82/12282/5
aticig [Mon, 27 Jun 2022 22:56:51 +0000 (01:56 +0300)]
LCM sidecar charm

Change-Id: Ic03f8a94b8edcfc67aebddfcc27022a130ce8a1b
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoMON Sidecar Charm 89/12289/4
beierlm [Thu, 30 Jun 2022 13:02:30 +0000 (09:02 -0400)]
MON Sidecar Charm

Change-Id: Ie5e73d1c9df9903405edfda7b3c345b1fcc3c164
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoAdd POL side-car charm 84/12284/3
Guillermo Calvino [Wed, 29 Jun 2022 15:40:36 +0000 (17:40 +0200)]
Add POL side-car charm

Change-Id: I5fcad40bf4b62e724c0fce3905409cdbc1f4ac57
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoBug 2129: Fix logic to always delete VM 15/12415/1
Mark Beierl [Fri, 29 Jul 2022 16:46:18 +0000 (12:46 -0400)]
Bug 2129: Fix logic to always delete VM

Puts the step to extract the container logs into a try/catch block
so that the logic to delete the VM and stop the apache container
will always execute, instead of leaving them behind on error.

Fixes bug 2129

Change-Id: If252670b5374f1665f0e8b649b9fbc16c1ff2705
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoBetter release note check 07/12307/2
beierlm [Tue, 7 Jun 2022 16:21:17 +0000 (12:21 -0400)]
Better release note check

Only checks release notes for incoming patches, not
for merge jobs.

Change-Id: I895136d5369f836ddae66cd49a2911cd4aa945cb
Signed-off-by: beierlm <mark.beierl@canonical.com>