sousaedu [Tue, 16 Nov 2021 23:16:09 +0000 (23:16 +0000)]
Fix bug 1778 - Adding openstack client to Keystone dockerfile
Change-Id: Ia4d8fc323a8d9b8a64810b676d4cb206d5fcd01f
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Tue, 16 Nov 2021 15:27:42 +0000 (10:27 -0500)]
Add NTP Sync
Adds ntp to the new VM and forces a full clock sync to avoid
any drift between Jenkins and ETSI VIM
Fixes bug 1774
Change-Id: I7cec55cdedcf53f6206ee54959dea4f8f1cfeb65
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit
b59bd0dbeec7956585b656606ae03f8f294c5d45)
David Garcia [Tue, 9 Nov 2021 07:45:49 +0000 (08:45 +0100)]
Fix bug 1765: update to latest charm revisions (Charmed installer)
The new revisions include:
- fixed security issues: secret management
- Authentication in prometheus and grafana
- Fix n2vc path in LCM charm (debug-mode)
Change-Id: I4ace5a2e8e7f96883e439047dff739c8a9b40870
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Tue, 9 Nov 2021 07:49:14 +0000 (08:49 +0100)]
Fix bug 1764: Set 11 as the default tag in charmed installer
Change-Id: I665b08f11bb2134eec85ca236bd48c3b05a4678b
Signed-off-by: David Garcia <david.garcia@canonical.com>
bravof [Wed, 20 Oct 2021 14:48:16 +0000 (11:48 -0300)]
Fix bug 1754: update keystone dockerfile to ubuntu 20.04
Change-Id: I79eddf6085d27823ea67561113bdba9593ad6a41
Signed-off-by: bravof <fbravo@whitestack.com>
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Thu, 11 Nov 2021 08:54:38 +0000 (09:54 +0100)]
Fix bug 1756 to send installation_id in track function
Change-Id: I798ae4be20cd7fc267a30c5aeda12c20e9beb1f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 9 Nov 2021 22:30:47 +0000 (23:30 +0100)]
Fix bug 1750 to add GCP connector to RO Dockerfile and RO charm
Change-Id: I00237ab83be75629bcef93c7cbfd6f132f85c3f3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 8 Nov 2021 22:02:01 +0000 (23:02 +0100)]
Fix bug 1747 to allow installation without docker proxy
Change-Id: I900f1acf9656ca79b96dac60aad4a99c7b1576af
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 8 Nov 2021 11:40:18 +0000 (12:40 +0100)]
Fix bug 1744 to update installers and manifests for Release ELEVEN
Change-Id: I40af57c22e28e6b4a22d25edb8e0a0110f251093
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 20 Oct 2021 20:16:17 +0000 (22:16 +0200)]
Feature 10892/10893/8460: refactor of OSM installer
This change covers:
- Feature 10892. Installation of OSM on top of Ubuntu20.04. Changes
are mostly in full_install_osm.sh and are related to the use of new
versions of kubeadm and docker-ce. In addition, changes in Jenkins
groovy files have been done to indicate the base image to be used,
either 18.04 or 20.04.
- Feature 10893. Better tracking of installation. The code for tracking
in in common/track. There is a function track that it is called in
the different steps of the installation.
- Feature 8460: Cleanup old code in full_install_osm.sh. The script
full_install_osm.sh has been split in different scripts performing
specific tasks, thus simplifying the installer: install_docker_ce.sh,
install_juju.sh and install_kubeadm_cluster.sh.
Change-Id: I1e388ec56285337eaf34f68470aa5a9b23ff45ff
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Thu, 4 Nov 2021 08:23:54 +0000 (09:23 +0100)]
Update juju agent to 2.9.17
Change-Id: I669943ab80eb494e0b5c59089d26a9434e4a53fd
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 3 Nov 2021 10:31:18 +0000 (11:31 +0100)]
Fix bug 1726: fix metallb ip range
Metallb was complaining when indicating an IP range of a single IP.
This commit changes the IP range "<IP>-<IP>" to CIDR format: "<IP>/32"
Change-Id: If879fab2b272927a6a8ffda00f9c49f218224ac0
Signed-off-by: David Garcia <david.garcia@canonical.com>
veleza [Tue, 19 Oct 2021 14:43:44 +0000 (14:43 +0000)]
Updated the Tests container's Dockerfile to include the conformance-tests folder
Change-Id: I1c6eaf4f32b949adf2586a41210e2f778a9a9c2e
Signed-off-by: veleza <axel.velez@etsi.org>
David Garcia [Mon, 11 Oct 2021 17:52:33 +0000 (19:52 +0200)]
Minor fix in prepare_pods.sh (charmed osm debug-mode)
Change-Id: Id6df73247e4227607b6ee5475d5ab9c6e06f056a
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Mon, 11 Oct 2021 17:56:53 +0000 (19:56 +0200)]
(charmed-osm) Add auth to prometheus and update kafka/zk
- Authentication to prometheus:
- Update prometheus relation to provide auth credentials (user/pass)
- Update grafana datasource to include credentials to prometheus
- Update kafka and zookeeper charms:
- Add support for the charms to talk to the new kafka charm
- Add kafka and zookeeper charms in local bundle
Change-Id: Ifb83769583178f3a2069ae6756aa430ec69eecce
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Fri, 8 Oct 2021 05:52:29 +0000 (06:52 +0100)]
Fixing LDAP bool variable convertion for secret population
Change-Id: I222213dbf0b738e9e54916e3568baa9fb5738e16
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Thu, 7 Oct 2021 13:18:51 +0000 (14:18 +0100)]
Fixing LDAP variable convertion for secret population
Change-Id: Ifd3371a6e456d4dd56df4f40b75e0bc441418617
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Sun, 3 Oct 2021 22:03:32 +0000 (00:03 +0200)]
Fix bug 1680 to run stage-test only if changes in installer charms
Change-Id: Ibf372557be7de1ce40461315b0fdb40f8f0ad1ca
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 13 Aug 2021 15:13:25 +0000 (17:13 +0200)]
Update K8s version for community installer to 1.20.11
Change-Id: I835da2f886f5bbf9eb342d52362a8a005710c255
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Tue, 5 Oct 2021 14:13:08 +0000 (16:13 +0200)]
Pin version of LXD to latest LTS
Change-Id: I31f5540e0d8991006e8b3767a94fe4126945cafb
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 30 Sep 2021 08:36:33 +0000 (10:36 +0200)]
Add web ui authentication
Change-Id: I29c61f84dd8443a650cf45a4a2dfcc99efed1106
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 30 Sep 2021 08:35:54 +0000 (10:35 +0200)]
Pin pylint to 2.10.2 in osm charms
Change-Id: I238d04075c56ed6544df6d91eef16fc1a6b545c4
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Thu, 23 Sep 2021 15:43:15 +0000 (17:43 +0200)]
Clean-up of apt information in docker layers
Change-Id: I25949f4e61d327f61dfee8b7a9c3115738c445ac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
sousaedu [Wed, 29 Sep 2021 00:53:30 +0000 (01:53 +0100)]
Adding security_context flag to charms
security_context is set to false while we don't have new
container images.
Change-Id: I99cf8c1ab7446811887445d596f416f7e79574e7
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Wed, 22 Sep 2021 19:53:40 +0000 (21:53 +0200)]
Clean-up of jenkins and common folder
Change-Id: I9cfdce4355f4fe7526f2e6b7da885f47b3a5f4e9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Wed, 8 Sep 2021 15:48:40 +0000 (17:48 +0200)]
Add secret-management in Charmed OSM
Change-Id: Ic5714571c673e4d82e3a905daa57f631640b94bb
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Wed, 22 Sep 2021 16:11:54 +0000 (18:11 +0200)]
Update MON and LCM Dockerfile to install ca-certificates in the appropriate docker layer
Change-Id: I5b60040f9b0afbde05309ea93aeb92d879d24591
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 15 Sep 2021 11:42:34 +0000 (13:42 +0200)]
Fix bug 1665 to remove LW-UI from newtag.sh
The commit removes LW-UI from the set of repos where the tag
will be created.
It also checks whether the branch exists or not, skipping the tagging
if the branch does not exist in the repo.
Change-Id: I2d48ab18fa20708ff2697b2c0d9c2ef5c9fba7b9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Wed, 16 Jun 2021 08:37:34 +0000 (10:37 +0200)]
Minor fixes and enhancements in local-build.sh
- Typo in the --help: --install-local-regitstry --> --install-local-registry
- Fix conditional. When VIM_AUTH_URL does not exist, the script was
showing this error message: "bash: [: too many arguments"
- Change from xip.io to nip.io
- Parameterize the osm/tests image tag. This allows to use the published
osm/tests image without needing to execute the stage-3 command
- Add print_section function: Cleaner way of printing section
information
- Add --vim-vca option. Allows to attach an existing VCA (registered in
OSM) to be used by the VIM account.
Change-Id: I2c1375e031f042f505f126586c0e819c21e1dd4c
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Tue, 7 Sep 2021 16:58:35 +0000 (18:58 +0200)]
Fix bug 1652 to update osm_health increasing time_for_failure
Recent tests showed that the 5 minutes assigned to the time for checking
failures in pods were not enough. This change increases the time to 7
minutes, which will be enough even for the long tail cases.
Change-Id: Ic9c721811a187292c1da6f421f2ed4311b7f4622
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Fri, 10 Sep 2021 16:21:21 +0000 (18:21 +0200)]
Revert "Use Juju 2.9.12"
This reverts commit
f5051cb9a979b5e5478534f03bab3444fe800b45.
Reason for revert:
Juju 2.9.12 has bugs that require us to stick with original until they are fixed.
Change-Id: I4f5b7af7278b67c39c9e236fa67e051eccf295e7
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Thu, 9 Sep 2021 15:23:42 +0000 (17:23 +0200)]
Pin LXD version to 4.17
Change-Id: Ibcbbffd7be34462e4fb0521458ca739f1d0aa150
Signed-off-by: David Garcia <david.garcia@canonical.com>
aktas [Fri, 10 Sep 2021 06:31:10 +0000 (09:31 +0300)]
jujudatafolder variable is removed at line 539
In this merged commit https://osm.etsi.org/gerrit/c/osm/devops/+/11149/, a variable was left by mistake.
This commit resolves the issue.
Change-Id: Iaa91ebe5d37c3c6f9b56757f4e6268214d36eb51
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
David Garcia [Tue, 7 Sep 2021 09:12:11 +0000 (11:12 +0200)]
Use Juju 2.9.12
Change-Id: Ic8aa87248317c9b0da160af62ebb31e82331ed1b
Signed-off-by: David Garcia <david.garcia@canonical.com>
aktas [Mon, 6 Sep 2021 10:30:09 +0000 (13:30 +0300)]
Removing juju installation in the jenkins pipeline
With the new way of the juju accces in k8s_08 testsuite,
installing juju in the container is not needed.
k8s_08 testsuite changes: https://osm.etsi.org/gerrit/c/osm/tests/+/11104
Change-Id: I7c5a59a776df23ca21b21a17728e658ad6d4e388
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
sousaedu [Thu, 2 Sep 2021 18:15:17 +0000 (19:15 +0100)]
Revert stage3 to use default installer
Change-Id: I9338d4108bddfe8db212d5aad82d9d8ad1473992
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Mon, 30 Aug 2021 15:33:33 +0000 (16:33 +0100)]
Fix validation error for ImagePullPolicy in charms
Change-Id: I00711202fdbacd73e9205dd3fc34424893440be5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Wed, 30 Jun 2021 14:03:28 +0000 (15:03 +0100)]
Adding HA support for Grafana charm
Change-Id: Icac0e15706e49cb387ac6686cb26337b98a5a319
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Tue, 31 Aug 2021 17:52:26 +0000 (18:52 +0100)]
Upgrading setuptools to 51.0.0
Some newer packages, in requirements.txt, use the Metadata
version format available in 51.0.0.
Docs: https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html#metadata
Change-Id: I2a7c22c2fa42e7111aed462b81f5be9040d0d7f9
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
aguilard [Wed, 1 Sep 2021 10:12:07 +0000 (12:12 +0200)]
Fix bug 1647: OpenEBS error in OSM installer
Updated OpenEBS to version 1.12.0 using Helm
Updated Helm from v2.15.2 to v3.6.3
Change-Id: Ie31239181a7fbcf7a250ebbdf9123d4088ca75b3
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
David Garcia [Mon, 30 Aug 2021 16:01:22 +0000 (18:01 +0200)]
Add Kafka and Zookeeper charms in operator framework
Change-Id: I15645825ab8ff927ad0f72bbfd53ea71343b2be4
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Mon, 30 Aug 2021 17:57:09 +0000 (13:57 -0400)]
Default to Charmed Install
OpenEBS is giving us troubles again, so we need to use the --charmed option
in the installer until we can figure out how to fix the K8s installer.
Change-Id: I6dcd24f9b7c1f70d074bcd40f63fb110fb1c355b
Signed-off-by: beierlm <mark.beierl@canonical.com>
aguilard [Mon, 30 Aug 2021 08:16:31 +0000 (10:16 +0200)]
Fixed error in ci_stage_3.groovy file
There was a typo in threshold variables.
Change-Id: Ib4cf608e0694e89f015212c6a011d4faa001d88c
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
garciadeblas [Fri, 13 Aug 2021 14:43:15 +0000 (16:43 +0200)]
Add private key to docker/tests to access OSM instance
Some of the tests require access to OSM instance in order
to run some commands from there. Those commands could be run
using ssh, but a private key is required to be able connect to
that OSM instance.
This change gets the private key corresponding to the public key in
OSM instance and mounts it in docker/tests so that the container can
access to OSM instance via ssh and run commands there.
Change-Id: Id12ede582d5e519afbc41647b90d192b80cf8fcf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Tue, 17 Aug 2021 09:03:55 +0000 (11:03 +0200)]
Add charmcraft.yaml debug_mode to charmed-osm
- Added a debug_mode option to lcm, mon, nbi, pol, and ro charms
- Added a script to prepare pods for debugging:
- setup .ssh/config to easily ssh from vscode to the pods
- Added a README that explains how to prepare the environment for
testing
Change-Id: Ieb56b565c15e61c68ad000b60897abd27e1eeb0e
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Tue, 24 Aug 2021 18:57:24 +0000 (19:57 +0100)]
Adding ImagePullPolicy config option to OSM Charms
Change-Id: I04ad8444088e8a360755dc4e22b7ea53942682b2
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Tue, 3 Aug 2021 08:21:34 +0000 (10:21 +0200)]
Update lcm revision and juju agent version
Change-Id: I83bb8548dec9ad155a63bde4a734fda0edde9f89
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Thu, 12 Aug 2021 14:35:51 +0000 (15:35 +0100)]
Fix bug 1633 - Pinning packages to major version
Change-Id: Iea7fd8ebfd7de5033a2ff0197a1a5f1bc53f48b4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
palsus [Wed, 4 Aug 2021 18:12:21 +0000 (18:12 +0000)]
Fix for Bug 1626: Build failed due to upstream dependency not found
Change-Id: I719c106e6f2fb92c6f00d2f9595715e1a30c7362
Signed-off-by: palsus <subhankar.pal@altran.com>
sousaedu [Fri, 30 Jul 2021 12:40:47 +0000 (14:40 +0200)]
Fix bug 1620 - adding option to LCM charm to configure Helm CA certificates
Change-Id: I90f2f9ab1379deb45240a2d94e123cbbcd4ecf42
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Fri, 30 Jul 2021 09:52:48 +0000 (11:52 +0200)]
Fix bug 1618 - adding start script to LCM to install CA certificates
Change-Id: I900b8e7db66924e8f12dbc6ce3b9a10cbc14f160
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Wed, 28 Jul 2021 10:08:43 +0000 (12:08 +0200)]
Fix bug 1600 - checking for db user keystone creation
Change-Id: Ibe382eaec6b2afefe3743cc818a75f60983bfcaa
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Wed, 30 Jun 2021 12:05:37 +0000 (08:05 -0400)]
Changing microstack port
Now that Chrome has decided to block 10080, we should change the default
horizon port for microstack to something less likely to get blocked
Change-Id: Ibd73785149e551f376e21f12ee99ff5177efe2b0
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Mon, 28 Jun 2021 14:50:42 +0000 (16:50 +0200)]
Feature 10884: Juju 2.9 support
- Update osm bundles (charmed)
- Update Juju version (snap and agent version) (charmed and k8s)
- Update to new mongodb charm (charmed and k8s)
- Fix ingress issue by adding an ingress_class config
- Charmed installer: point to local bundles until all charms are in
CharmHub
Change-Id: I6ff8328e5db6719bbf9d5d4c9b5490f478b2ace8
Signed-off-by: David Garcia <david.garcia@canonical.com>
aktas [Thu, 27 May 2021 06:47:19 +0000 (09:47 +0300)]
Adding Juju in the pipeline for Robot tests
* Getting Juju data from installed osm
* Bind the Juju data to robot-systest container
Change-Id: I3fedd01fe0314b59e7b9db625b3fb206ceca4353
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
David Garcia [Thu, 17 Jun 2021 13:55:30 +0000 (15:55 +0200)]
Update osm bundles to cs:osm-67 and cs:osm-ha-52
The updated bundles contain these patches:
- https://osm.etsi.org/gerrit/#/c/osm/devops/+/11022
- https://osm.etsi.org/gerrit/#/c/osm/devops/+/11019
- https://osm.etsi.org/gerrit/#/c/osm/devops/+/11015
Change-Id: Ib361f6b7f43bd24be6c6476b6f012b519c32e5cb
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Thu, 17 Jun 2021 11:43:59 +0000 (12:43 +0100)]
Fix bug 1571 - Keystone charm needs to pass CA SSL certificate
Change-Id: I7bce4fc0f4bc0d96b2bc7b84eff9eef655e8b098
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Thu, 17 Jun 2021 10:04:34 +0000 (11:04 +0100)]
Fix bug 1571 - Certificate for LDAPS not written if TLS is disabled in Keystone
Change-Id: I9d4d3f96c7607c1b6f2172cb0de0a5bdcbffbfc3
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
endika [Thu, 17 Jun 2021 10:51:23 +0000 (12:51 +0200)]
fix deploy ng-ui
Change-Id: I59022bf0b58f952d9a698a1ec5024c47512db1bf
Signed-off-by: endika <endika.aldecoa@ehu.eus>
sousaedu [Wed, 16 Jun 2021 15:17:48 +0000 (16:17 +0100)]
Fix bug 1570 - Escaping spaces in Keystone LDAP config
Change-Id: Ia862be33f8ce408f3d033c8a469f3548e86075e0
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Thu, 10 Jun 2021 10:29:52 +0000 (12:29 +0200)]
Update osm bundles to cs:osm-66 and cs:osm-ha-51
Change-Id: Ie0b411d15c8b727fda2603ab0576ee46d80cb54d
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Wed, 14 Apr 2021 17:51:53 +0000 (13:51 -0400)]
Local Build Script
Script to help perform builds locally, so that developers can recreate
the Jenkins experience at home
Change-Id: Ib1a3a555d28e6a5233f6fc3ee9062bb124c946d0
Signed-off-by: beierlm <mark.beierl@canonical.com>
ramonsalguer [Thu, 16 Jul 2020 12:42:04 +0000 (14:42 +0200)]
Fix bug 1560 to ensure that OSM is healthy after installation
This change updates health-check to determine more accurately when the system
is ready. All the deployments and statefulsets must have all its pods running
and stable during some time.
Change-Id: Ibe7ab30415ce81fd95caa0fdd66710746de7605b
Signed-off-by: ramonsalguer <javier.ramon@telefonica.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 26 May 2021 14:54:05 +0000 (16:54 +0200)]
Fix bug 1559 to update installers and manifests for Release TEN
Change-Id: I1e985dc5d27f3cfe246a0e52a8e08b15155842d5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 19 May 2021 08:54:46 +0000 (10:54 +0200)]
Fix bug 1558 to add DEVOPS_PATH default value to install_osm.sh
Change-Id: I03f013768106da62f6b8ece360e436b4950af239
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Tue, 1 Jun 2021 20:20:42 +0000 (16:20 -0400)]
NG-UI Update nginx for CVE
Security patch 1.14.0-0ubuntu1.9 has been issued
Fixes BUG-1555
Change-Id: I61811a6a1494138b4715dfcbf4c7959e10916ba4
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Thu, 27 May 2021 14:17:51 +0000 (16:17 +0200)]
Minor fix: fail when tox not passes
Also, add the exporters to the list of charms tested by the stage-test
script
Change-Id: Ibb5e4d5ff057a517386384633d6829b8b84252ce
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 27 May 2021 14:06:20 +0000 (16:06 +0200)]
Fix bug 1547: Add ingress.class annotation to OSM charms
Change-Id: I436a536929ec5f511721a77a55ee4bb55892d057
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Fri, 28 May 2021 14:24:24 +0000 (16:24 +0200)]
Fix 1539: Helm v2.17.0 and set default value for stablerepourl
The --skip-repo option was not available. The version v2.17.0 is the
latest v2 version available.
Set https://charts.helm.sh/stable as the default stablerepourl value.
Change-Id: Ifdd85f0f891a705f56cdd50c6e4dbf95820d706f
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 19 May 2021 16:04:31 +0000 (18:04 +0200)]
Update osm bundles to cs:osm-64 and cs:osm-ha-49
Also updated the release script to include the exporters
Change-Id: I354cfa93c1e7ff6af9061e380d443dbd59a5d66a
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Fri, 21 May 2021 20:23:19 +0000 (16:23 -0400)]
Removal of openvim
Do not attempt to build openvim anymore
Remove openvim and LW-UI from branch and tag scripts
Change-Id: If0026575410a372179edd6dd045ac5e04463c9a6
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Tue, 18 May 2021 15:28:17 +0000 (17:28 +0200)]
Moving exporter charms to use opslib
This commit also includes external DB configuration option.
Change-Id: Iddb4adfae582ecfc6af2d797716e386420ad1df8
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Mon, 17 May 2021 19:17:37 +0000 (21:17 +0200)]
Fixing mongodb_uri in NBI/LCM for storage
NBI and LCM require the mongodb_uri to share the files between them.
This wasn't being setup when the charm was provided with a string for
an external MongoDB instance. This commit fix that.
Change-Id: Ie70f7033bd32f9c590a54efc216913098bc3356c
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Fri, 14 May 2021 15:42:27 +0000 (17:42 +0200)]
Update OSM bundles to cs:osm-63 and cs:osm-ha-48
Change-Id: Iad1ae3ff60b767877c585a4f5757053064f7a83c
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 13 May 2021 11:27:27 +0000 (13:27 +0200)]
Remove juju binary from LCM image
This binary is not needed anymore, since the centralized VCA feature was
introduced
Change-Id: I9590eee2286738e9768147a779525dcfaec4bed1
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Fri, 14 May 2021 11:05:40 +0000 (07:05 -0400)]
Security patch
Update mysql client due to new security patch having been released
Change-Id: I16a4386c7b8bd0a828a195fdf6c3dcd21deae1e3
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Thu, 13 May 2021 12:30:25 +0000 (14:30 +0200)]
Fixing Prometheus Backup path
Change-Id: I8781f059506c31e37b5f3134e2230d21aced5719
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Wed, 14 Apr 2021 14:47:13 +0000 (16:47 +0200)]
Add port mapping file to stage3 and mount it in docker tests
Change-Id: I807a11f95ef3fb1976a9c52dccabcd46e2e4413d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 12 May 2021 07:50:16 +0000 (09:50 +0200)]
Do not throw error if robot test result is unstable
Change-Id: Ide5136b35f8f3965a3ef716eaad6414a6d47cc90
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 10 May 2021 20:06:30 +0000 (22:06 +0200)]
Modify pass threshold to 100 for stage3-patch workflow
Change-Id: Ic11bdc47d0fc50f475c9b56c9628bce303d4d30a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Mon, 10 May 2021 10:59:33 +0000 (12:59 +0200)]
Add integration between pol and mysql charms
- Added mysql_uri config in POL charm
- Added mysql relation endpoint in POL charm
Change-Id: I7983c1b83da6d894af864669b918215611848bf7
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Mon, 10 May 2021 17:02:10 +0000 (19:02 +0200)]
Enable pass and unstable thresholds in stage3
Change-Id: I2355ec71ab009e7646d35e7bcaa637dcd6751fb8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Mon, 3 May 2021 20:29:14 +0000 (16:29 -0400)]
Removal of Light-UI
With the only supported UI being the NG-UI, and approval from
the TSC, the Light UI is being completely removed from the
build process and installers.
Change-Id: I9a0c099fedcac411a0e31dce4bf64895d1092a37
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 5 May 2021 19:13:58 +0000 (21:13 +0200)]
Make vca config optional in lcm charm
Change-Id: I8bf4ec4d025b3fe843501e1c3d24ac1641cb870b
Signed-off-by: David Garcia <david.garcia@canonical.com>
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>