osm/devops.git
5 years agoUse docker tag 5 instead of latest 80/7080/5 feature7106
garciadeblas [Fri, 21 Dec 2018 10:21:11 +0000 (11:21 +0100)]
Use docker tag 5 instead of latest

Change-Id: I1a9a136ed572a69c9867212543280d7055b18dc2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agogenerate_descriptor_pkg.sh: added charms folder to NSD_FOLDERS 96/7396/3
garciadeblas [Tue, 9 Apr 2019 13:43:34 +0000 (15:43 +0200)]
generate_descriptor_pkg.sh: added charms folder to NSD_FOLDERS

Change-Id: I73800fc42cd5fec18433102fb8bf3edafae465b3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoinstaller: VCA key as env var for LCM 87/7387/4
garciadeblas [Thu, 4 Apr 2019 17:04:32 +0000 (19:04 +0200)]
installer: VCA key as env var for LCM

Change-Id: I0c49f673716377694639f5bf9c1319431157fa3d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdding license headers to keystone 01/7201/2
Eduardo Sousa [Tue, 5 Feb 2019 16:19:31 +0000 (16:19 +0000)]
Adding license headers to keystone

Change-Id: Id41209ed087a456b400102fed6e89025706e00da
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoAdding extra-vars to playooks 55/7355/4
Eduardo Sousa [Fri, 22 Mar 2019 02:40:47 +0000 (02:40 +0000)]
Adding extra-vars to playooks

Change-Id: I8cf0ddcdc794e102f2af4f9bf8fe5458009f47f1
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoReduces Kafka log retention to 1 day 73/7273/3
Benjamin Diaz [Wed, 27 Feb 2019 19:42:34 +0000 (16:42 -0300)]
Reduces Kafka log retention to 1 day

Bug 592

Change-Id: Ie7198055049fd3cfab37cc96e153f57fdedec5ad
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoAdds log rotation for MON and POL in docker-compose.yaml 72/7272/4
Benjamin Diaz [Wed, 27 Feb 2019 17:01:38 +0000 (14:01 -0300)]
Adds log rotation for MON and POL in docker-compose.yaml

Sets maximum number of log files to 5 per module, with max size 10MB each.

Change-Id: I6cd23ea0f3e785ed31813355b9ef5f3f3f1b1410
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoAdding a few more variables to Keystone Docker 91/7391/4
Eduardo Sousa [Mon, 8 Apr 2019 16:17:54 +0000 (17:17 +0100)]
Adding a few more variables to Keystone Docker

It introduces the Keystone host variable which should help in
Kubernetes distributions. It also checks if the database was
created but it is empty.

Change-Id: I7c4bf7423023825f21accc1d34c4d858596b2fd9
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoModifies POL deployment to use mysql database 58/7258/5
Benjamin Diaz [Tue, 26 Feb 2019 20:25:07 +0000 (17:25 -0300)]
Modifies POL deployment to use mysql database

Adds script to automatically create database if not existant.
Adds generation of db env var to install script.

Change-Id: I334ffe2a2f9c2570cf94454948e23f1ce4b5aee7
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoModifies MON deployment to use mysql database 56/7256/11
Benjamin Diaz [Mon, 25 Feb 2019 20:18:51 +0000 (17:18 -0300)]
Modifies MON deployment to use mysql database

Adds script to automatically create database if not existant.
Adds generation of db env var to install script.

Depends on 7255

Change-Id: Ic4da007e5799f8986b27c896b82c278e49e9b7e5
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoDowngrading Keystone to Pike release 76/7376/1
Eduardo Sousa [Fri, 29 Mar 2019 18:37:59 +0000 (18:37 +0000)]
Downgrading Keystone to Pike release

Keystone needs to be downgraded because there is a
bug present in user deletion for the queens version.

Change-Id: I23644cf016808c62e9648f3ae7fb6841a98decbf
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoAdding setup.py to charm-generator 38/7338/1
Eduardo Sousa [Wed, 20 Mar 2019 13:36:24 +0000 (13:36 +0000)]
Adding setup.py to charm-generator

Change-Id: I1ba69e255727703ed2f25b4f3dbabd53685573f4
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoMerge "Adding an charm generator"
lavado [Thu, 14 Mar 2019 00:03:14 +0000 (01:03 +0100)]
Merge "Adding an charm generator"

5 years agoModifies Keystone to use same MySQL DB as RO 47/7247/8
Benjamin Diaz [Fri, 22 Feb 2019 19:04:34 +0000 (16:04 -0300)]
Modifies Keystone to use same MySQL DB as RO

ro-db is renamed to mysql

There is no benefit of having multiple sql database engines. All components
should share the same. This is part of the effort to make OSM components
support an HA scenario. Unifying sql db engines, allows to have them all
connected to a database cluster, for example.

Change-Id: I5d0f2b75da9ea7c6bbb341cac3cb899b4821dd40
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoincrease start period at RO docker healthcheck 15/7215/2
tierno [Thu, 7 Feb 2019 13:42:14 +0000 (14:42 +0100)]
increase start period at RO docker healthcheck

Change-Id: Id9c83022c9b5091142e6abb1d3e3c24b162eb400
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding an charm generator 26/7226/5
Eduardo Sousa [Wed, 13 Feb 2019 12:28:56 +0000 (12:28 +0000)]
Adding an charm generator

Current version only supports Ansible.

It takes as input an empty charm with playbooks and generates
the following files:
- metadata.yaml
- layers.yaml
- reactive/<ansible_charm>.py
- actions.yaml
- actions/<action-name>

After that, it is only required to build the charm.

NOTE: In this version, it doesn't support parameters yet.

Change-Id: Ia771185a38421a04c1adcef4ded3d7a55fa164ee
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoResolve packer template typo 71/7271/1
Mike Marchetti [Wed, 27 Feb 2019 15:32:39 +0000 (10:32 -0500)]
Resolve packer template typo

Change-Id: Ie75900e7098a9cd87feeeb553a2910baef60e5ac
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
5 years agoUpdate shutdown command as workaround 63/7263/1
Mike Marchetti [Wed, 27 Feb 2019 14:36:08 +0000 (09:36 -0500)]
Update shutdown command as workaround

Change-Id: I9c79e2997e79d445faaa2030693bcca5312ae90c
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
5 years agoModifies MON and POL env vars names 18/7218/2
Benjamin Diaz [Thu, 7 Feb 2019 15:09:57 +0000 (12:09 -0300)]
Modifies MON and POL env vars names

Depends on 7217

Change-Id: Ibef79ce619c4d129f948dee31756ce0f7c5d6a50
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoRemoved VPORT in all VNFDs and generate_descriptor_pkg.sh 79/7079/1
garciadeblas [Wed, 19 Dec 2018 12:40:57 +0000 (13:40 +0100)]
Removed VPORT in all VNFDs and generate_descriptor_pkg.sh

Change-Id: I8c8102d6b16b8001762fcd3650db8cc688006ece
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoosm_health.sh: increased WAIT_TIME 78/7078/1
garciadeblas [Thu, 20 Dec 2018 16:10:27 +0000 (17:10 +0100)]
osm_health.sh: increased WAIT_TIME

Change-Id: I173947d424c0a334b51a3e0f58a4efae7ee57cd8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agofull_install_osm.sh: new tracking events before proceed and during juju 58/7058/2
garciadeblas [Thu, 13 Dec 2018 17:20:54 +0000 (18:20 +0100)]
full_install_osm.sh: new tracking events before proceed and during juju

Change-Id: I218fb7eb264820a104ba0c0da7184a97212efd8f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdded docker volume to RO 48/7048/2
garciadeblas [Mon, 10 Dec 2018 14:49:27 +0000 (15:49 +0100)]
Added docker volume to RO

Change-Id: I2896cf8218509e439732e5727bf9e51a1470ac09
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agotools/newtag.sh: added branch parameter 47/7047/2
garciadeblas [Mon, 10 Dec 2018 14:48:28 +0000 (15:48 +0100)]
tools/newtag.sh: added branch parameter

Change-Id: I87c0e522148e2ce095605f2e903a63be6ae6bc81
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agofull_install_osm.sh: added LC_ALL locale to pip install 41/7041/1
garciadeblas [Wed, 5 Dec 2018 11:08:25 +0000 (12:08 +0100)]
full_install_osm.sh: added LC_ALL locale to pip install

Change-Id: I05ac8953c8b1250dd6017a2205e31afd38d49438
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoFix pull ro-db docker image and TO_REBUILD options 32/7032/1
garciadeblas [Tue, 4 Dec 2018 13:55:09 +0000 (14:55 +0100)]
Fix pull ro-db docker image and TO_REBUILD options

Change-Id: I225f5bcf6754f0446d8be8ee9d455516b2f4c233
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoFix healthcheck for RO 31/7031/1
garciadeblas [Tue, 4 Dec 2018 13:20:26 +0000 (14:20 +0100)]
Fix healthcheck for RO

Change-Id: I909021519a444c68fbe5216542ab49828416e71a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoinstallers: ReleaseFOUR to ReleaseFIVE 26/7026/1 v5.0.0
garciadeblas [Mon, 3 Dec 2018 16:54:31 +0000 (17:54 +0100)]
installers: ReleaseFOUR to ReleaseFIVE

Change-Id: I045f775876d946fa04c63820acf0e8b4642322d7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdd validation to Network Slice descriptor in validate_descriptor.py 88/6988/2
gcalvino [Wed, 28 Nov 2018 15:27:20 +0000 (16:27 +0100)]
Add validation to Network Slice descriptor in validate_descriptor.py

Change-Id: I1e0e09e8caba1dd0f8a8c95b7ba454eaae0333eb
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
5 years agofixing issue in validate_descriptor 28/6928/3
tierno [Tue, 20 Nov 2018 15:55:00 +0000 (15:55 +0000)]
fixing issue in validate_descriptor

Change-Id: I3d87c21f2beba29784d1f30fb4e0249c06bf3af0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoMinor corrections to uninstall_lightweight functions 90/6990/3
lavado [Wed, 28 Nov 2018 16:30:48 +0000 (11:30 -0500)]
Minor corrections to uninstall_lightweight functions

Removes old references to kafka-exporter container
Replaces osm/pm for osm/pol
Adds OSM_DOCKER_TAG for proper image deletion

Change-Id: If2544bcdbadfa29f47a9e4f4f3ed1ce47fb87dc7
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoRO Dockerfile: added cloud-archive:queens deb repo 00/7000/2
garciadeblas [Thu, 29 Nov 2018 14:49:03 +0000 (15:49 +0100)]
RO Dockerfile: added cloud-archive:queens deb repo

Change-Id: I0855e225918720987b4a798636841db3a336a9aa
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoRevert "Revert "Dockerfile in light-ui: use deb package from repo"" 04/7004/1
garciadeblas [Thu, 29 Nov 2018 15:36:50 +0000 (16:36 +0100)]
Revert "Revert "Dockerfile in light-ui: use deb package from repo""

This reverts commit 28f76d9d08b104e3a209b1e7970411484ba7be48.

Change-Id: Id7cf3a3bc9c83f85605e30a97e97ab74f89dea80
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdds MON to osm_health script 93/6993/1
Benjamin Diaz [Wed, 28 Nov 2018 20:35:02 +0000 (17:35 -0300)]
Adds MON to osm_health script

Change-Id: I8e02c652492741408ba411818d7fb41cc8230ec4
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoPulls Elasticsearch Curator image during installation process 89/6989/1
lavado [Wed, 28 Nov 2018 16:28:14 +0000 (11:28 -0500)]
Pulls Elasticsearch Curator image during installation process

Change-Id: Ia81b287db078312af26b67214c927d3c666a6681
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoRevert "Dockerfile in light-ui: use deb package from repo" 86/6986/1
garciadeblas [Wed, 28 Nov 2018 13:15:04 +0000 (14:15 +0100)]
Revert "Dockerfile in light-ui: use deb package from repo"

This reverts commit d3a9541868b6396c484d18c6542d05cd31403c05.

Change-Id: I2d39164ef7fadce798fa659bf01dfcd118cd7dce
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoMerge "Adding persistance to Elasticsearch"
lavado [Tue, 27 Nov 2018 18:35:42 +0000 (19:35 +0100)]
Merge "Adding persistance to Elasticsearch"

5 years agoMerge "Adds healthcheck to MON Dockerfile"
lavado [Tue, 27 Nov 2018 18:35:18 +0000 (19:35 +0100)]
Merge "Adds healthcheck to MON Dockerfile"

5 years agoMerge "Changed message about OSM_HOSTNAME env variable in osmclient"
garciadeblas [Tue, 27 Nov 2018 16:24:40 +0000 (17:24 +0100)]
Merge "Changed message about OSM_HOSTNAME env variable in osmclient"

5 years agoMerge "Dockerfile in light-ui: use deb package from repo"
garciadeblas [Tue, 27 Nov 2018 16:23:33 +0000 (17:23 +0100)]
Merge "Dockerfile in light-ui: use deb package from repo"

5 years agoMerge "(bug 578) Fix installer on Ubuntu 18.04"
marchettim [Tue, 27 Nov 2018 16:01:06 +0000 (17:01 +0100)]
Merge "(bug 578) Fix installer on Ubuntu 18.04"

5 years agoAdds healthcheck to MON Dockerfile 42/6942/2
Benjamin Diaz [Wed, 21 Nov 2018 21:10:05 +0000 (18:10 -0300)]
Adds healthcheck to MON Dockerfile

The healthcheck checks connection to Kafka, Prometheus exporter and processes
running.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: Ibc94a8ad0687ffa3199ba1a845e3730814d9a52f

5 years agoChanged message about OSM_HOSTNAME env variable in osmclient 70/6970/1
garciadeblas [Tue, 27 Nov 2018 10:32:47 +0000 (11:32 +0100)]
Changed message about OSM_HOSTNAME env variable in osmclient

Change-Id: Ifa8dfe06fc4ca348689d257d493d675c66db81ac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoDockerfile in light-ui: use deb package from repo 34/6934/12
garciadeblas [Tue, 20 Nov 2018 17:29:12 +0000 (18:29 +0100)]
Dockerfile in light-ui: use deb package from repo

Change-Id: I352effb2dba583379969716f6dd093613d72a3bb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdding persistance to Elasticsearch 65/6965/2
lavado [Mon, 26 Nov 2018 16:57:08 +0000 (11:57 -0500)]
Adding persistance to Elasticsearch

Change-Id: Ib9f8e7d18d910d42baee52ce7ffdc91d6e53daed
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoEnabling LW-UI deb repo in stage3 62/6962/1
garciadeblas [Mon, 26 Nov 2018 13:13:04 +0000 (14:13 +0100)]
Enabling LW-UI deb repo in stage3

Change-Id: I18292afcbab27bd241f7cbd8c423afab9aacea62
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoMerge "Metricbeat: removing unused metrics"
lavado [Fri, 23 Nov 2018 15:40:12 +0000 (16:40 +0100)]
Merge "Metricbeat: removing unused metrics"

5 years agoFixed install_osm.sh: OSM_DOCKER_WORK_DIR set to old folder 52/6952/1
garciadeblas [Fri, 23 Nov 2018 13:47:40 +0000 (14:47 +0100)]
Fixed install_osm.sh: OSM_DOCKER_WORK_DIR set to old folder

Change-Id: Ic72fb2b24778c4a49f58b60bf24f474b8e3df4f9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years ago(bug 578) Fix installer on Ubuntu 18.04 43/6943/2
Adam Israel [Wed, 21 Nov 2018 21:47:45 +0000 (16:47 -0500)]
(bug 578) Fix installer on Ubuntu 18.04

We originally ran into this at the hackfest, where the installer would
fail on Ubuntu 18.04, the latest long-term supported release.

The behaviour of the `sg` command has failed (an apparent upstream
change) so that it can't be reliably used to check the error code of the
command it runs.

Considering the original use of `sg`, to ensure that the user had access
to lxd in order to bootstrap, reduces how we use `sg`, only calling it
if we need to bootstrap a new juju controller.

The other commands -- `juju show-controller` and `juju controllers` --
do not need access to the lxd group in order to function.

I've tested this patch on Ubuntu 16.04 and 18.04 and verified that it
works as expected on both (where lxd now pre-installed) and will also
work with older versions of 16.04 that may not have it installed.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: I0e50ef3ac3cf127b63f5f56d8f90fea44f5be0f2

5 years agoFix osmclient repository used when installing 38/6938/1
garciadeblas [Wed, 21 Nov 2018 15:44:21 +0000 (16:44 +0100)]
Fix osmclient repository used when installing

Change-Id: I40dd4066ff7eba0d9e9dc1d8d6cc66b5535a5629
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoChanged default options and values in installers 15/6915/8
garciadeblas [Mon, 19 Nov 2018 13:25:13 +0000 (14:25 +0100)]
Changed default options and values in installers

Docker images will use opensourcemano/* by default

Change-Id: Iab627373d3747995d96c9c0fa5016ffdf91a9cb4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoMerge changes I95651dbd,If52f42c5
marchettim [Tue, 20 Nov 2018 20:42:58 +0000 (21:42 +0100)]
Merge changes I95651dbd,If52f42c5

* changes:
  Rename juju-charms -> charms
  An example of a multi-charm, multi-vdu VNF

5 years agoMerge "cirros test code changes for VCD"
marchettim [Tue, 20 Nov 2018 20:41:07 +0000 (21:41 +0100)]
Merge "cirros test code changes for VCD"

5 years agoMerge changes I9eb1a3e2,I212e61d2
garciadeblas [Tue, 20 Nov 2018 17:27:18 +0000 (18:27 +0100)]
Merge changes I9eb1a3e2,I212e61d2

* changes:
  Bug fix in stage 3 related to repo_base_url
  hackfest_basic_vnfd: added alternative-image for aws

5 years agoAdds N2VC dependencies to MON Dockerfile 27/6927/1
Benjamin Diaz [Tue, 20 Nov 2018 15:35:06 +0000 (12:35 -0300)]
Adds N2VC dependencies to MON Dockerfile

N2VC does not automatically install its own deps so MON (like LCM) needs to
install them. This is not ideal and needs to be fixed in the future on N2VC.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoAdds N2VC installation to MON Dockerfile 20/6920/1
Benjamin Diaz [Tue, 20 Nov 2018 12:19:27 +0000 (09:19 -0300)]
Adds N2VC installation to MON Dockerfile

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoBug fix in stage 3 related to repo_base_url 18/6918/1
garciadeblas [Mon, 19 Nov 2018 18:05:18 +0000 (19:05 +0100)]
Bug fix in stage 3 related to repo_base_url

Change-Id: I9eb1a3e2fce18575795c28c967a177adee10be79
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agohackfest_basic_vnfd: added alternative-image for aws 17/6917/1
garciadeblas [Mon, 19 Nov 2018 17:12:50 +0000 (18:12 +0100)]
hackfest_basic_vnfd: added alternative-image for aws

Change-Id: I212e61d25a092e4ee780cbb9bdc8bae3d4305bca
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoMetricbeat: removing unused metrics 13/6913/2
lavado [Sun, 18 Nov 2018 12:38:33 +0000 (07:38 -0500)]
Metricbeat: removing unused metrics

Change-Id: I8283b5e0e00cea1c1ce02198f5661ef7000dc19e
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoModifies MON Dockerfile to use commands instead of python files 10/6910/1
Benjamin Diaz [Fri, 16 Nov 2018 23:06:33 +0000 (20:06 -0300)]
Modifies MON Dockerfile to use commands instead of python files

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoMigrating from Logstash to Beats 05/6905/2
lavado [Fri, 16 Nov 2018 17:58:23 +0000 (12:58 -0500)]
Migrating from Logstash to Beats

Replacing previous logstash docker image for metricbeats and filebeats
Beats will feed Elasticsearch directly
Decreasing metricbeat logging to info level

Change-Id: I9316688e37a0a319955cf7000825246c6b398a50
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoMerge "renaming Prometheus metrics at Grafana sample dashboard"
lavado [Fri, 16 Nov 2018 17:32:09 +0000 (18:32 +0100)]
Merge "renaming Prometheus metrics at Grafana sample dashboard"

5 years agoremoved env vars host and port from lcm, nbi 01/6901/2
Juan [Fri, 16 Nov 2018 14:08:07 +0000 (11:08 -0300)]
removed env vars host and port from lcm, nbi

Change-Id: Id2a0460fc35b036471caa1e88fecf76c3b565c57
Signed-off-by: Juan <jquiroga@whitestack.com>
5 years agoAdds osm-mon-collector to install script of MON Dockerfile 89/6889/1
Benjamin Diaz [Thu, 15 Nov 2018 13:31:08 +0000 (10:31 -0300)]
Adds osm-mon-collector to install script of MON Dockerfile

Exposes port 8000 in MON Dockerfile.
Adds additional env var defaults to Dockerfile.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agorenaming Prometheus metrics at Grafana sample dashboard 88/6888/1
lavado [Thu, 15 Nov 2018 12:38:57 +0000 (07:38 -0500)]
renaming Prometheus metrics at Grafana sample dashboard

Change-Id: I7ef9f72a248412e7998d8489791d92d303c21f05
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoRename juju-charms -> charms 86/6886/2
Adam Israel [Wed, 14 Nov 2018 16:30:40 +0000 (11:30 -0500)]
Rename juju-charms -> charms

Per discussion at the previous F2F, we are renaming "juju-charms" to
simply be "charms". This makes the necessary changes across the devops
repo.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: I95651dbdbb29f9c3f9425db551642778625ea9a4

5 years agoAn example of a multi-charm, multi-vdu VNF 85/6885/1
Adam Israel [Mon, 18 Jun 2018 19:40:24 +0000 (15:40 -0400)]
An example of a multi-charm, multi-vdu VNF

These descriptors are for a multi-charm, multi-vdu vnf, using the simple
charm, to serve as a very basic example for test and development
purposes.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
5 years agoAdds generation of OSM_COMMON_DB_SECRET and passes it to NBI, MON and LCM 61/6861/3
Benjamin Diaz [Fri, 9 Nov 2018 00:07:15 +0000 (21:07 -0300)]
Adds generation of OSM_COMMON_DB_SECRET and passes it to NBI, MON and LCM

Modifies generation of random passwords by using /dev/urandom instead of date

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: I4182567834bd61da071f66255430411c23ff47fa

5 years agoReplaced VIRTIO by PARAVIRT in descriptors and tools 57/6857/2
garciadeblas [Tue, 6 Nov 2018 11:37:28 +0000 (12:37 +0100)]
Replaced VIRTIO by PARAVIRT in descriptors and tools

Change-Id: I58013f8e4652c486a849a9e1e326025398dff801
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoReordering install_lightweight to init swarm before building docker images 34/6734/12
garciadeblas [Mon, 22 Oct 2018 14:47:28 +0000 (16:47 +0200)]
Reordering install_lightweight to init swarm before building docker images

Change-Id: Id6700aa6eba58cc85d407fdce1756d01237bd298
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoosm-report: new tool that generates a report for debugging 65/6865/1
garciadeblas [Wed, 7 Nov 2018 01:02:45 +0000 (02:02 +0100)]
osm-report: new tool that generates a report for debugging

Change-Id: Ie1016026aab229ff975b19029f572b867ab24998
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoUpdated .gitignore 89/6789/5
garciadeblas [Sun, 28 Oct 2018 15:29:55 +0000 (16:29 +0100)]
Updated .gitignore

Change-Id: Ia1691e95c904170e5ec10d5f15bde06fa4319ded
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdding persistance to Prometheus 58/6858/1
lavado [Thu, 8 Nov 2018 13:22:07 +0000 (08:22 -0500)]
Adding persistance to Prometheus

Change-Id: I8467174ac3313f6939a3796499b22845f2910f54
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoMerge "Adding persistent volume to POL"
lavado [Wed, 7 Nov 2018 19:50:48 +0000 (20:50 +0100)]
Merge "Adding persistent volume to POL"

5 years agofixing Grafana composer 40/6840/1
lavado [Thu, 1 Nov 2018 20:46:31 +0000 (13:46 -0700)]
fixing Grafana composer

Change-Id: Ice20e43db75e6a4f5514c894c8531e314288902d
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoEnable stage_4 pipeline 39/6839/1
Michael Marchetti [Thu, 1 Nov 2018 20:03:00 +0000 (20:03 +0000)]
Enable stage_4 pipeline

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoValidate version breaks devops caches for stage_3 38/6838/1
Michael Marchetti [Thu, 1 Nov 2018 18:43:52 +0000 (18:43 +0000)]
Validate version breaks devops caches for stage_3

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoAdd additional health delay 37/6837/1
Michael Marchetti [Thu, 1 Nov 2018 17:12:20 +0000 (17:12 +0000)]
Add additional health delay

- update test_vnf to wait for ns to delete
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agocirros test code changes for VCD 34/6834/1
kasar [Thu, 1 Nov 2018 11:30:50 +0000 (04:30 -0700)]
cirros test code changes for VCD

Signed-off-by: kasar <pkasar@vmware.com>
5 years agoElastic, Beats & Kibana stack phase 1 33/6833/3
lavado [Thu, 1 Nov 2018 07:40:20 +0000 (00:40 -0700)]
Elastic, Beats & Kibana stack phase 1

Change-Id: If3a118684202e91aa1f6fecab6bb547ee996b6f2
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoMerge "Enhancing Grafana sample dashboard"
lavado [Thu, 1 Nov 2018 06:27:43 +0000 (07:27 +0100)]
Merge "Enhancing Grafana sample dashboard"

5 years agoIncrease vnf instantiation wait time 32/6832/1
Michael Marchetti [Thu, 1 Nov 2018 00:36:50 +0000 (00:36 +0000)]
Increase vnf instantiation wait time

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoAdd sleep after vim creation - prior to ns-create 31/6831/1
Michael Marchetti [Thu, 1 Nov 2018 00:11:01 +0000 (00:11 +0000)]
Add sleep after vim creation - prior to ns-create

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agooverride stage_archive when running stage_4 30/6830/1
Michael Marchetti [Wed, 31 Oct 2018 23:52:13 +0000 (23:52 +0000)]
override stage_archive when running stage_4

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoUpdate cirros image name to match systest 28/6828/1
Michael Marchetti [Wed, 31 Oct 2018 23:16:41 +0000 (23:16 +0000)]
Update cirros image name to match systest

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoEnhancing Grafana sample dashboard 04/6804/2
lavado [Wed, 31 Oct 2018 04:06:04 +0000 (21:06 -0700)]
Enhancing Grafana sample dashboard

Change-Id: If5d871e0c919dba5dd07179740f5f20d511ed699
Signed-off-by: lavado <glavado@whitestack.com>
5 years agoAdd openssh-client package to LCM 26/6826/2
Michael Marchetti [Wed, 31 Oct 2018 22:23:02 +0000 (22:23 +0000)]
Add openssh-client package to LCM

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
Change-Id: Ib33b9a2aba4eeac514b582eac0ed963912c14c32

5 years agoDon't save artifacts on stage_4 failure 25/6825/1
Michael Marchetti [Wed, 31 Oct 2018 22:02:49 +0000 (22:02 +0000)]
Don't save artifacts on stage_4 failure

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoAdd additional logging on failure of ns-create 23/6823/1
Michael Marchetti [Wed, 31 Oct 2018 21:32:21 +0000 (21:32 +0000)]
Add additional logging on failure of ns-create

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoAdd specific target for stage_4 20/6820/1
Michael Marchetti [Wed, 31 Oct 2018 18:03:15 +0000 (18:03 +0000)]
Add specific target for stage_4

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoAdd ability to run stage_4 systest 19/6819/1
Michael Marchetti [Wed, 31 Oct 2018 17:38:30 +0000 (17:38 +0000)]
Add ability to run stage_4 systest

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoUpdate test_vnf to support R4+ 18/6818/1
Michael Marchetti [Wed, 31 Oct 2018 16:18:25 +0000 (16:18 +0000)]
Update test_vnf to support R4+

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoLCM Dockerfile install N2VC from debian 95/6795/8
tierno [Tue, 30 Oct 2018 13:56:28 +0000 (14:56 +0100)]
LCM Dockerfile install N2VC from debian

Change-Id: I26ba97498781ff224404fc3f750385be18c00cd5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadding healthcheck to LCM 51/6751/9
tierno [Wed, 24 Oct 2018 09:02:57 +0000 (11:02 +0200)]
adding healthcheck to LCM

Change-Id: I6bee107efe96003c2eb69a271df9db28ad896379
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoUpdated light-ui Dockerfile to use new workdir 97/6797/1
garciadeblas [Mon, 29 Oct 2018 11:22:28 +0000 (12:22 +0100)]
Updated light-ui Dockerfile to use new workdir

Change-Id: I75fcd415a3cf0846c1fb2ed1a53b7ee9f935af6d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoreverting pymongo installation at gerrit: 6704. Now it is installed as a dependency... 50/6750/4
tierno [Wed, 24 Oct 2018 09:01:39 +0000 (11:01 +0200)]
reverting pymongo installation at gerrit: 6704. Now it is installed as a dependency of common

Change-Id: Id8748843e789b6c06925fb702aeeb59528e771df
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdd dependency configuration for N2VC 91/6791/1
Michael Marchetti [Mon, 29 Oct 2018 23:23:37 +0000 (00:23 +0100)]
Add dependency configuration for N2VC

Change-Id: I1a57751cd178c4d5886b394509a5f94ae8b8b0d5
Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoRemoves deps install through requirements.txt in MON 58/6658/2
Benjamin Diaz [Mon, 8 Oct 2018 20:18:57 +0000 (17:18 -0300)]
Removes deps install through requirements.txt in MON

Dependencies are now installed through a postinst script
in the debian package, so there is no need to do so manually
in the Dockerfile.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoAdds ENV declarations to MON Dockerfile and sets corresponding defaults 57/6657/2
Benjamin Diaz [Mon, 8 Oct 2018 20:16:47 +0000 (17:16 -0300)]
Adds ENV declarations to MON Dockerfile and sets corresponding defaults

MON enviromental variables were not declared in Dockerfile. It does not
change functionality, but it clarifies the env vars that are needed by
the module. The same change has been done in the source install Dockerfile
in MON repo.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
5 years agoRO Dockerfile: pip2 install pyangbind 88/6788/2
garciadeblas [Sun, 28 Oct 2018 22:44:43 +0000 (23:44 +0100)]
RO Dockerfile: pip2 install pyangbind

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