osm/devops.git
3 years agobug(kafka): kafka deployment parsing errors with env variables 44/9144/1 v7.1.3
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 agoAdding PLA to Kafka topics 30/9130/1 v7.1.2
Felipe Vicens [Sun, 21 Jun 2020 16:58:45 +0000 (18:58 +0200)]
Adding PLA to Kafka topics

Change-Id: Ib3268d362ce43f10e81a5834389b7f974da05b28
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
3 years agoFix bug with MTU in LXD configuration 16/9116/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 agoUpdating healthcheck for kafka and zookeeper 13/9113/1
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>
(cherry picked from commit adf35b574270cb0c221d45fdc51d67b8fefb0d09)

3 years agoChanging lxd storage backend to btrfs Bug #1096 86/9086/6
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 agoChange default size of storage pool to 15GB 91/9091/3
David Garcia [Tue, 16 Jun 2020 07:58:27 +0000 (09:58 +0200)]
Change default size of storage pool to 15GB

Change-Id: I80a6801cc25003c3f7d5783853d014c509189376
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix bug 1097: added env variables to kafka container 82/9082/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 agoAdd HA option and minor fixes 90/9090/1
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 agoChange naming of Charmed Installer Parameters 42/9042/1 v7.1.0
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 agoMerge "Fix Grafana deployment over Docker Swarm" into v7.0 v7.1.0rc6
beierlm [Wed, 3 Jun 2020 17:22:13 +0000 (19:22 +0200)]
Merge "Fix Grafana deployment over Docker Swarm" into v7.0

3 years agoFix Grafana deployment over Docker Swarm 35/9035/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>
(cherry picked from commit 914aa7e56ead00b02f2a9098b5c3fba9ea85cfde)

3 years agoRO/Dockerfile: install Juniper Contrail SDN plugin 90/8990/2
garciadeblas [Thu, 28 May 2020 10:39:19 +0000 (10:39 +0000)]
RO/Dockerfile: install Juniper Contrail SDN plugin

Change-Id: If14becea4c712d53879a383deb9387c45770fbb8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix usage of external kubernetes in charmed installer 98/8998/5 v7.1.0rc5
David Garcia [Thu, 28 May 2020 16:03:25 +0000 (18:03 +0200)]
Fix usage of external kubernetes in charmed installer

When checking if the osm charms are deployed correctly, it only takes into account the case in which osm is installed in microk8s.

Change-Id: Id534a40f36a71e6bcd43fb36d0811d69e151d2de
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdded Grafana Chart to K8s based OSM. Base for being merged with k8s_monitor 86/8986/1 v7.1.0rc4
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>
(cherry picked from commit 599d5e222443f2737e110f11e13398912a7c17a7)

3 years agoChanging Juju version in Docker 67/8967/2
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>
(cherry picked from commit 40e73bfe3fc03729f439a77fb5222380f156f83f)

3 years agoFix bug 964: Duplicated dashboards. Set fixed port for Grafana 73/8973/1 v7.1.0rc3
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>
(cherry picked from commit 5bed3ad401d824ecf2ca08ff1e51b2cb2993f948)

3 years agoPin juju version to 2.8.1 and minor fixes in installer 68/8968/1
David Garcia [Tue, 26 May 2020 11:50:54 +0000 (13:50 +0200)]
Pin juju version to 2.8.1 and minor fixes in installer

Change-Id: Icc13bf72b664bad928d90e040f2ce55608dad759
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoAdd service type load balancer in external kubernetes 65/8965/1 v7.1.0rc2
David Garcia [Mon, 25 May 2020 11:55:14 +0000 (13:55 +0200)]
Add service type load balancer in external kubernetes

Change-Id: Iab47337fdd14541aa979218e061799f11fc33d29
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix bug 1072: Expose juju controller using metallb 46/8946/2
David Garcia [Wed, 20 May 2020 16:48:35 +0000 (18:48 +0200)]
Fix bug 1072: Expose juju controller using metallb

Change-Id: Iaac170c3a4d163ea07a595b15141481bb11d9c3a
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix bug 1071: Fix env variables in charmed installer overlay 44/8944/2
David Garcia [Wed, 20 May 2020 13:06:41 +0000 (15:06 +0200)]
Fix bug 1071: Fix env variables in charmed installer overlay

Change-Id: I5d6e023c76dbec23cd45dc007d0322ff85ee40e0
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoChange bootstrapping series back to xenial. 35/8935/2 v7.1.0rc1
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>
3 years agofix getting interface with default route when there are more than one 33/8933/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>
3 years agoMerge branch 'master' into v7.0 25/8925/1
beierlm [Sat, 16 May 2020 01:47:43 +0000 (21:47 -0400)]
Merge branch 'master' into v7.0

Change-Id: Iec1f1db2b2d4953e560c8e8b7be2f6ddca86edd1
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agofix 1031 install networking-l2gw before python3-osm-rovim-openstack 87/8887/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>
(cherry picked from commit c76fa28d1978ef4f22268bcc58e216632742ad5b)

4 years agoMON migrating to ubuntu 18.04 66/8566/4 v7.0.1
lavado [Wed, 5 Feb 2020 20:14:39 +0000 (12:14 -0800)]
MON migrating to ubuntu 18.04

Change-Id: I87f5744d57b7c1accf035c45755a33e25161ebfb
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoMerge branch 'master' into v7.0 60/8560/1
garciadeblas [Tue, 4 Feb 2020 21:13:26 +0000 (22:13 +0100)]
Merge branch 'master' into v7.0

* c491f45 (origin/master, origin/HEAD, master) fix 1005 adding SDN onos_vpls to RO packages
* 7bcadc5 install_osm: fix RELEASE, REPOSITORY and DOCKER_TAG vars
* 25e87d2 install_osm.sh: clean deb repos, but do not remove packages
* ae0784f Remove the old osm package at install time
* d7b6ab0 Bug 873 - Robot Automation improvement: Verify NS Instance updated as per changes in osmclient

Change-Id: I8b65de5e0d0628568de626e09d5c22ed4d135ebb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofix 1005 adding SDN onos_vpls to RO packages 50/8550/4
tierno [Mon, 3 Feb 2020 14:45:57 +0000 (14:45 +0000)]
fix 1005 adding SDN onos_vpls to RO packages

Change-Id: I05dabdfa88019f424ebf9e3d0804af487759daf5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoinstall_osm: fix RELEASE, REPOSITORY and DOCKER_TAG vars 47/8547/1
garciadeblas [Sun, 2 Feb 2020 21:40:15 +0000 (22:40 +0100)]
install_osm: fix RELEASE, REPOSITORY and DOCKER_TAG vars

Change-Id: I97893b264568f32e9ada5e6a7674c1bda7631b70
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoinstall_osm.sh: clean deb repos, but do not remove packages 46/8546/1
garciadeblas [Fri, 31 Jan 2020 13:27:29 +0000 (14:27 +0100)]
install_osm.sh: clean deb repos, but do not remove packages

The script install_osm.sh has been updated to:
- clean deb repos
- do not remove all packages
- admit all options in get opt
- capture errors for options expecting an argument

The script full_install_osm.sh has been updated to:
- order the case options in getopts as they appear in the getopts line
- capture errors for options expecting an argument

Change-Id: I53681cfddf4d6668a31646d3bce0c80e750a6d3c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoRemove the old osm package at install time 13/8513/3
madavi [Wed, 22 Jan 2020 10:59:19 +0000 (16:29 +0530)]
Remove the old osm package at install time

Change-Id: Id10db726b13f7b08ccfb87eaed08b0f1a3d20c78
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoBug 873 - Robot Automation improvement: Verify NS Instance updated as per changes... 26/8526/2
yadavmr [Mon, 27 Jan 2020 12:34:30 +0000 (18:04 +0530)]
Bug 873 - Robot Automation improvement: Verify NS Instance updated as per changes in osmclient

Change-Id: Ifd93077454a8dbd60fbfdf116c31e097b9128fd7
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoFix osmclient dependencies in installer 17/8517/1 v7.0.1rc2 v7.0.1rc3
garciadeblas [Wed, 22 Jan 2020 15:05:05 +0000 (16:05 +0100)]
Fix osmclient dependencies in installer

Change-Id: Id52d943df6dda29817e75881369dba3a0f1dc065
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix osmclient dependencies in installer 16/8516/1
garciadeblas [Wed, 22 Jan 2020 15:05:05 +0000 (16:05 +0100)]
Fix osmclient dependencies in installer

Change-Id: Id52d943df6dda29817e75881369dba3a0f1dc065
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoMerge branch 'master' into v7.0 00/8500/1
garciadeblas [Mon, 20 Jan 2020 21:43:16 +0000 (21:43 +0000)]
Merge branch 'master' into v7.0

Change-Id: I7d20be8d36a8bd4f58859f6e34638738c913373f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoLCM/Dockerfile: 18.04 base image 95/8495/1
garciadeblas [Thu, 12 Dec 2019 15:58:24 +0000 (16:58 +0100)]
LCM/Dockerfile: 18.04 base image

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

4 years agoRobot Framework Test case Contribution 39/8339/9
Ragavi D [Fri, 6 Dec 2019 10:31:07 +0000 (10:31 +0000)]
Robot Framework Test case Contribution
 1. Added Feature 7181 Test case to the Test Suite
 2. Modified the Create Network Service keyword
 3. Made changes to Create Network Service With Config keyword

Change-Id: I1d82eed6a7d78626982a299e857ee2f64347bb84
Signed-off-by: Ragavi D <ragavi.d@tataelxsi.co.in>
4 years agoFix install issue in devops, related to python-osm-im 88/8488/1
madavi [Fri, 17 Jan 2020 09:42:40 +0000 (15:12 +0530)]
Fix install issue in devops, related to python-osm-im

Change-Id: I5b5bf90f761ec9e8592cd8e6def483ad1b2d2217
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoFix bug 991: adding USER to lxd group before juju bootstrap 83/8483/1
garciadeblas [Wed, 15 Jan 2020 17:20:14 +0000 (18:20 +0100)]
Fix bug 991: adding USER to lxd group before juju bootstrap

Change-Id: Idd5d656b70890cd6bac98a652b52a92896c2ee5a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoosmclient Dockerfile: added verboselogs, ssl library used by pycurl 76/8476/1
garciadeblas [Tue, 14 Jan 2020 15:32:36 +0000 (15:32 +0000)]
osmclient Dockerfile: added verboselogs, ssl library used by pycurl

Change-Id: Ief2cfdbefbca3aa1e64c7c101175bfdd1c658f3d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoMerge "Add OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile"
madavi [Fri, 10 Jan 2020 06:18:36 +0000 (07:18 +0100)]
Merge "Add OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile"

4 years agoMerge "Bug 873: Robot Automation improvement: NS_CONFIG Provided via both 1. Using...
madavi [Fri, 10 Jan 2020 06:12:44 +0000 (07:12 +0100)]
Merge "Bug 873: Robot Automation improvement: NS_CONFIG Provided via both 1. Using Environment variable/file 2. Using Testsuit Variable"

4 years agoAdd OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile 58/8458/1
David Garcia [Wed, 8 Jan 2020 12:22:50 +0000 (13:22 +0100)]
Add OSM_SERVER and OSMUI_SQL_DATABASE_URI to Dockerfile

Change-Id: Iedef402ac49e56572c0e5be0244d4db71988f177
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agofull_install_osm.sh: parse K8s manifest files only when tag different than 7 23/8423/1
garciadeblas [Wed, 18 Dec 2019 10:10:45 +0000 (11:10 +0100)]
full_install_osm.sh: parse K8s manifest files only when tag different than 7

Change-Id: I121978b6151659c51f4bb56afb4a1719c105ddb7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoAdditional commented env variables for LCM to accelerate charm deployment 22/8422/1
garciadeblas [Wed, 18 Dec 2019 10:05:24 +0000 (11:05 +0100)]
Additional commented env variables for LCM to accelerate charm deployment

Change-Id: I4ee55143424065fabe052559cfd7544c0104cf76
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoLog rotate configuration for grafana 12/8412/2
garciadeblas [Tue, 17 Dec 2019 10:01:06 +0000 (11:01 +0100)]
Log rotate configuration for grafana

Change-Id: I0effeb043ef6d034ff46b48c5366ea60e81f838c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoBug 873: Robot Automation improvement: NS_CONFIG Provided via both 1. Using Environme... 07/8407/2
yadavmr [Mon, 16 Dec 2019 19:41:05 +0000 (01:11 +0530)]
Bug 873: Robot Automation improvement: NS_CONFIG Provided via both 1. Using Environment variable/file 2. Using Testsuit Variable

Change-Id: I762e6a6f00ec02604b588f808955bd780f679555
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoosmclient/Dockerfile: 18.04 base image, minor fixes 91/8391/8
garciadeblas [Thu, 12 Dec 2019 15:57:59 +0000 (16:57 +0100)]
osmclient/Dockerfile: 18.04 base image, minor fixes

Change-Id: I3f3fee9c5f63ff47352d89f09cc1ad2e1c08eb9f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoLCM/Dockerfile: 18.04 base image 92/8392/5
garciadeblas [Thu, 12 Dec 2019 15:58:24 +0000 (16:58 +0100)]
LCM/Dockerfile: 18.04 base image

Change-Id: I07a86d6ae1d8ae2e74a9e3518c4b9a3b1c7cda6c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agodocker tag for daily build releaseseven-daily 00/8400/1
madavi [Fri, 13 Dec 2019 13:31:52 +0000 (19:01 +0530)]
docker tag for daily build releaseseven-daily

Change-Id: I885fb84c027cfa92b5f852b8e4b4cb656512e9c6
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoFixed typo in function uninstall_k8s_monitoring 75/8375/3 v7.0.0 v7.0.1rc1
K Sai Kiran [Wed, 11 Dec 2019 09:20:09 +0000 (14:50 +0530)]
Fixed typo in function uninstall_k8s_monitoring
and kubernetes version in README k8s monitoring.

Change-Id: I8c189615b38af5fd2e8b5b380f21105385c29bdc
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
4 years agoFix iptables rules 78/8378/3
David Garcia [Wed, 11 Dec 2019 11:22:35 +0000 (12:22 +0100)]
Fix iptables rules

Change-Id: I105d2cca2083362f99293308a7290681f1bfd6f9
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoK8s manifest files updated to use docker tag 7 instead of latest 52/8352/4
garciadeblas [Mon, 9 Dec 2019 00:37:51 +0000 (01:37 +0100)]
K8s manifest files updated to use docker tag 7 instead of latest

Change-Id: I5cbec8d6c4aed6612121391254f9f7e4d8fa0e6c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix bug 965 - remove pending volumes when uninstalling 76/8376/1
garciadeblas [Wed, 11 Dec 2019 10:17:06 +0000 (11:17 +0100)]
Fix bug 965 - remove pending volumes when uninstalling

Change-Id: If29bafa9fac94557554e3acac40365e6d19bb0ce
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoInstaller and docker-compose updated to work with Rel SEVEN repo and tags 51/8351/3
garciadeblas [Mon, 9 Dec 2019 00:36:57 +0000 (01:36 +0100)]
Installer and docker-compose updated to work with Rel SEVEN repo and tags

Change-Id: I914d5517cf3f6e94e4bc96675cf6cb551e10dd0b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix bug 962: OSMLCM_VCA_PUBKEY without quotes 70/8370/1
garciadeblas [Tue, 10 Dec 2019 13:13:40 +0000 (14:13 +0100)]
Fix bug 962: OSMLCM_VCA_PUBKEY without quotes

Change-Id: Ib4bdd4586bd03116e8c67791fa7dfa5295f0e502
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoMinor fixes in full_install_osm.sh 64/8364/1
garciadeblas [Tue, 10 Dec 2019 09:49:12 +0000 (10:49 +0100)]
Minor fixes in full_install_osm.sh

Change-Id: I414ef3e1e5c76ed690522b597f3719161d6072c1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix bug 953: Fix version of cffi 55/8355/4 v7.0.0rc1
David Garcia [Mon, 9 Dec 2019 09:18:58 +0000 (10:18 +0100)]
Fix bug 953: Fix version of cffi

Change-Id: I06445defdbfffeb11fbfd450823470ca4f7847cb
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoFix error messages when installing iptables-persistent 50/8350/1
garciadeblas [Mon, 9 Dec 2019 00:24:18 +0000 (01:24 +0100)]
Fix error messages when installing iptables-persistent

Change-Id: Ib844d9a927f61fc4018d87905701564660f38ad2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoNode-exporter idempotent installation 46/8346/1
lavado [Fri, 6 Dec 2019 23:11:36 +0000 (18:11 -0500)]
Node-exporter idempotent installation

Change-Id: I99f38c28f38e1982859a38ea2d35cada0c09d74a
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoChange Ansible charm interpreter to python3 45/8345/1
lavado [Fri, 6 Dec 2019 22:53:01 +0000 (17:53 -0500)]
Change Ansible charm interpreter to python3

Change-Id: I0c1b27251f4a6dd7a8899f547cd41897c55e5570
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoFix CACERT initialization in MON devops Dockerfile 40/8340/2
lavado [Fri, 6 Dec 2019 11:54:18 +0000 (06:54 -0500)]
Fix CACERT initialization in MON devops Dockerfile

Change-Id: I8be7adf4f6e43060ffbc1fe880cd86b35954d106
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoPartial fix for bug 936 36/8336/1
Adam Israel [Thu, 5 Dec 2019 20:46:54 +0000 (15:46 -0500)]
Partial fix for bug 936

This is a partial fix for bug 936. It passes the OSM_VCA_CACERT variable into MON, to be used when initiating the legacy N2VC connection.

This required parameter was introduced by the work to use upstream libjuju.

Change-Id: Ief7fba168182f3a007d51464b3338693f6ff3755
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoAdd /snap/bin in case it is missing 42/8242/4
Dominik [Wed, 27 Nov 2019 11:15:50 +0000 (12:15 +0100)]
Add /snap/bin in case it is missing

This is a fix to bug 863
https://osm.etsi.org/bugzilla/show_bug.cgi?id=863

Change-Id: Iccbe1de7ca4a36960f450de918fcad67364b7d3d
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agoInstall Juju CLI in LCM container 02/8302/4
Adam Israel [Tue, 3 Dec 2019 15:14:06 +0000 (10:14 -0500)]
Install Juju CLI in LCM container

Installs the Juju/K8s CLI into the docker container with LCM

Change-Id: I78a3be7df47eff96332c8e7f91ef1dcefbfd73b5
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoFix MON devops build to start dashboarder service. 13/8313/4
lavado [Wed, 4 Dec 2019 11:48:47 +0000 (06:48 -0500)]
Fix MON devops build to start dashboarder service.

Change-Id: If21f56a2e3c182d29f2c9212def8055e87bbb106
Signed-off-by: lavado <glavado@whitestack.com>
4 years agofull_install_osm.sh: added cadvisor ports to osm_ports.sh 19/8319/1
garciadeblas [Wed, 4 Dec 2019 14:06:55 +0000 (15:06 +0100)]
full_install_osm.sh: added cadvisor ports to osm_ports.sh

Change-Id: I71783ce1434a06e814cc7fcab189cde1f7cfe0d8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoUninstall node_exporter when removing OSM stack 04/8304/2
lavado [Tue, 3 Dec 2019 21:19:59 +0000 (16:19 -0500)]
Uninstall node_exporter when removing OSM stack

Change-Id: I71680b2924e307738742efb69173c883662a605a
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoFix stage-archive.sh to include common folder 97/8297/1
garciadeblas [Tue, 3 Dec 2019 11:33:14 +0000 (12:33 +0100)]
Fix stage-archive.sh to include common folder

Change-Id: I10c2dc003c329ba4493a48ee218f86b4cac7c449
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoMerge "Bug 873: Robot Automation Improvement 1. Create a separate test to delete...
madavi [Tue, 3 Dec 2019 04:55:52 +0000 (05:55 +0100)]
Merge "Bug 873: Robot Automation Improvement 1. Create a separate test to delete NS instance, extracted from NS launch test 2. Include test suite to test network slicing using NST 3. Include Platform Recovery & Resiliency Test 4. Include RBAC for platform test which require to update nbi docker service that is govern by stage-3 pipeline jobs under robot test"

4 years agoFeature 7898: Helm chart and script for monitoring K8s based OSM system 97/8197/14
romeromonser [Tue, 19 Nov 2019 18:49:26 +0000 (19:49 +0100)]
Feature 7898: Helm chart and script for monitoring K8s based OSM system

Change-Id: Icc973e175b98f988d66e4bfb3d4df0081791ae91
Signed-off-by: romeromonser <garomero@indra.es>
4 years agoGrafana to OSM stack, system metrics and new exporters 69/8269/4
lavado [Fri, 29 Nov 2019 15:58:58 +0000 (10:58 -0500)]
Grafana to OSM stack, system metrics and new exporters

Change-Id: I849658d7f00fa82d360b3530e2430c2af1b19208
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoDelete Iptables rule when uninstalling 57/8257/3
Dominik Fleischmann [Fri, 29 Nov 2019 11:25:38 +0000 (12:25 +0100)]
Delete Iptables rule when uninstalling

This fix is related to bug 908.
https://osm.etsi.org/bugzilla/show_bug.cgi?id=908

Change-Id: I9798e5c498a27cc9a29af3a0e0e2ff27c4da127a
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agoBUG 906 Stage3 job cannot find updated RO package version 85/8285/1
madavi [Mon, 2 Dec 2019 11:15:19 +0000 (16:45 +0530)]
BUG 906 Stage3 job cannot find updated RO package version

Change-Id: Iee150272546e6f5aa0896aa7e43d4e264db96719
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoInstalling juju after module installation for dependencies 80/8280/3
Felipe Vicens [Sat, 30 Nov 2019 18:35:52 +0000 (19:35 +0100)]
Installing juju after module installation for dependencies

Change-Id: I651150e37b4206e0e1827e83ef6815685e4cf25c
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoFixing Python3 72/8272/2
beierl [Fri, 29 Nov 2019 19:03:21 +0000 (14:03 -0500)]
Fixing Python3

Syntax was still python2 only.

Change-Id: Ie378662686ddf49c0a31cd46ea0e660cc00c7604
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agochange method to install Juju 71/8271/1
Gianpietro Lavado [Fri, 29 Nov 2019 17:54:30 +0000 (17:54 +0000)]
change method to install Juju

Change-Id: I78ebd597f71e8357e12f55e89bba1ad582e5afe9
Signed-off-by: Gianpietro Lavado <glavado@whitestack.com>
4 years agoFix bug 902 - Added pyangbind dependency when installing osmclient 63/8263/1
garciadeblas [Fri, 29 Nov 2019 13:17:12 +0000 (14:17 +0100)]
Fix bug 902 - Added pyangbind dependency when installing osmclient

Change-Id: I4954906f715a393a07dc36cfca4d313b87b4f011
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoBug 873: Robot Automation Improvement 51/8251/1
yadavmr [Thu, 28 Nov 2019 06:31:48 +0000 (12:01 +0530)]
Bug 873: Robot Automation Improvement
1. Create a separate test to delete NS instance, extracted from NS launch test
2. Include test suite to test network slicing using NST
3. Include Platform Recovery & Resiliency Test
4. Include RBAC for platform test which require to update nbi docker service that is govern by stage-3 pipeline jobs under robot test

Change-Id: I5cd6f4fca78ad2d514b3e01aae630c083fbaf4e2
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agofull_install_osm.sh: workaround to fix osmclient dependencies with osm-im 50/8250/1
garciadeblas [Thu, 28 Nov 2019 01:19:59 +0000 (02:19 +0100)]
full_install_osm.sh: workaround to fix osmclient dependencies with osm-im

Change-Id: I8a0dcc5f4ef38ad4bc0be340fc33b8d18dda94bf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofull_install_osm.sh: install python3-osmclient and IM dependencies 45/8245/2
garciadeblas [Wed, 27 Nov 2019 14:06:06 +0000 (15:06 +0100)]
full_install_osm.sh: install python3-osmclient and IM dependencies

Change-Id: I7e9d52cdb0ae350d229283f9910b194202a4ca2e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix pyyaml dependency after new juju verson 44/8244/2
lavado [Wed, 27 Nov 2019 14:21:57 +0000 (09:21 -0500)]
Fix pyyaml dependency after new juju verson

Change-Id: Icce81ab6cd4a56e179105dd951b35907bd582fa8
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoGerrit ID: 5665 - Deploys OSM on Kubernetes. 11/7811/30
vijaynag [Thu, 25 Jul 2019 11:40:58 +0000 (17:10 +0530)]
Gerrit ID: 5665 - Deploys OSM on Kubernetes.
Run the installation script with -c k8s to deploy osm on K8s.
To Uninstall OSM deployed on Kubernetes run script with --uninstall -c k8s.
Each yaml file in osm_pods directory contains yaml definitions for pods and services.

Added license to yaml files in osm_pods.

Changed volume mounts to OSM_NAMESPACE_VOL from docker volumes.

Removes all pods and services while uninstalling.

Added namespace to deploy osm services. Deleting namespace
for uninstalling osm services.
Resolved Merge conflict with Change-7931. Changed Mongo, Kafka,
zookeeper, mysql and prometheus to statefulset.

-s <namespace> users can define namespace for k8s to deploy
osm services.

Added cluster configuration file which will be used to install k8s control plane
Addressed nodeport range issue and resolved merge conflict.

Added two yaml files to create a job for systest and robot test.

Change-Id: Iabe70fa7aed9cd638011bb92e2f300e32cff5772
Signed-off-by: vijaynag.bs <vijaynag.bs@tataelxsi.co.in>
4 years agofix path of RO/Dockerfile-local 30/8230/1
tierno [Mon, 25 Nov 2019 10:33:25 +0000 (10:33 +0000)]
fix path of RO/Dockerfile-local

Change-Id: I8bbd509fdc04964f04206b4e29bb5d627145e224
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agochange RO dockerfile to install python3 packages 24/8224/1
tierno [Sat, 23 Nov 2019 17:14:57 +0000 (17:14 +0000)]
change RO dockerfile to install python3 packages

Change-Id: If6b0e4c5edc41be6d3223bff5a3b3bebd806e2b3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoLCM/Dockerfile: updated to support K8s feature and upstream libjuju 16/8216/1
garciadeblas [Fri, 22 Nov 2019 14:28:50 +0000 (15:28 +0100)]
LCM/Dockerfile: updated to support K8s feature and upstream libjuju

Change-Id: Iab2e464152341d8c3e7a1e6d8c1ae3b643f2a495
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix bug 896 11/8211/1
garciadeblas [Fri, 22 Nov 2019 09:09:40 +0000 (10:09 +0100)]
Fix bug 896

Change-Id: I5f49bf38d6f72030d818d148e488f7d248165f67
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoMoved common from jenkins folder to devops root folder 87/8187/5
garciadeblas [Mon, 18 Nov 2019 16:24:43 +0000 (17:24 +0100)]
Moved common from jenkins folder to devops root folder

Change-Id: Ib56b840f5d91f5962daa5fd06d80eb1888617f9e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agorobot: adapt VIM test for RBAC environments 08/8208/2
lavado [Thu, 21 Nov 2019 17:57:36 +0000 (18:57 +0100)]
robot: adapt VIM test for RBAC environments

Change-Id: I2d4056b46e131311acb93416ba74009cef46e257
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoUpdate Dockerfiles to install juju module 92/8192/12
Adam Israel [Tue, 19 Nov 2019 12:05:22 +0000 (13:05 +0100)]
Update Dockerfiles to install juju module

Update the LCM and MON dockerfiles to install the upstream juju library
from pip.

Change-Id: I9dc31a852cd29c13cf04e39dfb116f9950f475fd
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoMerge "Update installer_osm.sh to be used for normal, daily and rc installations"
madavi [Wed, 20 Nov 2019 06:11:48 +0000 (07:11 +0100)]
Merge "Update installer_osm.sh to be used for normal, daily and rc installations"

4 years agoMerge "Install latest stable version of Juju"
madavi [Wed, 20 Nov 2019 05:31:27 +0000 (06:31 +0100)]
Merge "Install latest stable version of Juju"

4 years agoMerge "Update vCD 10 Compatibility"
madavi [Wed, 20 Nov 2019 05:29:45 +0000 (06:29 +0100)]
Merge "Update vCD 10 Compatibility"

4 years agoMerge "Install iptables-persistent package"
madavi [Wed, 20 Nov 2019 05:28:15 +0000 (06:28 +0100)]
Merge "Install iptables-persistent package"

4 years agoUpdate installer_osm.sh to be used for normal, daily and rc installations 86/8186/3
garciadeblas [Thu, 7 Nov 2019 15:31:23 +0000 (16:31 +0100)]
Update installer_osm.sh to be used for normal, daily and rc installations

Change-Id: Id6acd1cdafd5ca7076de6ea131cd3a806dbdab43
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofeature5837: tools/validate_descriptor.py updated to support vdu and kdu 87/8087/5
garciadeblas [Wed, 23 Oct 2019 16:20:43 +0000 (18:20 +0200)]
feature5837: tools/validate_descriptor.py updated to support vdu and kdu

Change-Id: I98dcd769e601adfef5fea740606572301edf2d5e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoAdding missing python3 packages for build in osmclient's dockerfile for jenkins 94/8194/1
yadavmr [Tue, 19 Nov 2019 12:32:23 +0000 (18:02 +0530)]
Adding missing python3 packages for build in osmclient's dockerfile for jenkins

Change-Id: I2a89209a3d936e0d108edec7cd8ce578af070cfa
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoMerge "Temp workaround for 502 error for jenkins systest"
madavi [Tue, 19 Nov 2019 09:44:35 +0000 (10:44 +0100)]
Merge "Temp workaround for 502 error for jenkins systest"

4 years agoTemp workaround for 502 error for jenkins systest 89/8189/1
madavi [Tue, 19 Nov 2019 08:30:36 +0000 (14:00 +0530)]
Temp workaround for 502 error for jenkins systest

Change-Id: Ia0ba766e6ec993ebc31481b770fad6511f854619
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoUpdate vCD 10 Compatibility 85/8185/2
beierl [Mon, 18 Nov 2019 16:26:59 +0000 (11:26 -0500)]
Update vCD 10 Compatibility

Updates API version to 32.0
Minor API changes to how catalog is searched

Bug: 891

Change-Id: Ide150396621986fab84e0240076e126730757b66
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agotools/validate_descriptor.py reconverted as python3 script 86/8086/4
garciadeblas [Wed, 23 Oct 2019 16:19:26 +0000 (18:19 +0200)]
tools/validate_descriptor.py reconverted as python3 script

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