David Garcia [Wed, 17 Mar 2021 14:28:47 +0000 (15:28 +0100)]
Fix 1473 and add vca_model_config_* to lcm charm
Changes in all operator charms:
- Optimize deps for tox environments
- Add import-order-style to flake8
- Optimize .jujuignore to reduce the size of charm artifacts
OSM LCM charm:
- Added vca_model_config_* options
Added bundle example for using a bundle
Updated the bundles and pin the new versions in the installer
Change-Id: Ic6591354fa5d1b5f43383215b2f0df13eb28ce67
Signed-off-by: David Garcia <david.garcia@canonical.com>
calvinosanc1 [Mon, 15 Mar 2021 11:20:33 +0000 (12:20 +0100)]
Change Charmed OSM bundles descriptions
Change-Id: Ic540680914a2559c418d653e7466833a75e3f8b2
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
calvinosanc1 [Mon, 8 Mar 2021 14:20:07 +0000 (15:20 +0100)]
Adding MON relation to Keystone for charmed OSM
Change-Id: Icc81251002736a4e25579f42500a5a8f6b3fe74a
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
limon [Thu, 4 Mar 2021 12:43:09 +0000 (13:43 +0100)]
Configure keystone service password on MON env variables
Change-Id: I04553aa703d2f4106d5bbf5585bec9ab2e202249
Signed-off-by: limon <alimonj@indra.es>
sousaedu [Mon, 8 Mar 2021 00:15:41 +0000 (01:15 +0100)]
Fixing System Dashboards for Charmed OSM
Change-Id: I53f8acf12a284f2479d79f614fb1ee9afcfde618
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Wed, 24 Feb 2021 12:48:22 +0000 (13:48 +0100)]
Major improvement in OSM charms
- Adapt all new operator charms to use the same pattern. They are all
using now this library that encapsulates the common logic for all
charms: https://github.com/davigar15/ops-lib-charmed-osm. That will be
eventually moved to gitlab, when it has a PyPI repository available
- Add unit tests to all charms
- Modify installer and bundles to point to the new charms
- Improve the build.sh script for building the charms
Change-Id: I0896ceb082d1b6a76b3560c07482a4135a220a3f
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 4 Mar 2021 21:16:53 +0000 (16:16 -0500)]
Remove PyYaml apt package
NBI is not building with PyYAML from apt, need to prefer the version from
pip instad.
Change-Id: Ie2bbf3a9c1dde60b8876f3bd2063dc1649f4904b
Signed-off-by: beierlm <mark.beierl@canonical.com>
palsus [Thu, 25 Feb 2021 20:16:19 +0000 (20:16 +0000)]
Ubuntu version updated to 20.04
Change-Id: I03dffeb5f1934828f0f8d85760a0b396373ae082
Signed-off-by: palsus <subhankar.pal@aricent.com>
David Garcia [Mon, 8 Feb 2021 14:18:27 +0000 (15:18 +0100)]
Fix minor issue with permissions in Charmed Installer
Change-Id: I53068cdbfd15e357d25cb18c2c5435a69601824f
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Fri, 15 Jan 2021 11:58:59 +0000 (12:58 +0100)]
Several fixes to the charmed installer
- fix bug 1394: update images defining a default TAG (=9)
- fix bug 1401: add --advertise-address option to kube-apiserver in
microk8s
- fix bug 1405
- fix bug 1406: pin the version of the osmclient snap. Add the logic to
install/refresh the snap to the proper version. Add channel preference
(stable -> candidate -> beta -> edge), so the installers tries first
with stable, but if it does not exist, then tries with candidate, etc.
Change-Id: I02edaaeed81e3b06ed328e81ecab2bf71d42c628
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit
b50dabe0ff0ba74ec6fa9566fc1e509e6866c1e4)
garciadeblas [Tue, 2 Mar 2021 17:21:36 +0000 (17:21 +0000)]
Added CACHE_DATE arg to force recreating the docker layer during docker build of tests image
Change-Id: Icbe3c76be7618c557b461227c61463cfcc34d0ac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Wed, 3 Feb 2021 10:10:28 +0000 (11:10 +0100)]
Add tox tests for osm charms in devops
Change-Id: Ibbf1154e514bf8a91ed6d19b6bbf5fce0079da0c
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Tue, 2 Mar 2021 11:20:14 +0000 (12:20 +0100)]
Minor fix to charmed installer. Expose OSM_HOSTNAME properly
Change-Id: I585eb7f490099fc9a86d072ab8e9a4b40ee378b9
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Thu, 25 Feb 2021 20:32:25 +0000 (21:32 +0100)]
Adding scraping relation to Mongodb Exporter
Change-Id: Ia96b29a9c7373254cde77ca708d069d3681b1386
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Thu, 25 Feb 2021 22:24:47 +0000 (23:24 +0100)]
Adding scraping relation to Kafka Exporter
Change-Id: Iea3c8f39f8a90fb4e287b074bf06f1042b71857c
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Fri, 12 Feb 2021 16:32:45 +0000 (17:32 +0100)]
Changes to mariadb charm
- Modify metadata to fit the requirements of CharmHub
- Improve the description of the actions
- Change SVG icon
- Improve the README
Credit goes to Tom Haddon, that actually did the commit in lp, in a repo
that is no longer maintained and will be soon removed
Change-Id: Ic011d6b4d9cf07e5ef02a0e1ecead3ffdfbc3a45
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Mon, 8 Feb 2021 01:14:48 +0000 (02:14 +0100)]
Adding Prometheus Mysqld Exporter Charm
Change-Id: I4f4d99613b5cdb04c450359bc8beff52ffe8cec4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Mon, 16 Nov 2020 14:40:14 +0000 (14:40 +0000)]
Adding Prometheus Kafka Exporter Charm
Change-Id: Ibfe71c17ab17e6f8fdf4d6117edc58de61891356
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
fonsecaj [Fri, 12 Feb 2021 16:15:00 +0000 (17:15 +0100)]
Python Version update
Change-Id: I4d3f97fadba047586949c1bdf4e15c1e7043b3f0
Author: João Fonseca <jpedrofonseca@av.it.pt>
Committer: João Fonseca <jpedrofonseca@av.it.pt>
Signed-off-by: João Fonseca <jpedrofonseca@av.it.pt>
sousaedu [Mon, 8 Feb 2021 12:34:21 +0000 (13:34 +0100)]
Adding Prometheus Mongodb Exporter Charm
Change-Id: I6d157a79f8ae6be2a5675692c72eeceb796d42e8
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Tue, 23 Feb 2021 16:37:01 +0000 (11:37 -0500)]
Change VM Size
Changes flavor to a sanity constant so we can tailor it without
needing further code changes.
Change-Id: Ife5d2e84dce09d126e7f16c660c47b629833094c
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Fri, 19 Feb 2021 14:34:57 +0000 (09:34 -0500)]
Correct Docker Proxy Syntax
Updates the syntax for managing the docker proxy so we can avoid
the rate limit issue
Change-Id: I29f9da9f7b3af57dd1614ded595d463c4ef14f9e
Signed-off-by: beierlm <mark.beierl@canonical.com>
João Fonseca [Tue, 16 Feb 2021 14:05:01 +0000 (14:05 +0000)]
docker/PLA/Dockerfile: Avoid waiting for user input during APT installs
Change-Id: I98d5abf877641c80de99ea93e2584c8908ed12b8
Signed-off-by: João Fonseca <jpedrofonseca@av.it.pt>
fonsecaj [Thu, 11 Feb 2021 13:08:52 +0000 (14:08 +0100)]
Fixes Bug 1275 NBI Dockerfile Update
Author: João Fonseca <jpedrofonseca@av.it.pt>
Committer: João Fonseca <jpedrofonseca@av.it.pt>
Change-Id: Iae14ab5be983188af0616cfbf238362781aea6b1
Signed-off-by: João Fonseca <jpedrofonseca@av.it.pt>
João Fonseca [Mon, 15 Feb 2021 15:57:51 +0000 (15:57 +0000)]
Fixes 1436 - docker/tests/Dockerfile: cryptography dependencies
Change-Id: I1c3fad357012407285e5ada403916b829312cd97
Signed-off-by: João Fonseca <jpedrofonseca@av.it.pt>
sousaedu [Tue, 9 Feb 2021 13:39:12 +0000 (14:39 +0100)]
Unbuffered stdout/stderr for RO
Change-Id: I84cd18d5c2d8c09557e8030c6a97e01750f0f760
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
João Fonseca [Mon, 8 Feb 2021 22:19:19 +0000 (22:19 +0000)]
Fixes Bug 1436- Python3-Cryptography dependencies updated
Change-Id: I533d54312c389c6c0cadf435b5eee3bf4a52ff67
Signed-off-by: João Fonseca <jpedrofonseca@av.it.pt>
João Fonseca [Mon, 8 Feb 2021 19:56:26 +0000 (19:56 +0000)]
Fixes Bug 1275- aiokafka version updated
Change-Id: I0b3d5615b072ab8d5df3d7d69a886775ca7ef3e2
Signed-off-by: João Fonseca <jpedrofonseca@av.it.pt>
fonsecaj [Wed, 3 Feb 2021 10:27:58 +0000 (10:27 +0000)]
Fixes Bug 1429: Add a different way to install nodejs
Change-Id: Ica1150cb1f85e9706d2259904fd5ddc483b48754
Signed-off-by: fonsecaj <jpedrofonseca@av.it.pt>
(cherry picked from commit
988b7868af92877714dab49ff9d877f55569d39e)
David Garcia [Fri, 29 Jan 2021 12:27:22 +0000 (13:27 +0100)]
Add enable_web_admin_api config to prometheus charm
Unit tests fixed
Change-Id: I8400794918780f929ad7612f72d477d37aee1b74
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Thu, 28 Jan 2021 12:21:54 +0000 (13:21 +0100)]
Adding OSM Monitoring dashboards to Grafana charm
Change-Id: Idb9b552d799181623aa48110a083439d808fd0b3
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 26 Jan 2021 11:58:25 +0000 (12:58 +0100)]
Refactoring Grafana Charm to use Operator Framework
Change-Id: Ic792da3ab197784a1d9239ccd8fd9b28c1489a4a
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Wed, 27 Jan 2021 11:58:12 +0000 (11:58 +0000)]
stage3: do not keep container on fail
Change-Id: I97ee6d03e4e3d233988b035419994e115dd57128
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
sousaedu [Tue, 26 Jan 2021 15:30:25 +0000 (16:30 +0100)]
Fix ConfigMap for Prometheus Charm
Change-Id: I340d65d50daa3dd40baf2123b7655bba9ed66fd5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Fri, 15 Jan 2021 16:50:26 +0000 (16:50 +0000)]
Refactoring Prometheus Charm to use Operator Framework
Change-Id: Ib1b33bd5e6b91d2689a7c3abdfd834de20ceed88
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Fri, 22 Jan 2021 18:20:35 +0000 (13:20 -0500)]
Snap promotion fix
Changes snapcraft to run directly on host instead of in docker
continer. This adds the requirement to have snapcraft installed
in the Jenkins agent, but is more reliable as the snapcraft docker
image is not the best practice anymore for building snaps.
Change-Id: I78a9d12d1c6e054f0fe886ccfe08472309100d0f
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Wed, 20 Jan 2021 16:14:58 +0000 (16:14 +0000)]
Adding MariaDB charm
Change-Id: I7b3290ca9d9fdb0c3b9521f8d12c4ba76ddcbbcb
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Wed, 20 Jan 2021 16:09:48 +0000 (16:09 +0000)]
Adding MongoDB charm
Change-Id: I23d491617525601587633d8338e09bcb9473f542
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Wed, 16 Dec 2020 16:05:34 +0000 (16:05 +0000)]
ci_stage_1.groovy: clean-up indentation
Change-Id: I0745dc2e4dfd94b17b2403542e2aae3023530bb8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 18 Jan 2021 17:56:32 +0000 (17:56 +0000)]
full_install_osm.sh: minor fix in dump_vars
Change-Id: If2bef42df8b2fe8765c54164410ec86e8ecd7a69
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 15 Jan 2021 11:37:49 +0000 (11:37 +0000)]
Fix bug 1404: helm2 initialization with new stable repo URL
Change-Id: I30e5a84002c2f5675f0f0403ddaef2383980296f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 21 Dec 2020 11:50:36 +0000 (11:50 +0000)]
Fix installation to use 9 tag as default for docker images
Change-Id: Ia0bed5627301fa7bbcaa5a5229ea9138f70d2d92
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 17 Dec 2020 21:48:24 +0000 (21:48 +0000)]
full_install_osm.sh: fixes for docker proxy and docker tag for PLA
Change-Id: I272668b9461d3ccd1fc6509fa61dfd1765d824f5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Tue, 19 Jan 2021 15:02:22 +0000 (10:02 -0500)]
Ensure clean snap
Issues a snapcraft clean to make sure there is nothing
left from any prior runs of the build.
Change-Id: I42109d8b4a750c0a4732afcf127cc407e6956ec9
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Mon, 18 Jan 2021 17:53:28 +0000 (17:53 +0000)]
Fixing kafka_port validation in RO charm
Change-Id: I5d7ea4ecd3f45e901d0da431e386580f5c49611c
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 19 Jan 2021 11:32:39 +0000 (11:32 +0000)]
Adding Zookeeper charm
Change-Id: I86d907be64fc4c7bee4a6f118fea0be30e606927
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Fri, 15 Jan 2021 16:09:15 +0000 (11:09 -0500)]
Bug 1409
Update the snapcraft dockerfile to ensure we use the latest on
each build.
Fixes Bug 1409
Change-Id: I762f46b82c6a6c1924560b4cfda4cfe7a416ccb3
Signed-off-by: beierlm <mark.beierl@canonical.com>
palsus [Mon, 18 Jan 2021 08:36:26 +0000 (08:36 +0000)]
Fix for Bug 1397: Inconsistent behaviour between MON image in dockerhub and MON image built from git repo
Change-Id: I8f66786134cf08d91a70b9da7ddfbb1a5ca03800
Signed-off-by: palsus <subhankar.pal@aricent.com>
sousaedu [Mon, 18 Jan 2021 12:27:42 +0000 (12:27 +0000)]
Adding Kafka charm
Change-Id: Ie1e55c79d5cab9bd51bed91f378abce37f31218b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Fri, 15 Jan 2021 18:41:15 +0000 (18:41 +0000)]
Adding Grafana charm
Change-Id: I07f1861c5b42acc8459daa6351a17c72dc2ca2f3
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Fri, 15 Jan 2021 16:59:14 +0000 (16:59 +0000)]
Adding Prometheus charm
Change-Id: Ib17db114e32c2cbaaa89474e92890263f705e0e5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
calvinosanc1 [Mon, 4 Jan 2021 10:42:18 +0000 (11:42 +0100)]
Fix 1391: New version of yq snap makes charmed installer to fail
Change-Id: I111fe3e213002d428c21bb18f81f7d1abe8a6c7c
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
Antonio Marsico [Mon, 21 Dec 2020 16:29:42 +0000 (17:29 +0100)]
Ansible installer update
* Moved Ansible to version 2.10
* Python Virtual env
* New option to use a custom SSH key
* Use of cloud-init file supported
* Increased the number of options to be passed to the remote installer
Change-Id: I70131f1a24707656c9390445df91d17abab95763
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
sousaedu [Wed, 4 Nov 2020 21:44:01 +0000 (21:44 +0000)]
Refactoring RO Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in ro-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: Ia97de802aec2c4e10a1d2c86ba2515d3f17f55af
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
rodriguezgar [Thu, 31 Dec 2020 12:36:06 +0000 (13:36 +0100)]
Bug 1389 fixed. Added --stable-repo-url https://charts.helm.sh/stable to helm init and changed ligut-ui to ng-ui and mongodb to mongodb-k8s
Change-Id: I91b69084ef49cdd27890cea9c5f8baea373f612f
Signed-off-by: rodriguezgar <frodriguezg@indra.es>
tierno [Thu, 17 Dec 2020 15:35:15 +0000 (15:35 +0000)]
change docker/RO include osm-common and remove not used osm-im old RO
Change-Id: I3a858b54ac7d82a0263b795b200e24a9379902f3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
sousaedu [Tue, 5 Jan 2021 15:42:40 +0000 (15:42 +0000)]
Moving charms to use latest stable release container image
Change-Id: I92897515d7c8843bb619080cecee3b3c2aedb976
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 5 Jan 2021 15:25:10 +0000 (15:25 +0000)]
Removing pydantic from POL charm
Change-Id: I0c8a7cac50f7f81f61fb151d8166846cf4c4fd18
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 5 Jan 2021 14:39:30 +0000 (14:39 +0000)]
Removing pydantic from MON charm
Change-Id: Ice1c19c142f16ad8af6b9bc2ac20295f3b5215b9
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 5 Jan 2021 14:25:19 +0000 (14:25 +0000)]
Removing pydantic from LCM charm
Change-Id: I08e4acff8b84f4f9a36846cc0f7973d06c4abc1c
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 5 Jan 2021 14:58:49 +0000 (14:58 +0000)]
Passing data only through unit relation data
The data between apps should only be passed through
the unit relation data.
The unit tests have also been updated.
Change-Id: Id5467922c3217c84ff1d7bbcdbe7d2a1caba19dd
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Thu, 17 Dec 2020 16:17:35 +0000 (17:17 +0100)]
Fix k8s-based installer to be run on a VM in the stage3
Change-Id: I20183be13b3b4b3af8bc5158b1beb9842654c26c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 17 Dec 2020 15:16:53 +0000 (16:16 +0100)]
Adding timestamps to kubectl logs in stage3
Change-Id: I0ac9f519dcf0dbc28aa5ca14325d3d19528ee283
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 17 Dec 2020 10:47:59 +0000 (10:47 +0000)]
Update scripts/start.sh from MON repo
Change-Id: Ia22d953234da67291fa396ef8ebef4640fcc597f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Wed, 16 Dec 2020 16:25:15 +0000 (17:25 +0100)]
Fix bugs and pin osm bundles
Keystone charm (bug 1378): Improve the way we handle the relation data from the database
relation
Ro charm (bug 1379): Fix the status of the non-leader units
Ng-ui (bug 1380): Fix the nbi-relation-changed hook for the non-leader
units
Installer: Pin the version of the OSM bundles
Change-Id: Ied07c964b1c85b1c534916eb4b30fd6bc87287a6
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Wed, 16 Dec 2020 22:03:17 +0000 (22:03 +0000)]
Fix osm_health for the default installation
Change-Id: Idd5198f3a3ea1605742342379ac9a5b071c6d9af
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 16 Dec 2020 18:25:48 +0000 (13:25 -0500)]
Allocate PTY
Change ssh to allocate a PTY so that lxc commands can
read from STDIN over ssh connection.
Change-Id: I4fb74880ca498431679212f40dd60ef3c39a6a00
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Wed, 16 Dec 2020 18:03:10 +0000 (19:03 +0100)]
Added docker login before pulling, to pull images from internal registry
Change-Id: Ice7a4573200d7c8de19f08dadbc60371cab3534c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 16 Dec 2020 13:46:40 +0000 (08:46 -0500)]
Fixes bug 1377
Adds the system VIM and k8s cluster the same way that the
k8s installer does.
Change-Id: I11ad41c35f11467c51f0edc2aba4b3cb5e048823
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Wed, 16 Dec 2020 17:32:32 +0000 (18:32 +0100)]
removing zfs install from install_juju
Change-Id: I8710829669dd9e27f06df23c0e55d012ad549cfe
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 30 Nov 2020 14:07:03 +0000 (14:07 +0000)]
Updates in CI pipeline and installer for the new pipeline: registry and proxy url, different docker tag for specific modules
Change-Id: Id434332fd1e051d9888bb35bf03ace974cd14bbc
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 6 Jul 2020 15:37:59 +0000 (15:37 +0000)]
Default installation with K8s instead of swarm
Change-Id: I5b934ced7024e3d926cec865a8a38219454956a4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 15 Dec 2020 00:32:13 +0000 (00:32 +0000)]
Installer and pipelines updates for Rel NINE
Change-Id: I86786dc85eda0f717dac75049f7136bc668449d7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 16 Dec 2020 10:20:56 +0000 (05:20 -0500)]
Adds JUJU_PASSWORD
Fetches the current juju password from the target installation
and passes that to the robot test container for use in
Basic 12 - NS Primitives.
Change-Id: I72d2af5179a29b86c076fb9e6dad7f22e31aa859
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 16 Dec 2020 12:13:20 +0000 (13:13 +0100)]
Change yq to snap
Change-Id: I462edbd5c7f0a6deb6c4baab0cb2ac0714aa4698
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 10 Dec 2020 20:16:12 +0000 (21:16 +0100)]
Migrate to new NBI charm, and change in NGUI charm
- Fixes bug 1365
- Changes in the installer:
- use site_url config to expose both NBI and NG-UI
- use resources for images
- Changes in the NBI: some minor fixes
- Changes in the NG-UI: follow the same pattern as in the new set of
charms
Change-Id: I6a11009ddf9cd22689602b2a53ecf67f376830cb
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Tue, 15 Dec 2020 16:25:01 +0000 (17:25 +0100)]
Pin osm bundle in charmed installer
Change-Id: I4777fa038ceb2624a20a6bd182f14b5546b58d59
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Tue, 15 Dec 2020 14:21:40 +0000 (09:21 -0500)]
Use osm-packages master
Removes the checkout of the sol006 branch as it is
now merged to mater in osm-packages.
Change-Id: Iaff35776c8d867be137cc470e3e4c564b0123ad8
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Sat, 14 Nov 2020 23:06:42 +0000 (23:06 +0000)]
install_osm.sh: fix usage function to provide same output as in full_install
Change-Id: I915baa0e722d0b0066f5cd3cb0b42b31c3352991
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Thu, 10 Dec 2020 20:22:15 +0000 (15:22 -0500)]
Simpler license scan
Removes the post to Fossology to simply check for the
Apache 2 license text
Change-Id: I455149474d86c85cbd3dbb0af6dbe660b599ffee
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Mon, 14 Dec 2020 14:59:19 +0000 (09:59 -0500)]
Pin MicroK8s version
Pins Microk8s to 1.19
Change-Id: Ic21f1774cb7c3d8fc6362f6a4a0b95bf4f3e5e73
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Thu, 10 Dec 2020 01:22:09 +0000 (01:22 +0000)]
Removing pydantic from NBI charm
Change-Id: I725aabf1da99751dae0812305e01d92b801653ee
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Fri, 4 Dec 2020 16:32:25 +0000 (11:32 -0500)]
Additional arguments
Adds the IM_VERSION and OSMCLIENT_VERSION arguments so that the
docker build uses them.
Change-Id: Ie7dfc6aba850b534d45ef7b997606a18ab1cf748
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Fri, 16 Oct 2020 11:56:38 +0000 (11:56 +0000)]
full_install_osm.sh: ng-ui as default UI
Change-Id: Iab3b93fdfe7d1f556e2c0777c8a84e0a6a83384f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 16 Oct 2020 11:53:38 +0000 (11:53 +0000)]
keystone.env: added env variables for LDAP configuration
Change-Id: Ic0375e20c96eebee00d6c7ae36b6c949ba6ca514
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 2 Dec 2020 12:30:54 +0000 (12:30 +0000)]
Using sol006 branch for the OSM packages
Change-Id: Idf619e61e4a22a46c4c18d840ec559d4a811f147
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 2 Dec 2020 11:43:07 +0000 (06:43 -0500)]
Install from APT repo
Changes the build so that it will install the osmclient from the
locally created apt repository instead of attempting to build it
again from the git sources.
Change-Id: Id096ae2343811b26e96ec1f9313d45ad69a9a68f
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Mon, 30 Nov 2020 15:29:54 +0000 (16:29 +0100)]
Fix ro-k8s charm to include commonkey
Change-Id: I869b09709585c0cd1cbdd067d6837c94348872b6
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Sun, 29 Nov 2020 13:16:00 +0000 (08:16 -0500)]
Install from edge
Changes the charmed_installer so that it deploys from edge channel
on master.
Change-Id: I41af6dc29ddd813e1538f14d83a4bdc8ec9387e7
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Sat, 28 Nov 2020 13:41:22 +0000 (14:41 +0100)]
Update RO charm for the newRO and update bundle
- Add kafka and mongo relations
- Remove ui-k8s from bundle
- Add new RO relations
Change-Id: I9d68cab33dd262408b8023d58e54b0be8dc024c6
Signed-off-by: David Garcia <david.garcia@canonical.com>
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Sat, 28 Nov 2020 13:38:35 +0000 (14:38 +0100)]
Revert "change charm installation for the New generation RO"
This reverts commit
a578d7154146a7b80c4e07fc9c07d107c89cbadb.
Change-Id: I84e3765b8b05942a8aec6f3b752555a61ee73e77
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Wed, 25 Nov 2020 13:25:08 +0000 (13:25 +0000)]
change charm installation for the New generation RO
Change-Id: I4d22a6e87061858ff99b44b81c3667a88e007d4e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 25 Nov 2020 13:16:51 +0000 (13:16 +0000)]
Feature sol006 and 7184: Set new generation RO as default
New Generation RO uses kafka, mongo
It manages OSMRO_ variables
Change-Id: I93c898d603af3534a5e5daf57a01fdff6f59f9fe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Thu, 12 Nov 2020 15:56:29 +0000 (16:56 +0100)]
Use FSMongo as the default FS in NBI and LCM
Change-Id: I49fa01dd3ba625a64a5a61b42c5f8cab027330ed
Signed-off-by: David Garcia <david.garcia@canonical.com>
ramonsalguer [Thu, 26 Nov 2020 09:29:26 +0000 (10:29 +0100)]
Fix 1264: Vagrant images for v8.x
Change-Id: I4d91c4f2b032a06a44f9efee99bb414c5f3b0702
Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
beierlm [Thu, 19 Nov 2020 16:39:36 +0000 (11:39 -0500)]
Run stage_3 install in new VM
Adds a parameter for installer to use in test.
Adds prometheus port to robot test script.
Adds hostname mapping file for robot container to avoid
use of xip.io as it can sometimes fail
Wraps execution of robot container in try block so we
can collect log files even if it fails.
Changes collection of container logs to use SSH and
SCP to pull logs back to Jenkins for archival.
Changes the Apache HTTPD to run on a specific port so
remote VM can access it.
After docker build, Pushes docker images to GitLab
at osm.etsi.org:5050/cicd/devops
Launches new VM in ETSI VIM to run the installer.
Changes install to use officially published installer
from osm-download.etsi.org.
Runs installer in new VM using images from GitLab.
Sets K8s cluster to dockerhub images from internal
OSM1 dockerhub proxy.
Changes cleanup to remove VM instead of uninstalling OSM.
Ensures HTTP server is removed on job completion.
Change makefile to use a registry for push if supplied.
Change-Id: I430173fb0b01720fa29fd971f924ff908ce69fbf
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Wed, 4 Nov 2020 18:48:17 +0000 (18:48 +0000)]
Refactoring POL Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in pol-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: Ib21779c5fc781cbb5901351ccf02ca5f9b36b181
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Wed, 4 Nov 2020 17:43:47 +0000 (17:43 +0000)]
Refactoring MON Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in mon-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: I57337260579975a1d07157d616acac5bcbef0577
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Wed, 4 Nov 2020 15:13:35 +0000 (15:13 +0000)]
Refactoring LCM charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in lcm-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: Iae2a0e59e74fab8820d2a9a0ef3f3ec449349dbe
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 17 Nov 2020 14:30:47 +0000 (14:30 +0000)]
Updating unit tests for NBI charm
Change-Id: I21f92498364691c225164faa580788e07e133f47
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>