osm/devops.git
4 years agoAdd lxd-cloud and lxd-credential options in installer (-l and -L) 68/8768/6
David Garcia [Tue, 7 Apr 2020 10:59:34 +0000 (12:59 +0200)]
Add lxd-cloud and lxd-credential options in installer (-l and -L)

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

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

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

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

4 years agoSupport for optional install of PLA 32/8632/3
magnussonl [Tue, 25 Feb 2020 12:43:17 +0000 (13:43 +0100)]
Support for optional install of PLA

New construct for docker stack deploy command

Added K8s installation

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

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

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

Instructions to test this before Merge:

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

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

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

For uninstall
./install_osm.sh --uninstall

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

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

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

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

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

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

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

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

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

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

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

This reverts commit 4609eb6537f125d7c6d266ebff1a45a3a76bf902.

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

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

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

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

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

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

Change-Id: Ib639707484edbd8b4eb8f93b451c6e72c341f8a4
Signed-off-by: Francisco-Javier Ramón Salguero <javier.ramon@telefonica.com>
4 years agoMerge "Removed old code from full_install_osm.sh."
madavi [Mon, 17 Feb 2020 05:41:40 +0000 (06:41 +0100)]
Merge "Removed old code from full_install_osm.sh."

4 years agoMON migrating to ubuntu 18.04 87/8587/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 agoadjust RO plugins 81/8581/1
tierno [Fri, 20 Dec 2019 12:24:56 +0000 (12:24 +0000)]
adjust RO plugins

Change-Id: Iab291d626e2c6a70d66cdd8bede57afd4e11ef35
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 1015 LCM Dockerfile using new health check 80/8580/1
tierno [Thu, 9 Jan 2020 17:25:29 +0000 (17:25 +0000)]
Bug 1015 LCM Dockerfile using new health check

Change-Id: Iaeac6bc59c60bd37284f062a25209c50960383c1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoMerge "Fix: The vim-emu installation requires OVS to be installed on the host machine...
madavi [Fri, 7 Feb 2020 10:57:55 +0000 (11:57 +0100)]
Merge "Fix: The vim-emu installation requires OVS to be installed on the host machine. This wasn't an issue before because OVS was automatically installed as part of some other installation procedures. Now, OVS is not 'automatically there' and will cause vim-emu to not work properly after the installation."

4 years agoMerge "Robot Test: Included Test are Feature 1415 RBAC visibility of packeges and...
madavi [Fri, 7 Feb 2020 10:35:27 +0000 (11:35 +0100)]
Merge "Robot Test: Included Test are Feature 1415 RBAC visibility of packeges and instances Feature 7921 MongoDb File system Feature 8047 osmclient package creation and validation Manual VNF/VDU scaling using osmclient Feature 7326 Disable port security for ns at network level"

4 years agoFix: The vim-emu installation requires OVS to be installed 72/8572/1
peusterm [Fri, 7 Feb 2020 09:12:29 +0000 (10:12 +0100)]
Fix: The vim-emu installation requires OVS to be installed
on the host machine. This wasn't an issue before because OVS
was automatically installed as part of some other installation
procedures. Now, OVS is not 'automatically there' and will
cause vim-emu to not work properly after the installation.

Change-Id: I562bc83ee21e18bf35a175e81f900b2d2ee3fd59
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
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 agoRemoved old code from full_install_osm.sh. 48/8548/1
vijaynag [Mon, 3 Feb 2020 08:46:36 +0000 (08:46 +0000)]
Removed old code from full_install_osm.sh.

Change-Id: Iab4024132abaf7ebb32a9a4df059f2ef38ef1bc5
Signed-off-by: vijaynag <vijaynag.bs@tataelxsi.co.in>
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 agoRobot Test: Included Test are 37/8537/2
yadavmr [Thu, 30 Jan 2020 10:37:59 +0000 (16:07 +0530)]
Robot Test: Included Test are
Feature 1415 RBAC visibility of packeges and instances
Feature 7921 MongoDb File system
Feature 8047 osmclient package creation and validation
Manual VNF/VDU scaling using osmclient
Feature 7326 Disable port security for ns at network level

Change-Id: I1e936595a4af9e6c707f22c2719438310e646b35
Signed-off-by: yadavmr <my00514913@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 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 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 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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"

5 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"

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

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

5 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>
5 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>
5 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>
5 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"

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