osm/devops.git
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 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>
4 years agoDisable Robot Test 69/8169/1
yadavmr [Thu, 14 Nov 2019 09:41:28 +0000 (15:11 +0530)]
Disable Robot Test

Change-Id: Ie23a9eb27e37b624e5e215079d2a9f8f01520a66
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoRevert "Bug 883 - Disable build failure due to stage_4 robot test results" 66/8166/1
yadavmr [Thu, 14 Nov 2019 07:23:08 +0000 (08:23 +0100)]
Revert "Bug 883 - Disable build failure due to stage_4 robot test results"

This reverts commit 86bb9f6be89b225f10468bbb232cdb4c5968c144.

Change-Id: I0fb9eb2a4e410f851ab4a74329388ae6d5836bed
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoBug 883 - Disable build failure due to stage_4 robot test results 59/8159/2
yadavmr [Wed, 13 Nov 2019 06:57:07 +0000 (12:27 +0530)]
Bug 883 - Disable build failure due to stage_4 robot test results

Change-Id: I0170cd0b890c27810efc90acd15f2831b918f4bc
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoUpgrading PyYaml due to new juju package - MON devops dockerfile 50/8150/1
lavado [Tue, 12 Nov 2019 00:19:32 +0000 (19:19 -0500)]
Upgrading PyYaml due to new juju package - MON devops dockerfile

Change-Id: Id8575b8378c15f2faa59a3971d3db3a58f9b89f5
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoBug 873: Robot Automation improvement to install chrome driver only for gui test 14/8114/2
yadavmr [Tue, 5 Nov 2019 06:12:57 +0000 (11:42 +0530)]
Bug 873: Robot Automation improvement to install chrome driver only for gui test

Change-Id: If11bbb9a2f8e0b011fcdc3d16d7a6b72a035343f
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoInstall latest stable version of Juju 22/8122/1
Adam Israel [Wed, 6 Nov 2019 15:45:43 +0000 (10:45 -0500)]
Install latest stable version of Juju

Revert a previous commit to pin Juju releases to 2.5 branch. The issue that led to that has since been fixed.

Change-Id: I19522c4efcb154b6e80bbf4427ba8021386a91ee
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoInstall iptables-persistent package 21/8121/1
Adam Israel [Wed, 6 Nov 2019 15:37:25 +0000 (10:37 -0500)]
Install iptables-persistent package

Installs the iptables-persistent package in order to make iptable changes persistent across reboots.

This is necessary to allow native charms to communicate with Juju after a reboot.

Change-Id: Iacda7d36fa714991356c27a9858d4eccd77e4383
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoMerge "Bug 872: Change cirros nsd to use mgmtnet as managment vld"
madavi [Tue, 5 Nov 2019 05:12:06 +0000 (06:12 +0100)]
Merge "Bug 872: Change cirros nsd to use mgmtnet as managment vld"

4 years agoMerge "Re-enable OSMLCM_VCA_CACERT"
madavi [Tue, 5 Nov 2019 04:53:48 +0000 (05:53 +0100)]
Merge "Re-enable OSMLCM_VCA_CACERT"

4 years agoMerge "SSH improvements for Ansible"
madavi [Tue, 5 Nov 2019 04:51:32 +0000 (05:51 +0100)]
Merge "SSH improvements for Ansible"

4 years agoBug 872: Change cirros nsd to use mgmtnet as managment vld 08/8108/1
yadavmr [Fri, 1 Nov 2019 13:44:42 +0000 (19:14 +0530)]
Bug 872: Change cirros nsd to use mgmtnet as managment vld

Change-Id: Ia3035cc540b8f29f546c49203ae92fddc90f1659
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoRobot Test: Include SDNC create/delete account using osm cli 03/8103/1
yadavmr [Wed, 30 Oct 2019 11:20:20 +0000 (16:50 +0530)]
Robot Test: Include SDNC create/delete account using osm cli

Change-Id: I5f70987fd4987fc472a37355701761f8c37689b5
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoMerge "Enhance CLI NS launch with config parameter Fix ns config to check for empty...
madavi [Wed, 30 Oct 2019 09:59:50 +0000 (10:59 +0100)]
Merge "Enhance CLI NS launch with config parameter Fix ns config to check for empty osmclient test using python module included"

4 years agoRe-enable OSMLCM_VCA_CACERT 11/8011/2
Adam Israel [Wed, 2 Oct 2019 20:10:53 +0000 (16:10 -0400)]
Re-enable OSMLCM_VCA_CACERT

Re-enable the capture of the Juju CA certificate by base64-encoding it.

Change-Id: I3e16209831525d8b594549287a91b1bf4ae0f702
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoEnhance CLI NS launch with config parameter 52/7852/13
yadavmr [Wed, 18 Sep 2019 10:03:25 +0000 (15:33 +0530)]
Enhance CLI NS launch with config parameter
Fix ns config to check for empty
osmclient test using python module included

Change-Id: Ied096ed0affbd6ab58228d16916196635359d027
Signed-off-by: yadavmr <my00514913@techmahindra.com>
4 years agoNBI ubuntu 18, Fixed 77/8077/2
madavi [Wed, 23 Oct 2019 12:15:05 +0000 (17:45 +0530)]
NBI ubuntu 18, Fixed

Change-Id: Idbe7259868a1ff7868cec493fac313c6b8cef1ba
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoBug 833 GPG issue for ubuntu 18, Fixed 76/8076/1
madavi [Wed, 23 Oct 2019 10:14:10 +0000 (15:44 +0530)]
Bug 833 GPG issue for ubuntu 18, Fixed

Change-Id: Ia4e72cc8e0fa8f04e72d21f1749f36d9b8c4724a
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoMerge "Native charm support"
madavi [Wed, 23 Oct 2019 09:11:22 +0000 (11:11 +0200)]
Merge "Native charm support"

4 years agoMerge "Log policy for docker containers - 2 files 100MB"
madavi [Wed, 23 Oct 2019 09:07:56 +0000 (11:07 +0200)]
Merge "Log policy for docker containers - 2 files 100MB"

4 years agoMerge "LCM Dockerfile: run LCM as a module. Fix healthcheck timeouts"
madavi [Wed, 23 Oct 2019 09:06:27 +0000 (11:06 +0200)]
Merge "LCM Dockerfile: run LCM as a module. Fix healthcheck timeouts"

4 years agoMerge "NBI Dockerfile: change cherrypy to version 18.1.2. Run NBI as a module"
madavi [Wed, 23 Oct 2019 09:06:10 +0000 (11:06 +0200)]
Merge "NBI Dockerfile: change cherrypy to version 18.1.2. Run NBI as a module"

4 years agoMerge "full_install_osm.sh: backup previous env files before generating/updating...
madavi [Wed, 23 Oct 2019 09:03:00 +0000 (11:03 +0200)]
Merge "full_install_osm.sh: backup previous env files before generating/updating them"

4 years agoMerge "Fixes OVF converter and upload"
madavi [Tue, 22 Oct 2019 13:45:21 +0000 (15:45 +0200)]
Merge "Fixes OVF converter and upload"

4 years agoSSH improvements for Ansible 61/8061/1
beierl [Fri, 18 Oct 2019 20:48:36 +0000 (16:48 -0400)]
SSH improvements for Ansible

Adds the juju private key for ansible in case no passwords are
being used.
Adds a shortened control path in case the model name is too
long.

Change-Id: I0a5027fdaa8e20641d1a3a0841b1ba3554f825fb
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agofull_install_osm.sh: backup previous env files before generating/updating them 48/8048/1
garciadeblas [Wed, 16 Oct 2019 07:33:35 +0000 (09:33 +0200)]
full_install_osm.sh: backup previous env files before generating/updating them

Change-Id: I79a21f4a83ee54c513caceefecbf34f69b4effa4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agogenerate_descriptor_pkg.sh: improved detection of allowed files 67/7967/2 feature5837 feature7928 py3
garciadeblas [Fri, 20 Sep 2019 10:47:13 +0000 (12:47 +0200)]
generate_descriptor_pkg.sh: improved detection of allowed files

This change introduces a new check for other allowed files, as long
as its name is defined in ALLOWED_FILES_WILDCARDS. For instance, with
this change, README can now be README.txt, README.md, README.rst, etc.

Change-Id: Ia9a0bfb455b08fd5a8a924508f5611de57754454
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFixes OVF converter and upload 24/8024/4
beierl [Mon, 7 Oct 2019 17:09:24 +0000 (13:09 -0400)]
Fixes OVF converter and upload

Adds the ability to specify hardware version
Defaults hardware version to 14 for compatibility
Displays list of OS types in help
Adds a working vCD upload
Adds simple usage file
Cleans up installation path

Bug 850

Change-Id: I1f4658e48869149c523a80401487e3e6c25dc809
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoAdding the git fetch to avoid build failure at git describe 19/8019/1
madavi [Fri, 4 Oct 2019 12:17:50 +0000 (17:47 +0530)]
Adding the git fetch to avoid build failure at git describe

Change-Id: I1aa2bdb8e2ceebb366d756ebb0e838b761fd26b5
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoNative charm support 04/7904/11
Adam Israel [Tue, 3 Sep 2019 22:11:12 +0000 (18:11 -0400)]
Native charm support

This commit adds an API Proxy env variable to __lcm__.env, in order to
enable native charm support in OSM.

The default behavior is to automatically detect the IP of the primary
interface. This can be overridden with the -A flag.

Change-Id: I172ce4f7bb76f67ae9fb8918cdd5a10c93fa3b8a
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agovalidate_descriptor.py: new option for validate charms 66/7966/1
garciadeblas [Fri, 20 Sep 2019 07:10:52 +0000 (09:10 +0200)]
validate_descriptor.py: new option for validate charms

Default behaviour is NOT to validate whether the charm is in the folder.
The rationale is that this tool is intended to validate only the descriptor,
not the package. Validating the package requires more aspects to be
taken into account, not only the charm
Moreover, in a CICD for a VNF vendor, charms can be created and tested
independently from the descriptors and only be merged in the same folder
in the last step.

Change-Id: I33aa986493931df463fa8f9d2c6cda2e4be45cf9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agogenerate_descriptor_pkg.sh: fix bug in validation to use the right file 58/7958/2
garciadeblas [Tue, 17 Sep 2019 08:26:19 +0000 (10:26 +0200)]
generate_descriptor_pkg.sh: fix bug in validation to use the right file

Change-Id: I5849c0d40960b43d266b1c6077a36bc563026144
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoLog policy for docker containers - 2 files 100MB 19/7819/3
calvinosanch [Tue, 30 Jul 2019 07:11:56 +0000 (07:11 +0000)]
Log policy for docker containers - 2 files 100MB

Change-Id: I3dfb36ced68ccd0d95c5d2f0bfc725e9629675a2
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
4 years agosyntax error rectify 62/7962/1
madavi [Wed, 18 Sep 2019 10:03:25 +0000 (15:33 +0530)]
syntax error rectify

Change-Id: Ie339e998d7f9acd83d031398575d432ab2d88ee8
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agoScript to cache Juju LXC images 56/7956/2
Adam Israel [Mon, 16 Sep 2019 14:19:48 +0000 (10:19 -0400)]
Script to cache Juju LXC images

This script is needed by Gerrit 7836, in order to cache the LXC images
optimized for faster deployment of charms.

Change-Id: I8e46110d9d3de8eda17b06da8b26adad33cb9124
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoLCM Dockerfile: run LCM as a module. Fix healthcheck timeouts 55/7955/1
tierno [Fri, 13 Sep 2019 13:19:48 +0000 (13:19 +0000)]
LCM Dockerfile: run LCM as a module. Fix healthcheck timeouts

Change-Id: I13da267f5cbaf4201d6a753a76d0ea05560f3dd3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoNBI Dockerfile: change cherrypy to version 18.1.2. Run NBI as a module 54/7954/1
tierno [Fri, 13 Sep 2019 12:57:35 +0000 (12:57 +0000)]
NBI Dockerfile: change cherrypy to version 18.1.2. Run NBI as a module

Change-Id: I80109e668590ed6318f3711473f6b0c7f58bc55c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoRemove license check from Merge job 45/7945/8
madavi [Thu, 12 Sep 2019 12:05:17 +0000 (17:35 +0530)]
Remove license check from Merge job

Change-Id: Ie6d6ee1f4a05eab80cb7bf76b18849f5226c7c37
Signed-off-by: madavi <jm00553988@techmahindra.com>
4 years agofull_install_osm.sh: fix typo in hyperlink for README2 41/7941/1
garciadeblas [Tue, 10 Sep 2019 19:08:21 +0000 (21:08 +0200)]
full_install_osm.sh: fix typo in hyperlink for README2

Change-Id: I9f30077cbf470e415141cd5d1d5f528628df7f99
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoMerge "tools/osm-report: fix getting deb packages in dockers"
garciadeblas [Tue, 10 Sep 2019 15:30:21 +0000 (17:30 +0200)]
Merge "tools/osm-report: fix getting deb packages in dockers"

4 years agoMerge "full_install_osm.sh: updated retrieval of README files"
garciadeblas [Tue, 10 Sep 2019 15:30:08 +0000 (17:30 +0200)]
Merge "full_install_osm.sh: updated retrieval of README files"

4 years agoMerge "Remove OSMLCM_VCA_CACERT"
madavi [Tue, 10 Sep 2019 11:16:39 +0000 (13:16 +0200)]
Merge "Remove OSMLCM_VCA_CACERT"

4 years agoMerge "RO, NBI, LCM and osmclient: Update pip to latest version"
madavi [Tue, 10 Sep 2019 09:32:34 +0000 (11:32 +0200)]
Merge "RO, NBI, LCM and osmclient: Update pip to latest version"

4 years agotools/osm-report: fix getting deb packages in dockers 34/7934/1
garciadeblas [Thu, 27 Jun 2019 14:44:18 +0000 (16:44 +0200)]
tools/osm-report: fix getting deb packages in dockers

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