David Garcia [Wed, 5 May 2021 17:01:43 +0000 (19:01 +0200)]
Add --overlay option in charmed installer
Change-Id: I99e2e8a27f7a930380a2fa686e2352b8fea69c7e
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 5 May 2021 17:09:18 +0000 (19:09 +0200)]
Pin OSM charms to newer revision numbers and update releasing script
Change-Id: Ib5e737cfb721e7e987ec14ea94cdc939e2164542
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Sun, 2 May 2021 22:22:43 +0000 (00:22 +0200)]
Adding manual external DB URI config
Change-Id: I24782d5b9594aebae2ec97b1196acfa2bafb6dbd
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Wed, 5 May 2021 14:51:40 +0000 (16:51 +0200)]
Minor fix in Keystone charm config
Fix the default value for the config ldap_user_enabled_default in the
Keystone charm, used by the charmed installation of OSM
Change-Id: I0272c1c7218d999e6d1ad7755883961ace997a81
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 5 May 2021 12:22:26 +0000 (14:22 +0200)]
Fix bug 1527
Move from xip.io to nip.io
Change-Id: Id861f8dac7c38786544383985a1a75cf0bce16df
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Mon, 3 May 2021 16:27:18 +0000 (18:27 +0200)]
Add --only-vca flag to charmed installer
It will help feature 10239, in order to automate the deployment of the
VCA without needing to deploy OSM.
When the option is enabled in the installation, in the end a string will
be printed out with the command to be executed in OSM to register the
installed VCA.
Change-Id: I1b284a5a650b50e89c07a6d08507406823c6cc2d
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Thu, 29 Apr 2021 14:53:12 +0000 (16:53 +0200)]
Adding cluster-issuer annotation for TLS provisioning
Through the usage of cert-manager, the charms will be able
request TLS certificates to protect the Kubernetes Ingress
endpoint that is exposed.
Note: Cert-manager must be configured ahead of time.
Change-Id: I7dacdb8dca2f78664c5604e509e2516ae6023d06
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Tue, 27 Apr 2021 18:33:24 +0000 (14:33 -0400)]
Install pip requirements as user
Due to conflicting pyyaml versions at the system level, the osm
client needs to install its requirements.txt as user, not as root
Fixes bug 1510
Change-Id: I698a82837c259ecb8b531c7fb92a6e6bd659267e
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 27 Apr 2021 19:27:53 +0000 (15:27 -0400)]
Correct logic for image cache
Fixes bug 1517
Change-Id: I968b0c79c712e8b845cf285279d9183363410a71
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Tue, 6 Apr 2021 16:37:54 +0000 (18:37 +0200)]
Add pass and unstablerobot thresholds for stage3
This change adds two parameters to the stage3 Jenkinsfile in
ci_stage3_groovy:
- ROBOT_PASS_THRESHOLD: % passed Robot tests to mark the build as
passed
- ROBOT_UNSTABLE_THRESHOLD: % passed Robot tests to mark the build
as unstable
These two parameters are passed to robotPublisher, the class in Robot
Framework Jenkins plugin to publish test results.
Change-Id: Ia2abdf996033163572836afe88cfa0675683fcb1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 21 Apr 2021 13:12:13 +0000 (09:12 -0400)]
Attempt to remove swap
Attempts to persist the deactivation of swap across reboots.
Note: this can still be overridden by external mechanisms
such as cloud-init
Fixes Bug 1062
Change-Id: I4b78191da63a1528bfe56d2c3e9a33342b86af21
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Wed, 21 Apr 2021 12:15:56 +0000 (14:15 +0200)]
Add option to OSM installer to skip caching juju lxd images
A new option '--nocachelxdimages' has been added to
'installers/full_install_osm.sh'. If specified, the installer will
skip caching juju lxd images. The option will also skip crontab
configuration to guarantee that the images are not cached daily.
The change also modifies 'ci_stage_3.groovy' to use that option in
OSM pipeline, which will save installation time.
Change-Id: I7bfc4432d9a1c99e39440daaf559db897944bd22
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 21 Apr 2021 11:48:04 +0000 (13:48 +0200)]
Fix ci_stage_1.groovy to take ROBOT_TAG_NAME as a string
This change will read the param ROBOT_TAG_NAME and add it as a string
param to be passed to downstream jobs, instead of a boolean param, as
it was wrongly doing.
Change-Id: I3b7042dc41cd9a270386c91fdbaa7987e23af655
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 21 Apr 2021 09:13:53 +0000 (05:13 -0400)]
OSM Client Installation Fix
Updates stage 3 to present osmclient and IM debian packages.
Updates installer to also install pip requirements.txt if
those files are present from the osmclient .deb package
Fixes bug 1510
Change-Id: I9ee44b265615935fee6c869c6c3c261739370183
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Fri, 16 Apr 2021 13:35:36 +0000 (15:35 +0200)]
Update stage1 and stage3 to run robot tests with tag
This reverts commit
b311476d34bf9d15bdcbf35b0d183779d2b3f0c9.
This commit updates stage1 and stage3 to allow running robot
tests in stage3 by default for every commit.
The commit removes param DO_STAGE_4 since it is confusing. Only
params DO_ROBOT and ROBOT_TAG_NAME will be used. If DO_ROBOT is set
to true, robot tests will be run in stage3 for all tests containing
the tag indicated by ROBOT_TAG_NAME. The param ROBOT_TAG_NAME replaces
the previous param TEST_NAME.
MDG stage1 can specify params DO_ROBOT and ROBOT_TAG_NAME. If
specified, they will be used. Otherwise, the default for stage3 will
apply (DO_ROBOT=true, ROBOT_TAG_NAME=sanity).
Daily job, which will run stage1, can also specify params DO_ROBOT
and ROBOT_TAG_NAME. In principle, they will be set as follows:
DO_ROBOT=true, ROBOT_TAG_NAME=daily.
Stage1 job, in case of failure, will send an e-mail to OSM_MDL
mailing list reporting the failure. The mail will only be sent
if the name of the job starts with "daily-stage_4".
Change-Id: Ibe37fb588fc48297f5fea6e654f9ad64c906d9a6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
sousaedu [Tue, 20 Apr 2021 09:10:45 +0000 (11:10 +0200)]
Replacing ldap_user_enabled_default type from boolean to string
Change-Id: Ib2ee5c0c16573e70eb212fde66588ee88991e2c6
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Fri, 16 Apr 2021 20:01:06 +0000 (16:01 -0400)]
Bug 1509: Missing mysql binaries
Brings two more mysql binaries forward into the final layer for POL
Fixes bug 1509
Change-Id: I61780c5d2f2bd81bbff8e0a97b4c956ca65967a4
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Thu, 15 Apr 2021 18:52:00 +0000 (14:52 -0400)]
Add ping to robot container
Adds iputils ping package to the robot container so it can
ping vms as part of its tests.
Change-Id: I1b0e3a3f9c2e0860ceb05ffa4e04b86cc658557c
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Wed, 14 Apr 2021 17:02:15 +0000 (13:02 -0400)]
Revert "Update stage1 and stage3 to run robot tests with tag"
This reverts commit
2a344a38ea05e493cfdf33a4d37d92126633823e.
Syntax error/mismatched braces
Change-Id: I23a1f8304dc45b27b9688bdf92825edb16af737f
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Wed, 14 Apr 2021 14:12:58 +0000 (10:12 -0400)]
Add missing software layers
Adds openssh to MON
Adds mysqladmin to POL
Adds envsubst to tests
Fixes bug 1503
Change-Id: Ieafee31695bfc6ccecb1f1bcf52b57e91a45686e
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Sat, 10 Apr 2021 07:34:34 +0000 (09:34 +0200)]
Update stage1 and stage3 to run robot tests with tag
This commit updates stage1 and stage3 to allow running robot
tests in stage3 by default for every commit.
The commit removes param DO_STAGE_4 since it is confusing. Only
params DO_ROBOT and ROBOT_TAG will be used. If DO_ROBOT is set
to true, robot tests will be run in stage3 for all tests containing
the tag indicated by ROBOT_TAG. The param ROBOT_TAG replaces
the previous param TEST_NAME.
MDG stage1 can specify params DO_ROBOT and ROBOT_TAG. If specified,
they will be used. Otherwise, the default for stage3 will apply
(DO_ROBOT=true, ROBOT_TAG=sanity).
Daily job, which will run stage1, can also specify params DO_ROBOT
and ROBOT_TAG. In principle, they will be set as follows:
DO_ROBOT=true, ROBOT_TAG=daily.
Stage1 job, in case of failure, will send an e-mail to OSM_MDL
mailing list reporting the failure. The mail will only be sent
if the name of the job starts with "daily-stage_4".
Change-Id: If481f2da01f4c811495504329fe7b6d7bd88c9de
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 13 Apr 2021 16:26:55 +0000 (18:26 +0200)]
Fix bug 1151 to install openebs operator
This change updates the method install_k8s_storageclass of
full_install_osm.sh.
The change creates a temporary folder for downloading the K8s manifest
file for openebs. The download of the manifest file is decoupled from
its application with kubectl (in the same way that it isdone for the
CNI provider). After its application, an additional check is added to
verify that the storage class openebs-hostpath has been defined. If it
does not exist, the installation will fail and exit. Otherwise, it will
proceed. Finally, the timeout for the openebs-hostpath storage class
has been increased from 300s to 400s.
Change-Id: Ic1da8b9606bd7b3265f38c1da7389e5b2cdc741b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Tue, 13 Apr 2021 21:01:53 +0000 (17:01 -0400)]
Adding SCP
LCM also needs to shell out to SCP so that command is needed in
final layer too
Change-Id: Ifb7b7a5ceefe8e31e11c6f2fad567c0ee3e3cc6c
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Fri, 26 Mar 2021 12:22:50 +0000 (13:22 +0100)]
Update robot test tag from sanity to daily
Change-Id: I6ca0579e492c1a96a3f89468f153bd280afc50e5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Tue, 13 Apr 2021 16:18:37 +0000 (12:18 -0400)]
Bug 1501 - Correct tag for push
Change to use the tag of the current build to promote to the
final dockertag that is pushed to Dockerhub
Fixes bug 1501
Change-Id: I13b83afd9dad013cd51b646a6a14399c8c62cd3c
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 13 Apr 2021 14:04:22 +0000 (10:04 -0400)]
Bugs 1499, 1500: missing runtime components
Adding ca-certificates for SSL verification
Adding ssh cli as it is needed by something in LCM
Fixes Bug 1499
Fixes Bug 1500
Change-Id: Ib7fab398cf39fd577003cf5dd5ac48b8d1b70121
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Mon, 12 Apr 2021 20:05:38 +0000 (16:05 -0400)]
Fixes for bug 1496
No longer uses a build layer as there are development tools we still
need at runtime.
Bug 1496
Change-Id: Ia655b88dd0e36cbba20b240be0aede5670904027
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Thu, 8 Apr 2021 13:57:59 +0000 (15:57 +0200)]
Bugfix 1491 - adding /etc/protocols
Change-Id: Ib6fa3f6c2c3538aed02c9d6fa122ebc2c6cc5afe
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Wed, 7 Apr 2021 18:19:03 +0000 (14:19 -0400)]
Fixes Bug 1492
Adds ssh-keygen to the final layer as it is needed at runtime.
Change-Id: I2bd773a388b0d26b453ebb5053f3f07e9473996a
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Wed, 7 Apr 2021 11:34:04 +0000 (07:34 -0400)]
Pip standardization
Bring forward all shared libraries for tests container
Change-Id: I6388ede5461678fdefc9fe8fafa027db84747ed5
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Wed, 7 Apr 2021 09:25:10 +0000 (05:25 -0400)]
Pip Standardization Update
Adds mysqladmin to POL for startup
Brings osm binary to final layer in tests
Change-Id: I0418be0dc224fbd846a5ea694e9cf3e97ffc9954
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Wed, 7 Apr 2021 00:05:30 +0000 (20:05 -0400)]
Updating to latest
Curl and NodeJS had security patches released
Change-Id: I4ecd0f921457c2b215768ef81515c304c91780f6
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 6 Apr 2021 23:27:32 +0000 (19:27 -0400)]
Adding missing dependency
osmclient dockerfile was missing openssl dev
Change-Id: I5c416f5093a57c579571b7f39cdf1ff73a972a66
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 6 Apr 2021 17:51:33 +0000 (13:51 -0400)]
Fixup path
Specify correct location of pre-merge software to stage.
Runs commands without -l (login) so the environment is preserved.
Change-Id: I226cdfd62bcb40f65dbe5977d1a4b78d2e5fe061
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 17 Mar 2021 14:28:47 +0000 (15:28 +0100)]
Feature 10296
Update dockerfiles to fetch dependencies from Artifactory
.deb and using pip3 -r instead of apt to resolve all upstream
depenencies
Update stage_3 to use URLs for artifactory packages instead
of apt server for installation of packages
Change-Id: I3abb1e1314862f386fb090cb18429f4283b0273d
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Wed, 3 Mar 2021 00:12:49 +0000 (01:12 +0100)]
Adding backup action to prometheus charm
Change-Id: Icfc97e308c7d49eb1e7c5c18b6f21648822cba87
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Mon, 29 Mar 2021 09:45:29 +0000 (11:45 +0200)]
fix bug 1483: read only the IP address of the right device with the default route
Change-Id: I84a239ad062d00abc993fbab9f090f1c0a2b2a19
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
calvinosanc1 [Mon, 29 Mar 2021 09:54:38 +0000 (11:54 +0200)]
Fix bug 1482
Change-Id: I6e17434ffc3b7f13ac3311f71092ec0784a952f0
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
garciadeblas [Fri, 26 Mar 2021 12:26:20 +0000 (13:26 +0100)]
Fix bug 1481: fix typo in kafka init-container command
Change-Id: I55b55ad9db8b346ada4df62496eec028a2c17661
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
sousaedu [Thu, 25 Mar 2021 16:19:10 +0000 (17:19 +0100)]
Mongod-exporter charm: fixing connection string in HA
Change-Id: I606a36a373c39d7d15e572d90065acd093506de5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Thu, 25 Mar 2021 14:04:52 +0000 (15:04 +0100)]
Certificate addition support to mon and ro charms
This commit adds the `certificates` config in both RO and MON charms.
Changes:
- Add `certificates` config option in mon and ro charms
- Use charmed-osm/ops-lib-charmed-osm library in all charms
Change-Id: I14e3cf7ad2c846c4a2af57f317d4151119ce5fbb
Signed-off-by: David Garcia <david.garcia@canonical.com>
endika [Mon, 22 Mar 2021 16:13:45 +0000 (17:13 +0100)]
apt hold k8s packages
Change-Id: Ib940a950bb0a7a40f2d867dcd5e9b3d46e7238c0
Signed-off-by: endika <endika.aldecoa@ehu.eus>
Antonio Marsico [Fri, 19 Mar 2021 17:54:57 +0000 (18:54 +0100)]
Fixed Openstack SDK and client version issues
Change-Id: I4f7ad3dfd137b2e621609b1a1062392b34be0e43
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
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>