osm/devops.git
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 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... 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 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 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 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 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 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 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 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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"

3 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."

3 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."

3 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>
3 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>
3 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>
3 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>
3 years agoFix Grafana deployment over Docker Swarm 95/8895/2
lavado [Fri, 8 May 2020 19:07:21 +0000 (14:07 -0500)]
Fix Grafana deployment over Docker Swarm

Change 8782 broke Grafana deployment over docker swarm,
as configuration files where reorganized.

Change-Id: I0a18157df014508dd95f8a720a308b896381e382
Signed-off-by: lavado <glavado@whitestack.com>
3 years agoMerge "This cannot proceed until NG-UI artifacts are produced."
beierlm [Wed, 27 May 2020 14:57:12 +0000 (16:57 +0200)]
Merge "This cannot proceed until NG-UI artifacts are produced."

3 years agoThis cannot proceed until NG-UI artifacts are produced. 83/8983/1
beierlm [Wed, 27 May 2020 14:56:28 +0000 (16:56 +0200)]
This cannot proceed until NG-UI artifacts are produced.

Revert "Feature 8839: Modified Installation script to install OSM with NGUI. Default installation is with light-ui. -n ngui will install OSM with NGUI. Resolved merge conflict. Added NG-UI to ci_stage_3."

This reverts commit 98a5b63118fe03f51c0bb64ef2645f0914f99152.

Change-Id: Iccc5fcf6605015c36792d2f94d0afe7c4d1c1edf
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoMerge "Added Grafana Chart to K8s based OSM. Base for being merged with k8s_monitor"
beierlm [Wed, 27 May 2020 14:32:32 +0000 (16:32 +0200)]
Merge "Added Grafana Chart to K8s based OSM. Base for being merged with k8s_monitor"

3 years agoMerge "Feature 8839: Modified Installation script to install OSM with NGUI. Default...
beierlm [Wed, 27 May 2020 13:59:21 +0000 (15:59 +0200)]
Merge "Feature 8839: Modified Installation script to install OSM with NGUI. Default installation is with light-ui. -n ngui will install OSM with NGUI. Resolved merge conflict. Added NG-UI to ci_stage_3."

3 years agoMerge "Fix bug 964: Duplicated dashboards. Set fixed port for Grafana"
beierlm [Tue, 26 May 2020 17:07:57 +0000 (19:07 +0200)]
Merge "Fix bug 964: Duplicated dashboards. Set fixed port for Grafana"

3 years agoAdded Grafana Chart to K8s based OSM. Base for being merged with k8s_monitor 65/8665/16
romeromonser [Fri, 6 Mar 2020 09:23:29 +0000 (10:23 +0100)]
Added Grafana Chart to K8s based OSM. Base for being merged with k8s_monitor

Change-Id: I286edb8a424af2f5cc78684fcb11ed841f47900d
Signed-off-by: romeromonser <garomero@indra.es>
3 years agoFeature 8839: Modified Installation script to install OSM with 45/8845/6
vijaynag [Sat, 2 May 2020 12:11:10 +0000 (12:11 +0000)]
Feature 8839: Modified Installation script to install OSM with
NGUI. Default installation is with light-ui.
-n ngui will install OSM with NGUI.
Resolved merge conflict.
Added NG-UI to ci_stage_3.

Change-Id: I5fc9d036427d078ac52f5cc5e43f7a02d509b482
Signed-off-by: vijaynag <vijaynag.bs@tataelxsi.co.in>
3 years agoChanging Juju version in Docker 50/8950/1
Dominik Fleischmann [Thu, 21 May 2020 12:05:24 +0000 (14:05 +0200)]
Changing Juju version in Docker

The juju that is integrated in the LCM container,
contains a pinned version and needs to be updated
for new functionality.

Change-Id: Ia5b86260689ac8f6e32f080ccd0bbbce79b9afac
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
3 years agoChange bootstrapping series back to xenial. 43/8943/2
David Garcia [Mon, 18 May 2020 16:20:43 +0000 (18:20 +0200)]
Change bootstrapping series back to xenial.

This is a temporary fix. Jenkins slave can't bootstrap a bionic series right now.

Change-Id: I28da224c093a102a964f15bcbd7fadfca771b9af
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit 7ca1ec63172ee3e98ce9ad56bc925b90ef771b49)

3 years agofix getting interface with default route when there are more than one 38/8938/2
tierno [Mon, 18 May 2020 14:17:41 +0000 (14:17 +0000)]
fix getting interface with default route when there are more than one

Change-Id: I94d60283a2d5bda9b7814ea5bd5820110c9c03cf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
(cherry picked from commit 6763478575443439a9b4abd7fa5708c2f17890e7)

3 years agofull_install_osm.sh: added uninstall_osmclient 91/8891/6
garciadeblas [Fri, 8 May 2020 10:40:20 +0000 (10:40 +0000)]
full_install_osm.sh: added uninstall_osmclient

Change-Id: I62f6584768f25df42a4c1e681f0a8277beb4ecb6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofull_install_osm: replacing the use of route by ip route list as first option 46/8846/7
garciadeblas [Mon, 4 May 2020 06:49:50 +0000 (06:49 +0000)]
full_install_osm: replacing the use of route by ip route list as first option

Change-Id: I058b891bc00104d29e230a58ec2db634181fff47
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofull_install_osm.sh: minor fix, no sudo for wget node_exporter, required for installa... 36/8836/7
garciadeblas [Wed, 29 Apr 2020 13:24:19 +0000 (13:24 +0000)]
full_install_osm.sh: minor fix, no sudo for wget node_exporter, required for installation behind proxy

Change-Id: Ibf14ea9e7c468df3b67d7eb0d855a97a41fa5250
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdd tag option to charmed osm installer 76/8876/7
David Garcia [Thu, 7 May 2020 10:14:19 +0000 (12:14 +0200)]
Add tag option to charmed osm installer

Change-Id: I6093071eb183f2107b08c56f377af01390383782
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdd -K option to specify an external juju controller 29/8829/9
David Garcia [Tue, 28 Apr 2020 09:47:55 +0000 (11:47 +0200)]
Add -K option to specify an external juju controller

How to use: Bootstrap an external controller (p.e. manual), and put -K <controller> name in the installer
Requirements:
  - Port 8443 accessible for the LXD Cluster
  - Port 17070 accesible for the Juju controller
Note: You can use -l and -L options to specify an external LXD cluster too.

Change-Id: I93db94f3c57f32f2112c0394e2685577f7a1eee1
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdd --controller, --lxd-cloud and --lxd-credentials in osm installer using charms 25/8825/7
David Garcia [Mon, 27 Apr 2020 17:07:49 +0000 (19:07 +0200)]
Add --controller, --lxd-cloud and --lxd-credentials in osm installer using charms

- LXD Cloud: Takes a YAML file as a parameter with the LXD Cloud information
- LXD Credentials: Takes a YAML file as a parameter with the LXD Credentials information

Change-Id: I0f09e15eb00c0d64d91154d6d55c1ec3d12ee31a
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdd lxd-cloud and lxd-credential options in installer (-l and -L) 68/8768/6
David Garcia [Tue, 7 Apr 2020 10:59:34 +0000 (12:59 +0200)]
Add lxd-cloud and lxd-credential options in installer (-l and -L)

This commit allows the installer to use an external LXD cluster instead of a local one.
Added two options:
 -l: This points to a file containing the lxd-cloud information for juju
 -L: This points to a file containing the lxd-cloud credential information
This url contains more info about the format of those files: https://juju.is/docs/lxd-cloud-advanced

Change-Id: Ia243f48e3e815d9ab267db3085ac842ffc691721
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdditional file type exception 52/8852/1
beierlm [Tue, 5 May 2020 19:26:54 +0000 (15:26 -0400)]
Additional file type exception

Adding .ico as another image type that does not get
checked for license compliance.

Change-Id: I5cada23fca395ba78fcf05a647d2c426e764ec61
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoMerge "feature(prometheus): Configuration can be dynamically replaced"
beierlm [Thu, 30 Apr 2020 18:52:01 +0000 (20:52 +0200)]
Merge "feature(prometheus): Configuration can be dynamically replaced"

3 years agoFix bug 964: Duplicated dashboards. Set fixed port for Grafana 72/8372/14
romeromonser [Tue, 10 Dec 2019 17:25:55 +0000 (18:25 +0100)]
Fix bug 964: Duplicated dashboards. Set fixed port for Grafana

Change-Id: I7534cf2ae0ef60729634e31da8af390e14e9d730
Signed-off-by: romeromonser <garomero@indra.es>
3 years agoSupport for optional install of PLA 32/8632/3
magnussonl [Tue, 25 Feb 2020 12:43:17 +0000 (13:43 +0100)]
Support for optional install of PLA

New construct for docker stack deploy command

Added K8s installation

Change-Id: I1e14fd77d2b9d5d72a34c4ba122022bac8d7dab9
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
4 years agoinstall with RO the SDN plugins Arista and ODL openflow 18/8818/2
tierno [Fri, 24 Apr 2020 08:32:54 +0000 (08:32 +0000)]
install with RO the SDN plugins Arista and ODL openflow

Change-Id: If7cd5dc3fc285cdbb6465beabc2f3485db124637
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFeature 8583 66/8666/14
Dominik Fleischmann [Fri, 6 Mar 2020 13:05:06 +0000 (14:05 +0100)]
Feature 8583

This feature will enable the installation of OSM with
charms on top of Kubernetes (microk8s by default).

Instructions to test this before Merge:

Change path to local full_install_osm.sh in
line 145 in install_osm.sh

Change path to local charmed_install.sh and
charmed_uninstall.sh in line 1285 and 1287 in
full_install_osm.sh

Afterwards, just execute:
./install_osm.sh --charmed

For uninstall
./install_osm.sh --uninstall

Change-Id: I6dfe0831ea5e2c265a365b41638e807106076346
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agoAdd OSM charms 67/8667/14
David Garcia [Mon, 9 Mar 2020 07:38:17 +0000 (08:38 +0100)]
Add OSM charms

Change-Id: Iec1c915c77ac24080bfc8813eecc1970ee8c0213
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agofeature(prometheus): Configuration can be dynamically replaced 82/8782/1
lavado [Mon, 13 Apr 2020 22:02:00 +0000 (17:02 -0500)]
feature(prometheus): Configuration can be dynamically replaced

Adds '--web.enable-lifecycle' option to reload config files.
Includes other minor fixes in metrics stack.

Change-Id: I88ffe653a08c7104cffb957f934698bf56e64bd9
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoInitial commit. Moved previous robot test to robot-systest/deprecated. Added basic... 51/8751/7
romeromonser [Thu, 2 Apr 2020 13:54:38 +0000 (15:54 +0200)]
Initial commit. Moved previous robot test to robot-systest/deprecated. Added basic tests.

Change-Id: I2457a8e66da3df639e4f9e7d4aa91045494055c6
Signed-off-by: romeromonser <garomero@indra.es>
4 years agoAdd production setup to LXD 34/8734/5
David Garcia [Mon, 30 Mar 2020 12:49:40 +0000 (14:49 +0200)]
Add production setup to LXD

This are the recommendations for LXD production setup: https://github.com/lxc/lxd/blob/master/doc/production-setup.md
- Install LXD snap: the snap that already takes care of /etc/security/limits.conf
- Use ZFS storage driver: It is much faster than "dir"
- Apply sysctl recommended values

Change-Id: Id3c83a34cd853155e795ff117520911514b19107
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoImplementing --wait option for ns deletion in systest 62/8762/1
Felipe Vicens [Mon, 6 Apr 2020 18:06:09 +0000 (20:06 +0200)]
Implementing --wait option for ns deletion in systest

Change-Id: I79e25dc98a195bbbba70feb1bf65e545b6fb9e8e
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agofeature(mon): Grafana env variables (user, password and URL) 44/8744/2
bravof [Wed, 1 Apr 2020 14:01:11 +0000 (11:01 -0300)]
feature(mon): Grafana env variables (user, password and URL)

Change-Id: I21f80fa81265bf02cf9e546e7ae669d71130dbef
Signed-off-by: bravof <fbravo@whitestack.com>
4 years agoFix bug 1022: Fix database checking, and wait for keystone hostname to be available 57/8657/5
David Garcia [Mon, 2 Mar 2020 13:17:26 +0000 (14:17 +0100)]
Fix bug 1022: Fix database checking, and wait for keystone hostname to be available

Change-Id: I56abf156eb187a3bc7f3272a2137017aea39fed2
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoFix Bug 1033: Add LDAP support in Keystone Dockerfile 15/8715/1
David Garcia [Mon, 23 Mar 2020 14:32:43 +0000 (15:32 +0100)]
Fix Bug 1033: Add LDAP support in Keystone Dockerfile

Change-Id: I0ab53cba41d83d9fe5019a81dcd7530793f5f414
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoRevert "Adds osm_automated tag to automated dashboards Fixes Bug 1027 (together with... 12/8712/1
lavado [Fri, 20 Mar 2020 22:24:51 +0000 (23:24 +0100)]
Revert "Adds osm_automated tag to automated dashboards Fixes Bug 1027 (together with MON commit)"

This reverts commit 4609eb6537f125d7c6d266ebff1a45a3a76bf902.

Change-Id: I2586ac96722787583d2524bc3ca0168933894fca
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoAdds osm_automated tag to automated dashboards 05/8705/1
lavado [Fri, 20 Mar 2020 21:51:18 +0000 (16:51 -0500)]
Adds osm_automated tag to automated dashboards
Fixes Bug 1027 (together with MON commit)

Change-Id: Iff2c1e7ac1a6872c88dd50f7d96fba0ee82c4a27
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoMerge "For single node with one replica changed keystone service type to headless."
madavi [Fri, 13 Mar 2020 03:22:21 +0000 (04:22 +0100)]
Merge "For single node with one replica changed keystone service type to headless."

4 years agofix 1031 install networking-l2gw before python3-osm-rovim-openstack 73/8673/1
tierno [Wed, 11 Mar 2020 14:35:26 +0000 (14:35 +0000)]
fix 1031 install networking-l2gw before python3-osm-rovim-openstack

Change-Id: I062564693cc271df20638acf59476662071d904e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofull_install_osm.sh -o: added k8s_monitor as an option to install only 64/8664/1
garciadeblas [Thu, 5 Mar 2020 18:32:16 +0000 (18:32 +0000)]
full_install_osm.sh -o: added k8s_monitor as an option to install only

Change-Id: Ic9865b49b328368280ebd1ef88fb3c39c7f8d269
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFor single node with one replica changed keystone service type to 33/8633/1
vijaynag [Tue, 25 Feb 2020 13:08:39 +0000 (13:08 +0000)]
For single node with one replica changed keystone service type to
headless.

Change-Id: I98851b3852dc19e20a85f736d49d2a98e044208e
Signed-off-by: vijaynag <vijaynag.bs@tataelxsi.co.in>
4 years agoFix for unattended install of iptables-persistent 29/8629/1
Francisco-Javier Ramón Salguero [Sat, 22 Feb 2020 00:45:41 +0000 (01:45 +0100)]
Fix for unattended install of iptables-persistent

Change-Id: Ib639707484edbd8b4eb8f93b451c6e72c341f8a4
Signed-off-by: Francisco-Javier Ramón Salguero <javier.ramon@telefonica.com>