osm/devops.git
3 years agoExecute docker health commands with docker group 02/9702/1
endika [Fri, 11 Sep 2020 13:19:52 +0000 (15:19 +0200)]
Execute docker health commands with docker group

Fixes bug #1205

Change-Id: Iccf15a31c4925421820e25d7c0821e322955267a
Signed-off-by: endika <endika.aldecoa@ehu.eus>
3 years agoAdd keystone charm and interface 42/9642/7 new-pipeline
David Garcia [Thu, 27 Aug 2020 14:53:44 +0000 (16:53 +0200)]
Add keystone charm and interface

- Bundles updated
- Installer updated

Change-Id: I0f8e9aafd51e9579159f9166864eb8634292f99c
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAllow more image types 80/9680/1
beierlm [Thu, 3 Sep 2020 18:02:30 +0000 (14:02 -0400)]
Allow more image types

Removes need for license from .tiff and .svg files.

Fixes bug 1202

Change-Id: Iff9dab4acab33328e161dab86be766021da2bb38
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoImprove annotations for exposing OSM services in charmed installer 72/9672/2
David Garcia [Wed, 2 Sep 2020 09:40:12 +0000 (11:40 +0200)]
Improve annotations for exposing OSM services in charmed installer

Change-Id: Iffde16ff5f92aa3a99f2fb8e1ff22c8b9eb61caf
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoPin grpc versions 79/9679/1
beierlm [Wed, 2 Sep 2020 12:58:10 +0000 (08:58 -0400)]
Pin grpc versions

Due to new version of grpc being released, the docker build
fails with errors.

Fixes bug 1200

Change-Id: Ifd958708a92a10a13c357fcd4f1960e6889ef89e
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 2a815a3f98afa5fb180b2a47ee58c4f6dc7c69fb)

3 years agoPin grpc versions 78/9678/1
beierlm [Wed, 2 Sep 2020 12:58:10 +0000 (08:58 -0400)]
Pin grpc versions

Due to new version of grpc being released, the docker build
fails with errors.

Fixes bug 1200

Change-Id: Ifd958708a92a10a13c357fcd4f1960e6889ef89e
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoMerge v8.0 Into Master 25/9625/4
beierlm [Fri, 26 Jun 2020 16:55:01 +0000 (12:55 -0400)]
Merge v8.0 Into Master

This is a combination of all the commits.

=======================================================================

Enable Robot Tests

Enabling robot tests in CI/CD pipeline
Propagate the parameter DO_ROBOT to stage_3-merge
Setting OSM_HOSTNAME for robot test execution
Adding prometheus_hostname env variable for ci/cd tests
Archive containers logs in robot test execution

Signed-off-by: beierlm <mark.beierl@canonical.com>
Author: Felipe Vicens <felipe.vicens@atos.net>

8716 - K8s Proxy Charms

This commit contains the following changes:

- Changes to LCM Charm to configure vca k8s cloud
- K8s installation:
  - Add storageclass to K8s
  - Add k8s to VCA
  - Configure lcm.env to pass k8s cloud name
- Pass k8s cloud name to LCM Charm in charmed
installation
- Pin juju version tu 2.8/stable
- Instal juju after Microk8s in charmed
installation

Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
Add PLA charm

Signed-off-by: David Garcia <david.garcia@canonical.com>
Add NG-UI Charm

Signed-off-by: David Garcia <david.garcia@canonical.com>
Fix bugs in NG-UI charm

Signed-off-by: David Garcia <david.garcia@canonical.com>
Updated Dockerfiles to use ReleaseEIGHT-daily repo by default

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix bug 1124: K8s added to juju after k8s has been initialized

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Helm and k8s storage initialization for k8s-based installation

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix bug 1125: iptables must be installed and configured if not present

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix bug 1129: juju_addk8s requires the storage class

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix issue in UI charm

Scale policy is only available in stateful pods

Signed-off-by: David Garcia <david.garcia@canonical.com>
Adds image overlay to bundle

When installing using a bundle, the image overlay was not being
generated, resulting in the --tag option being ignored.

Bug 1130

Signed-off-by: beierlm <mark.beierl@canonical.com>
Fix uninstall process, will fix issues is daily-stage4

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix PLA relations, add missing ENVs, and include it in the bundle

Signed-off-by: David Garcia <david.garcia@canonical.com>
Fix 1127 bug: Use config instead of resources for SSL certificates

Signed-off-by: David Garcia <david.garcia@canonical.com>
Remove unused config from PLA overlayx

Signed-off-by: David Garcia <david.garcia@canonical.com>
Installer: refactor file generation, improved ng-ui and light-ui separation, fixes in PLA

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Pin libjuju version to 2.8.2

This fixes bug 1144

Signed-off-by: David Garcia <david.garcia@canonical.com>
Pin libjuju version to 2.8.2

Fixes bug 1144

Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Remove api_proxy variable in charmed installer

- Fixes bug 1154

Signed-off-by: David Garcia <david.garcia@canonical.com>
Add waiting period to Storage Class creation

This commit adds a waiting period until the
storage class is available.

It also fixes a minor bug in the juju add-k8s
command.

This fixes Bug 1155

Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
Remove api_proxy from osm bundles

Signed-off-by: David Garcia <david.garcia@canonical.com>
Make Charmed Installer Idempotent

By default, the charmed installer will create a controller called
'controller', unless an external VCA is specified using the --vca
option.  Upon uninstall, it is not known or safe to remove this
Juju controller as there might be other applications using it.

This change shows that message on uninstall, giving the user the
opportunity to remove it with a command.

Also, as part of the installation, this change checks for the
controller and if it exists, presents the user with options for
how to resolve the situation.

Fixes bug 1126

Signed-off-by: beierlm <mark.beierl@canonical.com>
Remove unneeded mysql interface in PLA, fix osm-ha bundle, and add README.md to bundles

Signed-off-by: David Garcia <david.garcia@canonical.com>
Expose NBI and NG-UI

Adds ingress rules for K8s installation to expose the NBI, the
NG-UI and allow for unlimited content size.

Fixes bug 1171

Signed-off-by: beierlm <mark.beierl@canonical.com>
Installer Quits Too Soon

Increases the timeout and provides more feedback on progress.

Signed-off-by: beierlm <mark.beierl@canonical.com>
Change in returned storage status format from microk8s

Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
========================================================================================

Change-Id: I9223675bb9ad25a0da1f20215e79ef392e544eb5
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoLCM Dockerfile: added grpclib 32/9632/2
garciadeblas [Sun, 5 Jul 2020 07:43:07 +0000 (07:43 +0000)]
LCM Dockerfile: added grpclib

Change-Id: I808c6817cd112a3a4b50223344e104e3238665ea
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit f04b99d63ea4404e604c92fbf435748d2fa5f913)

3 years agofull_install_osm.sh: fix k8s installation, node must be tainted before juju_addk8s... 34/9634/2
garciadeblas [Wed, 8 Jul 2020 14:13:40 +0000 (14:13 +0000)]
full_install_osm.sh: fix k8s installation, node must be tainted before juju_addk8s and install_helm

Change-Id: I1c14736ad832f184f7a8f4f9bfa389705511c558
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit ac5bd33c65d4a8a108efd788022d1ef2a994945b)

3 years agofull_install_osm.sh: separate taint of master node and deployment of osm 33/9633/1
garciadeblas [Wed, 8 Jul 2020 14:30:29 +0000 (14:30 +0000)]
full_install_osm.sh: separate taint of master node and deployment of osm

Change-Id: I6b5b314949d9775b6e71312d97dc293a49385945
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit f7d00303fa336fc223280cceca30a1b3679f6795)

3 years agoPin libjuju version to 2.8.2 31/9631/2
David Garcia [Wed, 15 Jul 2020 14:03:40 +0000 (16:03 +0200)]
Pin libjuju version to 2.8.2

This fixes bug 1144

Change-Id: If5fc3dad9a8a5f3e2f8ca2ac55fb875d5ec12d64
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit 84e74693b05dbff800c8e0a8c5e5237732d114c5)

3 years agoPin libjuju version to 2.8.2 30/9630/1
Mark Beierl [Wed, 15 Jul 2020 16:52:44 +0000 (12:52 -0400)]
Pin libjuju version to 2.8.2

Fixes bug 1144

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

3 years agoPromote snaps to beta 20/9620/2
beierlm [Thu, 20 Aug 2020 20:49:40 +0000 (16:49 -0400)]
Promote snaps to beta

Adds logic to check if the snap in the edge channel is newer
than the beta channel.  If so, promote the edge snap to beta.

Change-Id: I27bf9ca01b9ed6cf177addffeedc0fa29aae6bb5
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoChange in returned storage status format from microk8s 23/9623/1 v8.0.1
calvinosanc1 [Fri, 21 Aug 2020 10:12:52 +0000 (12:12 +0200)]
Change in returned storage status format from microk8s

Change-Id: I70a7c1ee52381f3465266d8b455cd1bc023dbf2e
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
3 years agoUpdate juju images 96/9596/6
calvinosanc1 [Mon, 17 Aug 2020 09:45:15 +0000 (11:45 +0200)]
Update juju images

Change-Id: I661fa4bb2030fe6a0b4a75ac435a046bc46e2a90
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
3 years agoFix the osm bundle names 13/9613/2
David Garcia [Thu, 20 Aug 2020 10:08:31 +0000 (12:08 +0200)]
Fix the osm bundle names

Fixes the following problem:
    - ERROR The charm or bundle "osm" is ambiguous.
    - This was happening if a folder "osm" existed in the current directory

Change-Id: If7a56249b0ce5601761a7cebfa87392715abff62
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoRemove unneeded dependency 14/9614/1
David Garcia [Thu, 20 Aug 2020 10:14:18 +0000 (12:14 +0200)]
Remove unneeded dependency

- The lxd-preseed.conf uses btrfs, so zfs is not needed anymore.

Change-Id: Ife9aa65e2746bf2f35f3c96ab05430dcf46acc0b
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoEnable snap builds 86/9586/2
beierlm [Thu, 13 Aug 2020 22:35:00 +0000 (18:35 -0400)]
Enable snap builds

If the snap/snapcraft.yaml file exists, built it and
publish it as a private snap to the snap store.

Change-Id: I924c17b2d4d8a30edee76234e10bfee91a5b01b6
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoInstaller Quits Too Soon 93/9593/1 v8.0.1rc1
beierlm [Fri, 14 Aug 2020 13:26:27 +0000 (09:26 -0400)]
Installer Quits Too Soon

Increases the timeout and provides more feedback on progress.

Change-Id: Iab4cfa3652883ee5db36ca359412e5b1d705bdaf
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoExpose NBI and NG-UI 28/9528/1
beierlm [Tue, 28 Jul 2020 13:21:07 +0000 (09:21 -0400)]
Expose NBI and NG-UI

Adds ingress rules for K8s installation to expose the NBI, the
NG-UI and allow for unlimited content size.

Fixes bug 1171

Change-Id: Id286dfe1f26969337ef937bf6c5bff541e89cf26
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoRemove unneeded mysql interface in PLA, fix osm-ha bundle, and add README.md to bundles 88/9488/5 v8.0.0 v8.0.0rc3
David Garcia [Tue, 21 Jul 2020 07:35:44 +0000 (09:35 +0200)]
Remove unneeded mysql interface in PLA, fix osm-ha bundle, and add README.md to bundles

Change-Id: I7761efaa174ce46eb3c3cc6c99f846340ba8e93c
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoMake Charmed Installer Idempotent 39/9439/4
beierlm [Thu, 16 Jul 2020 20:57:09 +0000 (16:57 -0400)]
Make Charmed Installer Idempotent

By default, the charmed installer will create a controller called
'controller', unless an external VCA is specified using the --vca
option.  Upon uninstall, it is not known or safe to remove this
Juju controller as there might be other applications using it.

This change shows that message on uninstall, giving the user the
opportunity to remove it with a command.

Also, as part of the installation, this change checks for the
controller and if it exists, presents the user with options for
how to resolve the situation.

Fixes bug 1126

Change-Id: Id13cd822ed7eef60250544108b74bbba7998d9b7
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoPin version of dogpile 96/9496/1
beierlm [Mon, 20 Jul 2020 21:02:05 +0000 (17:02 -0400)]
Pin version of dogpile

Force dogpile to a static version as 1.0.0, released July 19, 2020
is not compatible with the version of stevedore that we use.

Change-Id: Icc2758e07bafa935bf4403bd5735b47e79b4bc66
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 90d4e9e52ee085aeac044f1c48807ecf5f3742ee)

3 years agoPin version of dogpile 86/9486/1
beierlm [Mon, 20 Jul 2020 21:02:05 +0000 (17:02 -0400)]
Pin version of dogpile

Force dogpile to a static version as 1.0.0, released July 19, 2020
is not compatible with the version of stevedore that we use.

Change-Id: Icc2758e07bafa935bf4403bd5735b47e79b4bc66
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoRemove api_proxy from osm bundles 33/9433/4
David Garcia [Thu, 16 Jul 2020 12:51:49 +0000 (14:51 +0200)]
Remove api_proxy from osm bundles

Change-Id: I942df7a05859f78ef1dd433e55985fa03b514219
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdd waiting period to Storage Class creation 48/9448/4
Dominik Fleischmann [Fri, 17 Jul 2020 09:15:29 +0000 (11:15 +0200)]
Add waiting period to Storage Class creation

This commit adds a waiting period until the
storage class is available.

It also fixes a minor bug in the juju add-k8s
command.

This fixes Bug 1155

Change-Id: Ie4d35847bd053c9e4e61f89a481faef5e348f5e2
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
3 years agoRemove api_proxy variable in charmed installer 30/9430/1
David Garcia [Thu, 16 Jul 2020 12:00:19 +0000 (14:00 +0200)]
Remove api_proxy variable in charmed installer

- Fixes bug 1154

Change-Id: I60ac8b83b46f1c2435f7f90032be2be26ec38e2b
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoPin libjuju version to 2.8.2 22/9422/1
Mark Beierl [Wed, 15 Jul 2020 16:52:44 +0000 (12:52 -0400)]
Pin libjuju version to 2.8.2

Fixes bug 1144

Change-Id: Ib50f76e45b9d429f019972c367b6692ed2d5ed79
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
3 years agoPin libjuju version to 2.8.2 20/9420/1
David Garcia [Wed, 15 Jul 2020 14:03:40 +0000 (16:03 +0200)]
Pin libjuju version to 2.8.2

This fixes bug 1144

Change-Id: If5fc3dad9a8a5f3e2f8ca2ac55fb875d5ec12d64
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agofix(prometheus - lcm): prometheus was using the wron directory because at install... 15/9415/1
bravof [Tue, 14 Jul 2020 19:18:30 +0000 (15:18 -0400)]
fix(prometheus - lcm): prometheus was using the wron directory because at install lcm changes the hostPath with sed, now prometheus is also included in that change

Change-Id: Ie4bf316c69ac2b344de72b485dfb378849c060e0
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agofix(prometheus - lcm): prometheus was using the wron directory because at install... 14/9414/1
bravof [Tue, 14 Jul 2020 19:18:30 +0000 (15:18 -0400)]
fix(prometheus - lcm): prometheus was using the wron directory because at install lcm changes the hostPath with sed, now prometheus is also included in that change

Change-Id: Ie4bf316c69ac2b344de72b485dfb378849c060e0
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agodockerfile LCM force non interactive for N2VC install 04/9404/1
tierno [Mon, 13 Jul 2020 15:34:16 +0000 (15:34 +0000)]
dockerfile LCM force non interactive for N2VC install

Change-Id: Iec9219831a84cefabd3c60355bc7d66b095748a8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix 1138 installing cryptography>=2.5 with pip 03/9403/1
tierno [Fri, 10 Jul 2020 15:55:25 +0000 (15:55 +0000)]
fix 1138 installing cryptography>=2.5 with pip

Change-Id: I8b1f0481cafdc045483876aa4e956f81e23f8bbe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agodockerfile LCM force non interactive for N2VC install 00/9400/2
tierno [Mon, 13 Jul 2020 15:34:16 +0000 (15:34 +0000)]
dockerfile LCM force non interactive for N2VC install

Change-Id: Iec9219831a84cefabd3c60355bc7d66b095748a8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix 1138 installing cryptography>=2.5 with pip 90/9390/2
tierno [Fri, 10 Jul 2020 15:55:25 +0000 (15:55 +0000)]
fix 1138 installing cryptography>=2.5 with pip

Change-Id: I8b1f0481cafdc045483876aa4e956f81e23f8bbe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoAdding Kafka to Health Check 92/9392/1
beierlm [Fri, 10 Jul 2020 19:42:38 +0000 (15:42 -0400)]
Adding Kafka to Health Check

Installation needs to wait for Kafka to be healthy before
continuing.

Change-Id: I8b7f0fd7c709075c7541c8962d808d4e4e45ed2c
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 5a2ad88eaa8cdbb818e75c2f661a3d4719d5de66)

3 years agoAdding Kafka to Health Check 91/9391/1
beierlm [Fri, 10 Jul 2020 19:42:38 +0000 (15:42 -0400)]
Adding Kafka to Health Check

Installation needs to wait for Kafka to be healthy before
continuing.

Change-Id: I8b7f0fd7c709075c7541c8962d808d4e4e45ed2c
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoInstaller: refactor file generation, improved ng-ui and light-ui separation, fixes... 65/9365/4
garciadeblas [Wed, 8 Jul 2020 16:22:12 +0000 (16:22 +0000)]
Installer: refactor file generation, improved ng-ui and light-ui separation, fixes in PLA

Change-Id: Iacc435e6ebb9fa695ed7d0df1ff6a06d5ceb0edc
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoRemove unused config from PLA overlayx 83/9383/2
David Garcia [Fri, 10 Jul 2020 09:19:38 +0000 (11:19 +0200)]
Remove unused config from PLA overlayx

Change-Id: I54c16ab90fdfe3c83661a2568159c19a1958e612
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix 1127 bug: Use config instead of resources for SSL certificates 43/9343/15
David Garcia [Tue, 7 Jul 2020 09:14:19 +0000 (11:14 +0200)]
Fix 1127 bug: Use config instead of resources for SSL certificates

Change-Id: I66246049e3ca48cdaa03bbc58e123a519f696acc
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix PLA relations, add missing ENVs, and include it in the bundle 72/9372/8
David Garcia [Thu, 9 Jul 2020 11:14:13 +0000 (13:14 +0200)]
Fix PLA relations, add missing ENVs, and include it in the bundle

Change-Id: I4d309d045404a900e04909c46196d32e43bb1862
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix uninstall process, will fix issues is daily-stage4 74/9374/1
garciadeblas [Thu, 9 Jul 2020 14:20:47 +0000 (14:20 +0000)]
Fix uninstall process, will fix issues is daily-stage4

Change-Id: If5d0826bd92df1673f0f8b409b84261c329a055d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdds image overlay to bundle 63/9363/1
beierlm [Wed, 8 Jul 2020 15:43:59 +0000 (11:43 -0400)]
Adds image overlay to bundle

When installing using a bundle, the image overlay was not being
generated, resulting in the --tag option being ignored.

Bug 1130

Change-Id: I8e474d60b03abcb913d8586c8d643d099f1d8baf
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFix issue in UI charm 62/9362/2
David Garcia [Wed, 8 Jul 2020 14:51:07 +0000 (16:51 +0200)]
Fix issue in UI charm

Scale policy is only available in stateful pods

Change-Id: If632be586851ec21c480cad5e46b72e002b19b99
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agofull_install_osm.sh: separate taint of master node and deployment of osm 61/9361/2
garciadeblas [Wed, 8 Jul 2020 14:30:29 +0000 (14:30 +0000)]
full_install_osm.sh: separate taint of master node and deployment of osm

Change-Id: I6b5b314949d9775b6e71312d97dc293a49385945
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofull_install_osm.sh: fix k8s installation, node must be tainted before juju_addk8s... 59/9359/2
garciadeblas [Wed, 8 Jul 2020 14:13:40 +0000 (14:13 +0000)]
full_install_osm.sh: fix k8s installation, node must be tainted before juju_addk8s and install_helm

Change-Id: I1c14736ad832f184f7a8f4f9bfa389705511c558
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoPLA pip install dependency 58/9358/1
magnussonl [Mon, 6 Jul 2020 14:44:04 +0000 (16:44 +0200)]
PLA pip install dependency

Change-Id: I1d5211d7b7608eab7d3171f726283532b506c733
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
(cherry picked from commit d6d60fc6ed1626b4849d7947e579cae49ee0e8ce)

3 years agofull_install_osm.sh: fix check loop in install_helm 57/9357/1
garciadeblas [Wed, 8 Jul 2020 11:38:29 +0000 (11:38 +0000)]
full_install_osm.sh: fix check loop in install_helm

Change-Id: I546a7219882b4487031ef7093ec070422d8de8d0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bug 1129: juju_addk8s requires the storage class 56/9356/1
garciadeblas [Wed, 8 Jul 2020 11:28:12 +0000 (11:28 +0000)]
Fix bug 1129: juju_addk8s requires the storage class

Change-Id: I8b59e83526ba7f73dd90dba86ae7bce990199e0f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoEnable autocreation topic in kafka for POL and MON 44/9344/2
Felipe Vicens [Mon, 29 Jun 2020 19:51:54 +0000 (21:51 +0200)]
Enable autocreation topic in kafka for POL and MON

Change-Id: I322af78fe143fa1a5773a9188eef449625fda35c
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoFix bug 1125: iptables must be installed and configured if not present 33/9333/2
garciadeblas [Mon, 6 Jul 2020 15:15:03 +0000 (15:15 +0000)]
Fix bug 1125: iptables must be installed and configured if not present

Change-Id: I724798ac654358564749934165fa4ed11926cb6b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoHelm and k8s storage initialization for k8s-based installation 36/9336/3
garciadeblas [Mon, 6 Jul 2020 16:10:59 +0000 (16:10 +0000)]
Helm and k8s storage initialization for k8s-based installation

Change-Id: I373018f10549f84ca5e99e40e4232d63ebcaba6d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bug 1124: K8s added to juju after k8s has been initialized 31/9331/3
garciadeblas [Mon, 6 Jul 2020 15:03:39 +0000 (15:03 +0000)]
Fix bug 1124: K8s added to juju after k8s has been initialized

Change-Id: I757eb90f35db1af95081c3e3dd3ffef30ff98197
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoPLA pip install dependency 30/9330/2
magnussonl [Mon, 6 Jul 2020 14:44:04 +0000 (16:44 +0200)]
PLA pip install dependency

Change-Id: I1d5211d7b7608eab7d3171f726283532b506c733
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
3 years agofeat(prometheus): conditional copy of new configuration from configmap avoiding accid... 39/9339/1
bravof [Fri, 3 Jul 2020 14:01:42 +0000 (10:01 -0400)]
feat(prometheus): conditional copy of new configuration from configmap avoiding accidental overwrite of previous config file

Change-Id: I2074318c6e259c4210faaa2ad362114a6fada827
Signed-off-by: bravof <fbravo@whitestack.com>
(cherry picked from commit 9d2556f36dc275078425597b2ec64a4a5eea308d)

3 years agofeat(lcm-prometheus interconnection): allows lcm to modify prometheus config in order... 37/9337/1
bravof [Wed, 1 Jul 2020 19:11:57 +0000 (15:11 -0400)]
feat(lcm-prometheus interconnection): allows lcm to modify prometheus config in order to push new jobs like snmp metrics recollection

Change-Id: I8ea564f9d6ae96d6a5042e691ccaa0c758add158
Signed-off-by: bravof <fbravo@whitestack.com>
(cherry picked from commit 1e0297e98ab41e4bdc9537c1adffc2cae8b198cb)

3 years agoLCM Dockerfile: added grpclib 24/9324/2 v8.0.0rc2
garciadeblas [Sun, 5 Jul 2020 07:43:07 +0000 (07:43 +0000)]
LCM Dockerfile: added grpclib

Change-Id: I808c6817cd112a3a4b50223344e104e3238665ea
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdated Dockerfiles to use ReleaseEIGHT-daily repo by default 23/9323/2
garciadeblas [Sun, 5 Jul 2020 07:31:12 +0000 (07:31 +0000)]
Updated Dockerfiles to use ReleaseEIGHT-daily repo by default

Change-Id: I0dd48e273a3a12553062418f1da0d60f33bb23b2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofull_install_osm.sh: use the right devops folder for lxd configuration and charm... 22/9322/1
garciadeblas [Sat, 4 Jul 2020 07:38:49 +0000 (07:38 +0000)]
full_install_osm.sh: use the right devops folder for lxd configuration and charm-based installation

Change-Id: Ibe3affc816ab8567c932450a38e4ec348054b1c1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofeat8157-vnfindicators: added local k8s cluster to deploy snmp exporters 16/9316/3
garciadeblas [Fri, 3 Jul 2020 16:24:23 +0000 (16:24 +0000)]
feat8157-vnfindicators: added local k8s cluster to deploy snmp exporters

Change-Id: I042d5cb642ffb1fc5e768b18172272324b617da5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofull_install_osm.sh: use the right devops folder for lxd configuration and charm... 21/9321/1
garciadeblas [Sat, 4 Jul 2020 07:38:49 +0000 (07:38 +0000)]
full_install_osm.sh: use the right devops folder for lxd configuration and charm-based installation

Change-Id: Ibe3affc816ab8567c932450a38e4ec348054b1c1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofeat8157-vnfindicators: added local k8s cluster to deploy snmp exporters 19/9319/3
garciadeblas [Fri, 3 Jul 2020 16:24:23 +0000 (16:24 +0000)]
feat8157-vnfindicators: added local k8s cluster to deploy snmp exporters

Change-Id: I042d5cb642ffb1fc5e768b18172272324b617da5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdded health check after installation before exit 18/9318/1
garciadeblas [Fri, 3 Jul 2020 15:32:05 +0000 (15:32 +0000)]
Added health check after installation before exit

Change-Id: Ib0bd42e412846f4224feeaa8b3124e93e84be437
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoInstaller files adapted for Release EIGHT and docker tag 8 17/9317/1
garciadeblas [Fri, 3 Jul 2020 15:33:36 +0000 (15:33 +0000)]
Installer files adapted for Release EIGHT and docker tag 8

Change-Id: Ie01d2ede53a0bce7a8c468a5fada65169fe7c7e7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdded health check after installation before exit 15/9315/1
garciadeblas [Fri, 3 Jul 2020 15:32:05 +0000 (15:32 +0000)]
Added health check after installation before exit

Change-Id: Ib0bd42e412846f4224feeaa8b3124e93e84be437
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoInstaller files adapted for Release EIGHT and docker tag 8 14/9314/1
garciadeblas [Fri, 3 Jul 2020 15:33:36 +0000 (15:33 +0000)]
Installer files adapted for Release EIGHT and docker tag 8

Change-Id: Ie01d2ede53a0bce7a8c468a5fada65169fe7c7e7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bugs in NG-UI charm 09/9309/2
David Garcia [Fri, 3 Jul 2020 13:01:08 +0000 (15:01 +0200)]
Fix bugs in NG-UI charm

Change-Id: I0a17b6f1fb869cadfb9f35e14b5d64f9e9ffd3c9
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agofeat(prometheus): conditional copy of new configuration from configmap avoiding accid... 10/9310/1
bravof [Fri, 3 Jul 2020 14:01:42 +0000 (10:01 -0400)]
feat(prometheus): conditional copy of new configuration from configmap avoiding accidental overwrite of previous config file

Change-Id: I2074318c6e259c4210faaa2ad362114a6fada827
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoCharmed Install Updates from v7.0 08/9308/2
beierlm [Thu, 2 Jul 2020 18:21:09 +0000 (14:21 -0400)]
Charmed Install Updates from v7.0

Removal of iptables manipulation from charmed installer
Expose juju controller using metallb
Pin version of juju

Change-Id: I3853dfe1d3b264311bed1f3a805397a9197b10bc
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 3749e31006f1e6a84533d6a2b616b22f0220d822)

3 years agoCharmed Install Updates from v7.0 99/9299/2
beierlm [Thu, 2 Jul 2020 18:21:09 +0000 (14:21 -0400)]
Charmed Install Updates from v7.0

Removal of iptables manipulation from charmed installer
Expose juju controller using metallb
Pin version of juju

Change-Id: I3853dfe1d3b264311bed1f3a805397a9197b10bc
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agofeat(lcm-prometheus interconnection): allows lcm to modify prometheus config in order... 61/9261/7
bravof [Wed, 1 Jul 2020 19:11:57 +0000 (15:11 -0400)]
feat(lcm-prometheus interconnection): allows lcm to modify prometheus config in order to push new jobs like snmp metrics recollection

Change-Id: I8ea564f9d6ae96d6a5042e691ccaa0c758add158
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoPLA Dockerfile fixes 98/9298/1
magnussonl [Thu, 2 Jul 2020 17:32:36 +0000 (19:32 +0200)]
PLA Dockerfile fixes

Change-Id: I9a5eb782151defdf6f3dae75992681f6f16ca66f
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
(cherry picked from commit d0420fbb8a6bcd72d8b760da7651e070aaeb0773)

3 years agoPLA Dockerfile fixes 96/9296/1
magnussonl [Thu, 2 Jul 2020 17:32:36 +0000 (19:32 +0200)]
PLA Dockerfile fixes

Change-Id: I9a5eb782151defdf6f3dae75992681f6f16ca66f
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
3 years agoAdd NG-UI Charm 93/9293/5
David Garcia [Thu, 2 Jul 2020 16:17:56 +0000 (18:17 +0200)]
Add NG-UI Charm

Change-Id: Id94b6e0383994580c2b11ab66a44f7c197cb7412
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdd PLA charm 94/9294/4
David Garcia [Thu, 2 Jul 2020 16:36:32 +0000 (18:36 +0200)]
Add PLA charm

Change-Id: I23d9f49e7ac92150e9325f1400c22c816402f0a4
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoRemoving robot-systests deprecated from devops 58/9258/2
Felipe Vicens [Wed, 1 Jul 2020 16:40:53 +0000 (18:40 +0200)]
Removing robot-systests deprecated from devops

Change-Id: I8fe1f29ba93cba6b10b454f9fc7bec91bf57da60
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoMigrating robot-systests to osm/tests repository 49/9249/2
Felipe Vicens [Tue, 30 Jun 2020 22:52:15 +0000 (00:52 +0200)]
Migrating robot-systests to osm/tests repository

Change-Id: I900c4a478d387d0d74991dad7d9256d9df5d1614
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoUpdate Artifactory URL 48/9248/3
beierlm [Tue, 30 Jun 2020 17:36:26 +0000 (13:36 -0400)]
Update Artifactory URL

Updates the artifactory URL to point to the new Artifactory
server.

Change-Id: I3d6b67861037364da32e571a5d61cc2aa83af978
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoBranch Creation Script 83/9183/2
beierlm [Thu, 25 Jun 2020 15:58:13 +0000 (11:58 -0400)]
Branch Creation Script
A new script similar to the tagging script that will create
the start of branch tag and then create the branch for all
modules.

Change-Id: Ie3eb7f7a4d4e345413531e17b2469a65d691adba
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agofull_install_osm.sh: fix bug 1116 related to node_exporter service installation 43/9243/2
garciadeblas [Tue, 30 Jun 2020 14:18:12 +0000 (14:18 +0000)]
full_install_osm.sh: fix bug 1116 related to node_exporter service installation

Change-Id: Ie407a79f82fe041ec02816c1b2868f980ad17d11
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years ago8716 - K8s Proxy Charms 33/9233/3
Dominik Fleischmann [Tue, 30 Jun 2020 12:25:19 +0000 (14:25 +0200)]
8716 - K8s Proxy Charms

This commit contains the following changes:

- Changes to LCM Charm to configure vca k8s cloud
- K8s installation:
  - Add storageclass to K8s
  - Add k8s to VCA
  - Configure lcm.env to pass k8s cloud name
- Pass k8s cloud name to LCM Charm in charmed
installation
- Pin juju version tu 2.8/stable
- Instal juju after Microk8s in charmed
installation

Change-Id: I62ae50e4f226eba3bbda7c4a310cfe52591de5b4
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
3 years agofull_install_osm.sh: fix bug 1116 related to node_exporter service installation 41/9241/1
garciadeblas [Tue, 30 Jun 2020 14:18:12 +0000 (14:18 +0000)]
full_install_osm.sh: fix bug 1116 related to node_exporter service installation

Change-Id: Ie407a79f82fe041ec02816c1b2868f980ad17d11
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoEnable autocreation topic in kafka for POL and MON 21/9221/1
Felipe Vicens [Mon, 29 Jun 2020 19:51:54 +0000 (21:51 +0200)]
Enable autocreation topic in kafka for POL and MON

Change-Id: I322af78fe143fa1a5773a9188eef449625fda35c
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoUpdating the logs collection from robot tests 12/9212/1
Felipe Vicens [Fri, 26 Jun 2020 23:23:16 +0000 (01:23 +0200)]
Updating the logs collection from robot tests

Change-Id: I27195bd6b38e8f660e26c6db795e74942a371013
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoUpdating the logs collection from robot tests 11/9211/2
Felipe Vicens [Fri, 26 Jun 2020 20:52:23 +0000 (22:52 +0200)]
Updating the logs collection from robot tests

Change-Id: Idee735506feebead6989a5e891004b079f0d3b35
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoRedirecting the logs of robot to a file 09/9209/1
Felipe Vicens [Fri, 26 Jun 2020 18:22:34 +0000 (20:22 +0200)]
Redirecting the logs of robot to a file

Change-Id: I0f60913b040df80f0a96cd88d485a2f6692ffdc5
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoIncrease build speed 07/9207/2 v8.0.0rc1
beierlm [Fri, 26 Jun 2020 16:52:55 +0000 (12:52 -0400)]
Increase build speed

Build the docker images in parallel so that the stage 3 takes less
time.

Change-Id: I18d3a1284adacfc566b15d0670c1ab6d3d300aaf
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoEnable Robot Tests 08/9208/1
beierlm [Fri, 26 Jun 2020 16:55:01 +0000 (12:55 -0400)]
Enable Robot Tests

Enabling robot tests in CI/CD pipeline
Propagate the parameter DO_ROBOT to stage_3-merge
Setting OSM_HOSTNAME for robot test execution
Adding prometheus_hostname env variable for ci/cd tests
Archive containers logs in robot test execution

Change-Id: I2d65050dd0e3cd7eb683120dd5696914bb91abff
Signed-off-by: beierlm <mark.beierl@canonical.com>
Author: Felipe Vicens <felipe.vicens@atos.net>

3 years agoFix typo in variable stackName 01/9201/1
Felipe Vicens [Fri, 26 Jun 2020 14:26:38 +0000 (16:26 +0200)]
Fix typo in variable stackName

Change-Id: Ibbc2777eabd92f4397e25b46827bc2ef08f614f9
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoAdding prometheus_hostname env variable for ci/cd tests 99/9199/1
Felipe Vicens [Fri, 26 Jun 2020 12:59:19 +0000 (14:59 +0200)]
Adding prometheus_hostname env variable for ci/cd tests

Change-Id: Ib91e5d384210cc746010305c9f956aa0b3a2f93b
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoFix ci_stage_3 logs creation for robot tests 98/9198/1
Felipe Vicens [Fri, 26 Jun 2020 12:34:26 +0000 (14:34 +0200)]
Fix ci_stage_3 logs creation for robot tests

Change-Id: Ic09adc5d5e71d250ea1bb84c84ae6ea0d35f0ed0
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoArchive containers logs in robot test execution 96/9196/2
Felipe Vicens [Fri, 26 Jun 2020 08:08:25 +0000 (10:08 +0200)]
Archive containers logs in robot test execution

Change-Id: I71cb7dae8be96076340e41e369b7c650c600cf61
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoAdding prometheus_hostname env variable for ci/cd tests 95/9195/1
Felipe Vicens [Fri, 26 Jun 2020 07:01:41 +0000 (09:01 +0200)]
Adding prometheus_hostname env variable for ci/cd tests

Change-Id: Ia302adbc51c06d7ea8e38ada58f573475dafd9b4
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoIncrease build speed 91/9191/1
beierlm [Thu, 25 Jun 2020 23:51:39 +0000 (19:51 -0400)]
Increase build speed

Build the docker images in parallel so that the stage 3 takes less
time.
Fixing typo.

Change-Id: I4f30999ddc1ccc8248f9d1ad6f24faec92fe5d51
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoIncrease build speed 89/9189/2
beierlm [Thu, 25 Jun 2020 20:44:42 +0000 (16:44 -0400)]
Increase build speed

Build the docker images in parallel so that the stage 3 takes less
time.

Change-Id: Ie35b2d58d3e2f6bfaa4bb6a3f2c44c0ccb926def
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoRemoving extra osm in OSM_HOSTNAME variable for robotframework 88/9188/1
Felipe Vicens [Thu, 25 Jun 2020 20:30:44 +0000 (22:30 +0200)]
Removing extra osm in OSM_HOSTNAME variable for robotframework

Change-Id: I7a9b130275edc649dd4806c73e519ea81867548d
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoSetting OSM_HOSTNAME for robot test execution 86/9186/2
Felipe Vicens [Thu, 25 Jun 2020 19:43:48 +0000 (21:43 +0200)]
Setting OSM_HOSTNAME for robot test execution

Change-Id: Ib553abbeec44480658df877f7591bdc336ea34b1
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoFix robot reports folder 85/9185/1
Felipe Vicens [Thu, 25 Jun 2020 18:13:14 +0000 (20:13 +0200)]
Fix robot reports folder

Change-Id: If7ce61e2c4ae9e6ca349f837f2f4e2d5f66f9510
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoPropagate the parameter DO_ROBOT to stage_3-merge 81/9181/1
Felipe Vicens [Thu, 25 Jun 2020 14:36:19 +0000 (16:36 +0200)]
Propagate the parameter DO_ROBOT to stage_3-merge

Change-Id: Iadf51c4c80ad7eb61838c666c447af4bbefa1af2
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoEnabling robot tests in CI/CD pipeline 55/9155/1
Felipe Vicens [Wed, 24 Jun 2020 19:34:18 +0000 (21:34 +0200)]
Enabling robot tests in CI/CD pipeline

Change-Id: Ifc433a829a1a27b4ade27bc00e5e5acee981c961
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>