osm/devops.git
3 years agoFixes Bug 1429: Add a different way to install nodejs 48/10248/7
fonsecaj [Wed, 3 Feb 2021 10:27:58 +0000 (10:27 +0000)]
Fixes Bug 1429: Add a different way to install nodejs

Change-Id: Ica1150cb1f85e9706d2259904fd5ddc483b48754
Signed-off-by: fonsecaj <jpedrofonseca@av.it.pt>
3 years agoCorrecting Syntax for Docker 40/10240/3
beierlm [Fri, 29 Jan 2021 17:45:19 +0000 (12:45 -0500)]
Correcting Syntax for Docker

Updates the syntax for the sed scripts so that the DOCKER_PROXY_URL
is correctly expanded

Change Makefile so docker images are pushed to gitlab, not
dockerhub

Change-Id: I6cd66711de8fc79146613aa84d79ca234e6d17c1
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoUse installer and stage3 files from v9, with minor modifications 25/10225/1
garciadeblas [Wed, 27 Jan 2021 12:33:48 +0000 (12:33 +0000)]
Use installer and stage3 files from v9, with minor modifications

Change-Id: I3bd8844827e3884828e843011dd6aa0cc98f8d7b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoSnap promotion fix 12/10212/2
beierlm [Fri, 22 Jan 2021 21:04:13 +0000 (16:04 -0500)]
Snap promotion fix

Changes snapcraft to run directly on host instead of in docker
continer.  This adds the requirement to have snapcraft installed
in the Jenkins agent, but is more reliable as the snapcraft docker
image is not the best practice anymore for building snaps.

Back ported new license scan.

Change-Id: I21da8a2d38671fc7b253cb6e19a8afb1f1e6acb6
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoPipeline updates for v8 to allow stage3 install OSM in VIM 09/10209/1
garciadeblas [Fri, 22 Jan 2021 16:41:19 +0000 (16:41 +0000)]
Pipeline updates for v8 to allow stage3 install OSM in VIM

Change-Id: Ic54c32003b1cb4cf0d7b29962bc62d237f5d6b64
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agohelm2 initialization with new stable repo URL 00/10200/1
garciadeblas [Wed, 20 Jan 2021 11:12:49 +0000 (11:12 +0000)]
helm2 initialization with new stable repo URL

Change-Id: Ib44e50902215b23c69004fc799f147533bc0f714
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix 1264: Vagrant images for v8.x 34/10034/1
ramonsalguer [Thu, 26 Nov 2020 09:29:26 +0000 (10:29 +0100)]
Fix 1264: Vagrant images for v8.x

Change-Id: I4d91c4f2b032a06a44f9efee99bb414c5f3b0702
Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
4 years agoExecute docker health commands with docker group 01/10001/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>
(cherry picked from commit ae9807e262603fb9753f22a215c085605258953c)

4 years agoinstall_osm.sh: fix usage to be the same as in full_installwq 90/9990/1
garciadeblas [Sat, 14 Nov 2020 23:08:37 +0000 (23:08 +0000)]
install_osm.sh: fix usage to be the same as in full_installwq

Change-Id: I818d788d1471a007719fbbeb12102e12699fecc4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFixes Bug 1275 and Bug 1273 - aiokafka version freeze 0.6.0 34/9934/2 v8.0.3 v8.0.4
fonsecaj [Thu, 29 Oct 2020 19:04:26 +0000 (19:04 +0000)]
Fixes Bug 1275 and Bug 1273 - aiokafka version freeze 0.6.0

Change-Id: I5226e1d790c37d889fac2e6d8285f41f033e9529
Signed-off-by: fonsecaj <jpedrofonseca@av.it.pt>
(cherry picked from commit 1850e4abd7b58d749443ddc5ca5c2cdbb2d067ca)

4 years agoFixes bug 1254 and bug 1247 63/9863/4
beierlm [Fri, 16 Oct 2020 16:53:51 +0000 (12:53 -0400)]
Fixes bug 1254 and bug 1247

Update the ingress rules to be explicit about version to avoid
extensions/v1beta1 Ingress is deprecated in v1.14+ message.
Use kubectl annotate instead of kubectl replace.
Ensure microk8s is in ready state before installing juju.
Report error if non-existing vca is requested.
Expose prometheus and grafana.

Change-Id: I0a8aa78c5c9be3163918c0b08b38b4c47d8fae6c
Signed-off-by: beierlm <mark.beierl@canonical.com>
4 years agoRevert "Workaround for Bug 1262" 71/9871/2
beierlm [Fri, 16 Oct 2020 21:05:14 +0000 (23:05 +0200)]
Revert "Workaround for Bug 1262"

This reverts commit 69b532b05f993931ce73b997de85123a7da09d35.

Reason for revert: LW-UI has been updated via these changes:

https://osm.etsi.org/gerrit/c/osm/devops/+/9869
https://osm.etsi.org/gerrit/c/osm/LW-UI/+/9870

Change-Id: I4eea04dd3ab519fe401d100b34738c39f3d244d9
Signed-off-by: beierlm <mark.beierl@canonical.com>
4 years agoFix bug 1262: docker build updates to use latest npm and ubuntu1804 69/9869/1
garciadeblas [Fri, 16 Oct 2020 11:25:57 +0000 (11:25 +0000)]
Fix bug 1262: docker build updates to use latest npm and ubuntu1804

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

4 years agoFix bug 1128 27/9827/2
Antonio Marsico [Thu, 8 Oct 2020 15:34:07 +0000 (17:34 +0200)]
Fix bug 1128

Resolves Light-UI and NG-UI deployed at the same time

Change-Id: I07f97714dba9adf48df121b7f61c19c10960a93a
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
(cherry picked from commit 25aca0c601f202d8a0341fc436553ed4dbc77462)

4 years agoWorkaround for Bug 1262 35/9835/1
beierlm [Wed, 14 Oct 2020 11:25:16 +0000 (07:25 -0400)]
Workaround for Bug 1262

Disable the build of light-ui until it can be updated with a newer
version of Ubuntu, Python 3 and NPM.

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

4 years agoPin libjuju versions to 2.8.4 78/9778/1 v8.0.2
David Garcia [Thu, 1 Oct 2020 16:41:57 +0000 (18:41 +0200)]
Pin libjuju versions to 2.8.4

Change-Id: I10afc20b8e4b5099cbf3867b644b589702cabcf8
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoRevert Juju Version 66/9766/1
beierlm [Wed, 30 Sep 2020 10:03:45 +0000 (06:03 -0400)]
Revert Juju Version

Pins the Juju agent version to 2.8.1 as the model cleanup can
timeout, but this does not happen in master where the version
is 2.8.1

Bug 1216

Change-Id: I223be2e36cc11ce045aaeffa2c164e592d96ec12
Signed-off-by: beierlm <mark.beierl@canonical.com>
4 years agoPin Juju 2.8.3 55/9755/1
beierlm [Thu, 24 Sep 2020 19:27:53 +0000 (15:27 -0400)]
Pin Juju 2.8.3

Updates the juju version and also pins the charmed bundle
versions.

Increases the install timeout by checking for 10 minutes
where no services progress at all, vs 10 minutes total
time.

Fixes bug 1229

Change-Id: I95db91162ad646a2d04b351558ae5f8b64ea579c
Signed-off-by: beierlm <mark.beierl@canonical.com>
4 years agofix 1220: LCM Dockerfile remove grpcio-tools grpclib 30/9730/2
tierno [Tue, 22 Sep 2020 09:40:46 +0000 (09:40 +0000)]
fix 1220: LCM Dockerfile remove  grpcio-tools grpclib

These dependencies are installed with the debian python3-osm-lcm
package, using a post-install script. This script get the
required version.

Removed other packages not needed

Change-Id: I6472e756cb3da32632ca18a9d165ef2e8ec7d270
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoPin Juju Version 10/9710/1
beierlm [Tue, 15 Sep 2020 20:00:34 +0000 (16:00 -0400)]
Pin Juju Version
Pins the agent version of juju to ensure consistent
behaviour.

Change-Id: I7112638fd02bc9ab9e6be5aa18481f93dd955f3a
Signed-off-by: beierlm <mark.beierl@canonical.com>
4 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)

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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)

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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)

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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)

4 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)

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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)

4 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)

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>

4 years agoAdding tests repository to CI/CD pipeline 50/9150/3 release-v8.0-start
Felipe Vicens [Wed, 24 Jun 2020 13:59:59 +0000 (15:59 +0200)]
Adding tests repository to CI/CD pipeline

Change-Id: I7ec51ef7e3e3d1a5c111c9678205a425b81e148b
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoEnabling publish of testing-daily in dockerhub 25/9125/3
garciadeblas [Fri, 19 Jun 2020 11:14:52 +0000 (11:14 +0000)]
Enabling publish of testing-daily in dockerhub

Change-Id: I13bb458a9b78c2a6902a0cfb92e44fec2fe7042b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agobug(kafka): kafka deployment parsing errors with env variables 40/9140/2
bravof [Mon, 22 Jun 2020 20:59:49 +0000 (16:59 -0400)]
bug(kafka): kafka deployment parsing errors with env variables

Change-Id: I6e2c2153993b183f2d0c5000aa6cf35140f9205e
Signed-off-by: bravof <fbravo@whitestack.com>
4 years agoFix route nginx.conf in NG-UI container 41/9141/2
Felipe Vicens [Tue, 23 Jun 2020 06:59:42 +0000 (08:59 +0200)]
Fix route nginx.conf in NG-UI container

Change-Id: I3268b3ee1f4801fdf80ad2e79761f5ef7693775e
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoGenerating ngui version for NGUI_VERSION variable 39/9139/1
Felipe Vicens [Mon, 22 Jun 2020 19:34:01 +0000 (21:34 +0200)]
Generating ngui version for NGUI_VERSION variable

Change-Id: If252ec0dbdcfe69929166e05e8401cb4696ac497
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoPLA build 42/8842/4
magnussonl [Fri, 1 May 2020 08:43:30 +0000 (10:43 +0200)]
PLA build

Added missing license header

Add PLA to SUBDIRS

Dummy modification to retrigger process

Resolved docker/Makefile conflict with NG-UI

Change-Id: Iaf20208a885a864f3994f2cc76ceeaa0eeb4fb56
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
4 years agoAdding PLA to CICD for deb package and docker image publication 93/8893/19
garciadeblas [Fri, 8 May 2020 14:24:43 +0000 (14:24 +0000)]
Adding PLA to CICD for deb package and docker image publication

Change-Id: Ia6b3ea177be521858ac67640f8bc831537930444
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agotools/newtag.sh: added NG-UI 44/9044/12
garciadeblas [Mon, 8 Jun 2020 09:59:33 +0000 (09:59 +0000)]
tools/newtag.sh: added NG-UI

Change-Id: I8048b3c13442fbc67a48778406d973a6c544ea8f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoEnable NG-UI in CICD 43/9043/13
garciadeblas [Mon, 8 Jun 2020 09:55:28 +0000 (09:55 +0000)]
Enable NG-UI in CICD

Change-Id: I9b39ff161a32e9b559117c88d34264942e5d10e4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoAdding PLA to Kafka topics 29/9129/1
Felipe Vicens [Sun, 21 Jun 2020 16:58:11 +0000 (18:58 +0200)]
Adding PLA to Kafka topics

Change-Id: Ie9db4909c072abff8f1f061449e553f15c6c01b3
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoUpdate of Packer builder for Vagrant and various clouds 36/9036/6
ramonsalguer [Wed, 3 Jun 2020 18:13:34 +0000 (20:13 +0200)]
Update of Packer builder for Vagrant and various clouds

Change-Id: I71d3a6fb21ce2b3c54993072f42749a5869fae96
Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
4 years agoFeature 8839: Modified Installation script to install OSM with 46/9046/4
vijaynag [Mon, 8 Jun 2020 14:23:10 +0000 (14:23 +0000)]
Feature 8839: Modified Installation script to install OSM with
NGUI. Default installation is with light-ui.
-n ngui will install OSM with NGUI.

Replicated the same changes as (8845) except ci_stage3.groovy

Resolved the merge conflict, fixed the indentation issue in line 586.

Change-Id: Ic89f54ea83f99df0a0189fd6e8e27be13f37a881
Signed-off-by: vijaynag <vijaynag.bs@tataelxsi.co.in>
4 years agoFix bug with MTU in LXD configuration 17/9117/1
David Garcia [Fri, 19 Jun 2020 08:33:37 +0000 (10:33 +0200)]
Fix bug with MTU in LXD configuration

The MTU was not applied correctly in the LXD containers

Change-Id: I337278f0122d462c5e0e11c02cd42ca7850b51d2
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoFeature 8623 23/8823/13
Antonio Marsico [Thu, 23 Apr 2020 10:06:19 +0000 (12:06 +0200)]
Feature 8623

This feature offers a OSM installer to OpenStack by using Ansible

Change-Id: I0d609dc227f8968614b4e9a358cb80961b69fb3e
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
4 years agoKUBERNETES K8s-03 Robot Test 12/9112/2
calvinosanc1 [Thu, 18 Jun 2020 10:07:19 +0000 (12:07 +0200)]
KUBERNETES K8s-03 Robot Test

Change-Id: I7c3aaf073457d4f38ff3c29700a039981ef382ed
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
4 years agoKUBERNETES K8s-02 Robot Test 76/9076/7
calvinosanc1 [Fri, 12 Jun 2020 08:52:29 +0000 (10:52 +0200)]
KUBERNETES K8s-02 Robot Test

Change-Id: Ib5ad818386c5c63daada979785b07ce3f0eeb63e
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
4 years agoRO Dockerfile: changes in the installed packages 69/9069/5
tierno [Wed, 10 Jun 2020 13:49:57 +0000 (13:49 +0000)]
RO Dockerfile: changes in the installed packages

New package 'python3-osm-ro-plugin' base for plugins
New plugin 'python3-osm-rosdn-dpb'

Rename from python3-osm-rosdn-tapi to python3-osm-rosdn-ietfl2vpn
Rename from python3-osm-rosdn-arista to python3-osm-rosdn-arista-cloudvision

Change-Id: Iaa51fab7f67bb96d33ef74e9ff9759d954a43145
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoUpdating healthcheck for kafka and zookeeper 07/9107/2
Felipe Vicens [Wed, 17 Jun 2020 16:37:18 +0000 (18:37 +0200)]
Updating healthcheck for kafka and zookeeper

Change-Id: Icb2e2930a3866cae9196c428e4de180088fdd749
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoChanging lxd storage backend to btrfs Bug #1096 85/9085/4
Felipe Vicens [Sat, 13 Jun 2020 09:01:51 +0000 (11:01 +0200)]
Changing lxd storage backend to btrfs Bug #1096

Changing the juju version to 2.7.6

Change-Id: I8b90bc69d7ef830767acce9d6c778a92fe9f73a6
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoFix bug 1097: added env variables to kafka container 80/9080/2
garciadeblas [Fri, 12 Jun 2020 14:29:48 +0000 (14:29 +0000)]
Fix bug 1097: added env variables to kafka container

Change-Id: I33365daf8e2bb9c0e7ae117c8414c56b3df03013
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoSLICING-02 - NSS Shared Network Slicing robot test 37/8937/9
melian [Tue, 19 May 2020 10:54:18 +0000 (10:54 +0000)]
SLICING-02 - NSS Shared Network Slicing robot test

Change-Id: I0615a7fe5d9e1bfe68b1e2049de405404be06cc9
Signed-off-by: melian <javier.melian@atos.net>
4 years agoFix for Robot tests: implement adjustable timeouts for slow NS (basic_03, basic_06... 88/9088/2
ramonsalguer [Mon, 15 Jun 2020 13:37:28 +0000 (13:37 +0000)]
Fix for Robot tests: implement adjustable timeouts for slow NS (basic_03, basic_06, basic_07

Change-Id: I73f2cc91b2872b9a7a9e9cd1cc4953133d4cd24c
Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
4 years agoSLICING-01 - Basic Network Slicing robot test 36/8936/11
Javier Melian [Tue, 19 May 2020 07:39:12 +0000 (07:39 +0000)]
SLICING-01 - Basic Network Slicing robot test

Change-Id: I3696b4f2ad207c0d6f4fc26f317d241b40f2ee59
Signed-off-by: melian <javier.melian@atos.net>
4 years agoAdd HA option and minor fixes 59/9059/8
Dominik Fleischmann [Tue, 9 Jun 2020 09:45:08 +0000 (11:45 +0200)]
Add HA option and minor fixes

This commit adds the --ha option which will
install the osm-ha bundle instead of the standard
osm bundle.

Additionally this commit includes the following
fixes:
- change the use of route to ip route which is
preinstalled in Ubuntu Desktop also.
- Change final command of post install osmclient
message
- Change post install osmclient message to be
only shown during install and not uninstall.
- Fix the deletion of the wrong model in uninstall
- Pining Juju snap to 2.7/stable

Change-Id: Iccf3bda7ec2f9a2279e5535d819e2a1968a59687
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agoMerge "Use the gitlab repo for OSM packages"
beierlm [Wed, 10 Jun 2020 14:13:19 +0000 (16:13 +0200)]
Merge "Use the gitlab repo for OSM packages"

4 years agoMerge "BASIC-01, 05, 06, 07 and 09 Robot Test-Cases."
beierlm [Wed, 10 Jun 2020 14:13:11 +0000 (16:13 +0200)]
Merge "BASIC-01, 05, 06, 07 and 09 Robot Test-Cases."

4 years agoMerge "Robot libraries for Prometheus, VIM and NS instances."
beierlm [Wed, 10 Jun 2020 14:13:03 +0000 (16:13 +0200)]
Merge "Robot libraries for Prometheus, VIM and NS instances."

4 years agoChange naming of Charmed Installer Parameters 38/9038/3
Dominik Fleischmann [Thu, 4 Jun 2020 08:52:05 +0000 (10:52 +0200)]
Change naming of Charmed Installer Parameters

The naming for the following parameters in the
Charmed installer has been changed:

kubeconfig -> k8s
controller -> vca
lxd-cloud -> lxd
lxd-credentials -> lxd-cred

Change-Id: Id760cd332c4be76a3cf45a108d7448387a78a94a
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agoUse the gitlab repo for OSM packages 16/9016/3
limon [Mon, 1 Jun 2020 14:28:40 +0000 (16:28 +0200)]
Use the gitlab repo for OSM packages

Change-Id: I5244bee028a7efc27959443f027c8ac3a1db3c04
Signed-off-by: limon <alimonj@indra.es>
4 years agoBASIC-01, 05, 06, 07 and 09 Robot Test-Cases. 52/8952/10
limon [Thu, 21 May 2020 13:20:41 +0000 (15:20 +0200)]
BASIC-01, 05, 06, 07 and 09 Robot Test-Cases.

Change-Id: Icd69bd3155a4de76186d485d1cf2de9860fa77e7
Signed-off-by: limon <alimonj@indra.es>
4 years agoRobot libraries for Prometheus, VIM and NS instances. 17/8917/11
limon [Thu, 14 May 2020 16:32:51 +0000 (18:32 +0200)]
Robot libraries for Prometheus, VIM and NS instances.

Change-Id: I7105cfbfb2755a09f267a584ec79e5e5962bd9de
Signed-off-by: limon <alimonj@indra.es>