Mark Beierl [Wed, 7 Sep 2022 13:36:43 +0000 (09:36 -0400)]
Feature 10953: Publication of Charms in CI/CD Pipeline
Adds section to detect changes in charms, and builds
and publishes the charms accordingly
Change-Id: I41bbcdcc0cf919ddbbc83374ccfb3f17c6b7dc37
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
beierlm [Fri, 2 Sep 2022 14:11:33 +0000 (16:11 +0200)]
Revert "Adding TCP Dump"
This reverts commit
b04e188d083711b5983ad2859fc5851f25dd046d.
Reason for revert: ETSI IT discovered root cause and we no longer need this large data with every build.
Change-Id: If998fba52a951041f32694ec0393a82a691824fa
Signed-off-by: beierlm <mark.beierl@canonical.com>
aticig [Tue, 23 Aug 2022 22:27:39 +0000 (01:27 +0300)]
Fixing hostpaths of RO side car charm, updating osm_lib library.
Updating osm_libs charm library and update the new version of
library in osm sidecar charms.
Change-Id: If3e526af823d0862e45513bd77dfdae1ef3e2398
Signed-off-by: aticig <gulsum.atici@canonical.com>
Guillermo Calvino [Fri, 19 Aug 2022 07:47:32 +0000 (09:47 +0200)]
Fix bug 2145: Wrong VCA data in new sidecar MON charm
Change-Id: Ib24c54cffd158f6ae4397311becc3769a1cce543
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
Guillermo Calvino [Thu, 18 Aug 2022 09:48:30 +0000 (11:48 +0200)]
Fix bug 2142: Debug mode in Pebble Charms is not working
Change-Id: Icca7e2b3a38b0c9ca4859138931e2c92566fd1d9
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
David Garcia [Thu, 30 Jun 2022 12:37:46 +0000 (14:37 +0200)]
Add juju simplestreams charm
Change-Id: I0690f8cca8561df9573e7fb169df6daaeb51506e
Signed-off-by: David Garcia <david.garcia@canonical.com>
Mark Beierl [Fri, 12 Aug 2022 15:13:24 +0000 (11:13 -0400)]
Add VCA Integrator Charm
Change-Id: Ic42bb4f8b682678d3e49aa671e2de9661a84af6c
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Mark Beierl [Fri, 12 Aug 2022 01:59:11 +0000 (21:59 -0400)]
Bug 2137: Improve license check
Rather than relying on a case sensitive extension (.jpg, etc)
this change introduces the use of file mime-type to better
determine if a file requires a license or not.
Change-Id: I24492c584c0d124c47d542cb8f8019ae56642682
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
aticig [Thu, 11 Aug 2022 10:10:19 +0000 (13:10 +0300)]
Changing charmed installer to use latest/stable
OSM bundles are modified to deploy osm charms from latest/stable.
Change-Id: I0973cf952b9d54de53c1985e0690d24062e160d6
Signed-off-by: aticig <gulsum.atici@canonical.com>
Guillermo Calvino [Tue, 26 Jul 2022 11:31:36 +0000 (13:31 +0200)]
Changing access method of NBI in NG-UI charm for Charmed OSM
Change-Id: I6f9571d3dc219cc44b3c1c4f5ad9460b03eeb250
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
Guillermo Calvino [Tue, 26 Jul 2022 11:18:37 +0000 (13:18 +0200)]
Disabling SSL from internal NBI http server in Charmed OSM
Change-Id: I53c2f75ba15e5c0217cb5312a6c08ed576fcd6f0
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
aticig [Mon, 8 Aug 2022 21:34:44 +0000 (00:34 +0300)]
Removing osm_rovim_fos debug folder path from podspec ro charm
Change-Id: I5a6965425cef6b5d4f6397368f9daa550d85e317
Signed-off-by: aticig <gulsum.atici@canonical.com>
aticig [Mon, 8 Aug 2022 12:43:49 +0000 (15:43 +0300)]
Adding VIM refresh period to RO charm config
Refresh period is allowed >=60 or -1. Setting it -1
will disable the updating VM status.
Change-Id: I18a8cd8fd39da16d2d0221dac15324a08da76c2a
Signed-off-by: aticig <gulsum.atici@canonical.com>
aticig [Thu, 30 Jun 2022 00:50:07 +0000 (03:50 +0300)]
Adding VIM refresh period to RO charm config
Refresh period is allowed >=60 or -1. Setting it -1
will disable the updating VM status.
Change-Id: I94ec37f68303128ba7af67f14121436005fd9259
Signed-off-by: aticig <gulsum.atici@canonical.com>
Patricia Reinoso [Wed, 3 Aug 2022 07:29:25 +0000 (09:29 +0200)]
Update maintainers of the bundles
Change README files
Change-Id: I05e84f62e20dc1124f9cc0e6a67f7744bf1ad46b
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
David Garcia [Mon, 27 Jun 2022 10:24:36 +0000 (12:24 +0200)]
Add RO sidecar charm
Change-Id: Id18c049f83c0217577778e13da3dab76d5708ed4
Signed-off-by: David Garcia <david.garcia@canonical.com>
aticig [Mon, 27 Jun 2022 22:56:51 +0000 (01:56 +0300)]
LCM sidecar charm
Change-Id: Ic03f8a94b8edcfc67aebddfcc27022a130ce8a1b
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 30 Jun 2022 13:02:30 +0000 (09:02 -0400)]
MON Sidecar Charm
Change-Id: Ie5e73d1c9df9903405edfda7b3c345b1fcc3c164
Signed-off-by: beierlm <mark.beierl@canonical.com>
Guillermo Calvino [Wed, 29 Jun 2022 15:40:36 +0000 (17:40 +0200)]
Add POL side-car charm
Change-Id: I5fcad40bf4b62e724c0fce3905409cdbc1f4ac57
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
Mark Beierl [Fri, 29 Jul 2022 16:46:18 +0000 (12:46 -0400)]
Bug 2129: Fix logic to always delete VM
Puts the step to extract the container logs into a try/catch block
so that the logic to delete the VM and stop the apache container
will always execute, instead of leaving them behind on error.
Fixes bug 2129
Change-Id: If252670b5374f1665f0e8b649b9fbc16c1ff2705
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
beierlm [Tue, 7 Jun 2022 16:21:17 +0000 (12:21 -0400)]
Better release note check
Only checks release notes for incoming patches, not
for merge jobs.
Change-Id: I895136d5369f836ddae66cd49a2911cd4aa945cb
Signed-off-by: beierlm <mark.beierl@canonical.com>
Mark Beierl [Thu, 14 Jul 2022 13:37:34 +0000 (09:37 -0400)]
Jenkins refresh
Change the jenkins node label from 'docker'
to 'stage_2' as part of the Jenkins cleanup
Change-Id: Ifdba6e06053a705baadae674dbfd1faa7be57cfc
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
beierlm [Wed, 22 Jun 2022 14:12:29 +0000 (10:12 -0400)]
Removing deprecated files
Removing old charm files that are no longer in use
Change-Id: I4aaf35a3708f47bd04beffcba8e2fbd850e1f433
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Wed, 22 Jun 2022 14:26:22 +0000 (16:26 +0200)]
Prepare installer and pods for Rel TWELVE
Change-Id: I9fa2bfe6322748b9fbd22d2348b88f8f63df0329
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 21 Jun 2022 08:42:52 +0000 (10:42 +0200)]
Update list of modules for tag creation and tag deletion
Change-Id: I0e486a70512af81d554ac9a843843431c5048b10
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Fri, 17 Jun 2022 17:18:17 +0000 (17:18 +0000)]
Bug 2080: Store Snapcraft Crdentials as Secret
Changes the credendtials used for the snapstore from being in a
file in jenkins' home directory to being a secret stored in
the Jenkins server itself.
Fixes bug 2080
Change-Id: Icb78ac46c83bdab1176c9316482f713f7bd89e4b
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Thu, 16 Jun 2022 10:31:16 +0000 (12:31 +0200)]
Add Ng-UI sidecar charm
- Fix nbi interface type
- Update Charm Libraries
Change-Id: I93d00b240e0f8f127411677647e04813f9ca412b
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Tue, 14 Jun 2022 15:43:09 +0000 (17:43 +0200)]
Add NBI Charm Library
Change-Id: I7dbfa487918b05e0bf98776db1b1cec5586beec7
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Mon, 13 Jun 2022 15:29:53 +0000 (17:29 +0200)]
Add osm-nbi sidecar charm
Change-Id: Ifd0b560cb94c863ade982d3e74a3f5c9f3767657
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Fri, 8 Apr 2022 10:35:13 +0000 (12:35 +0200)]
Enable FSMongo for RO for feature 10909 Heal operation for VDU
Change-Id: Ie1b4d880418656a3619976c5159eec5cadd420d7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Wed, 1 Jun 2022 11:01:43 +0000 (13:01 +0200)]
Fix bug 2057: Update lxd-credentials file
Change-Id: I41b90c4010bf1dfe553a3d81bddf7bcef5f08b35
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Tue, 24 May 2022 08:30:40 +0000 (10:30 +0200)]
Update keystone version to 18.1
Change-Id: I3ce790627d0a942f8df7c5b98a9afe078ffc41ab
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
aticig [Fri, 6 May 2022 10:46:22 +0000 (13:46 +0300)]
Make LXD installation optional in Charmed Installer
By default lxd cloud is defined, with this change optionally lxd cloud is not
added by passing --small-profile parameter in charmed installer.
Change-Id: I8f3b1816c9f2f43ee6bb84c15b2ce0eda99d691b
Signed-off-by: aticig <gulsum.atici@canonical.com>
David Garcia [Wed, 27 Apr 2022 11:43:42 +0000 (13:43 +0200)]
Fix password generation in charmed installer
Replace base64 format passwords with hex. Base64 passwords can include
chars like "/" which may cause problems when using them in sed-like
commands.
Change-Id: Id522adf40e329d8169853b5614f5ff541a174f68
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Fri, 22 Apr 2022 10:15:45 +0000 (12:15 +0200)]
Add tool upload-installer.sh to upload installer to FTP server
Change-Id: I62e9eaeabb915b7b8da01fe1aa65b03fdd1f8619
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 22 Apr 2022 10:05:15 +0000 (12:05 +0200)]
Add checking of status of local http server used to serve deb packages
Change-Id: Ic624afeee0ec5011e21c10bd0eb110ec78888e1c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 11 May 2022 18:53:01 +0000 (14:53 -0400)]
Adding TCP Dump
Captures all network traffic (with a maximum packet size) so that if
anything happens during the initial configuration and installation
we can analyze it to determine what is happening in the network.
Change-Id: Ia941d0a8b7610e4ad3a9d1f6ef1b53ac437e6a54
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Fri, 6 May 2022 11:17:42 +0000 (13:17 +0200)]
Use juju version 2.9.29
Change-Id: I122eaa9c2c82ddbe00ee529ac3944cc666dc4a52
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Wed, 13 Apr 2022 12:19:40 +0000 (08:19 -0400)]
Proper tracking of Charmed Install
Adds installation ID to the charmed path, as well as tracking installation
completion.
Change-Id: Ieffce4d402d6d865a8acb8d8a0c213bee9355199
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 27 Apr 2022 11:46:34 +0000 (13:46 +0200)]
Fix permissions of ca-certificates.crt in LCM Dockerfile
Change-Id: Iad8d16d24ab5c6bc545e3470aec8ae05f98b4c68
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Fri, 22 Apr 2022 08:20:08 +0000 (10:20 +0200)]
Update local-build.sh to fix check of existing qhttp and provide more help
Change-Id: Icc23f4dd1f0eaa09b930d1403175fac2eeaf9f14
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 20 Apr 2022 22:29:02 +0000 (00:29 +0200)]
Update install_osm.sh to solve the issue with no valid OpenPGP data found
Change-Id: Ife80b72991b27c55f2f254b2723a253172e38cc9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Pedro Escaleira [Fri, 15 Apr 2022 13:54:52 +0000 (14:54 +0100)]
Bug 1991 fixed: modified LCM charm secret name to a standardized one
Previously, the LCM charm was creating a Kubernetes secret with the name
`lcm-lcm-secret`, to save the credentials for accessing Mongo, while the
other modules' charms where using a name with the format
`<mod_name>-mongodb-secret` to do so. This modification updates the LCM charm
to create this secret in a compliant way with this name format.
Change-Id: I4d91e760e44d1703f246e605d9b70625967556c5
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
João Fonseca [Fri, 15 Apr 2022 15:06:51 +0000 (16:06 +0100)]
Fixes Bug 1993 - Substitutes NTP with Chrony
Change-Id: I36e0d8a0b5ce18c93e0831b277210d6b275fbcca
Signed-off-by: jpedrofonseca@av.it.pt <jpedrofonseca@ua.pt>
garciadeblas [Wed, 30 Mar 2022 14:52:59 +0000 (16:52 +0200)]
Fix bug 1563 to archive logs even if OSM Health stage fails
Change-Id: I1ed08f0220673b2d5ef69291d67821060e6ad2ac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 23 Mar 2022 11:27:02 +0000 (12:27 +0100)]
Update stage3 to move NTP to a separate stage with individual sshCommands
Change-Id: I47689b3137d9c18de2f2514ec9b81b2b978208cc
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 23 Mar 2022 11:25:27 +0000 (12:25 +0100)]
Split stage-build and stage-archive conveniently
Change-Id: Iae36bf59b76f103f4e7d609f13e1efd8914c310b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Fri, 25 Mar 2022 16:23:36 +0000 (12:23 -0400)]
Bug 1933: Fix ready check
Changes to juju result in human readable output no longer
being applicable for the deployment completion check.
Changes to use json output instead.
Fixes Bug 1933
Change-Id: I65358c7f472956ed4238a5a61cceb1651d88feff
Signed-off-by: beierlm <mark.beierl@canonical.com>
aticig [Thu, 17 Mar 2022 11:26:50 +0000 (14:26 +0300)]
Fixing wrong type of input in PLA charm restart policy
This fix solves the problem that is "pod is not restarted,
although charm mongodb secret config has changed".
Change-Id: Ifbb8a5e0e986563f42739db7b5669f933be6c5aa
Signed-off-by: aticig <gulsum.atici@canonical.com>
beierlm [Thu, 17 Mar 2022 19:42:27 +0000 (15:42 -0400)]
Bug 1912 Update GPG Signing
Update the CLI arguments for GPG signing so that it reads the passphrase
passed in via the CLI. This is needed as the version of GPG has been updated
and no longer accepts the old CLI arguments.
Fixes bug 1912
Change-Id: I0a850b3f1641edb917624be8fd94be78667d01fd
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Fri, 11 Mar 2022 15:58:35 +0000 (16:58 +0100)]
Update exporters: migration to CharmHub
Also, added kafka_endpoint config to kafka exporter
Change-Id: I24459e33841da33455b6780a4de2c808ddf30d0b
Signed-off-by: David Garcia <david.garcia@canonical.com>
aticig [Wed, 23 Feb 2022 21:34:52 +0000 (00:34 +0300)]
Adding secret overlay in Charmed installer
Changing hardcoded password in charmed installation.
This fix will change the default passwords used in charmed installation
for Prometheus, Mariadb and Keystone.
Change-Id: I8a722d1afbe460831da91f893dc414a4fbd9c239
Signed-off-by: aticig <gulsum.atici@canonical.com>
beierlm [Thu, 10 Mar 2022 11:48:00 +0000 (12:48 +0100)]
Revert "Fix bug 1702 Adding non-root user to run NG-UI"
This reverts commit
b147d7129db4f7cae26a31230af184c958b20683.
Reason for revert: NG-UI Container does not start up due to non-root user
nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
Change-Id: Ibc44fdfe57ca576df70f12f5bb868fe9045990b8
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Thu, 10 Mar 2022 11:14:38 +0000 (06:14 -0500)]
Bug 1903: Better SSH check
Changes the ssh port ready check from a simple 'is the port open?' to
a full ssh login check to ensure that sshd is actually running on the
target server.
Adds timeout to ssh check
Fixes bug 1903
Change-Id: I8c3f0d8e1ac450726bc3336c00e7fbdf405fe067
Signed-off-by: beierlm <mark.beierl@canonical.com>
limon [Tue, 1 Mar 2022 09:44:53 +0000 (10:44 +0100)]
Update K8s Monitoring to support Grafana 8
Change-Id: Ia109036c8cd54cfbc6af27ff2db094abf83ce9bd
Signed-off-by: limon <alimonj@indra.es>
Mark Beierl [Thu, 3 Mar 2022 14:20:19 +0000 (09:20 -0500)]
Fix Docker Push
The variables for module, moduleName, etc are not being created in local
scope, causing the final docker push to re-use the last set value for
the modules.
Change-Id: I635955e5edcc2d94a50cec7749ac87813b5ac6c7
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
preethika.p [Tue, 22 Feb 2022 04:10:41 +0000 (04:10 +0000)]
Fix bug 1702 Adding non-root user to run NG-UI
Change-Id: I8b67e7fb1b0d008187833cfb8c1752a6254f4ccf
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
garciadeblas [Tue, 22 Feb 2022 13:23:57 +0000 (14:23 +0100)]
Updated community installer to use grafana 8.1.1 and prometheus v2.28.1
Change-Id: If64a82ccd300a512e69156101ee413377aaa8f1b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Mon, 21 Feb 2022 10:48:11 +0000 (11:48 +0100)]
CharmHub and new kafka and zookeeper charms
- Charmed installer uses bundles published in CharmHub
- Use new zookeeper and kafka sidecar-charm
- Changes in the charms to integrate with the new Kafka
Change-Id: Ie59fe1c7c72774b317abe2433fafb28a11472b72
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Thu, 17 Feb 2022 08:28:07 +0000 (09:28 +0100)]
Added parameter <to_tag> to tools/check_changes.sh
Before this commit, only the changes in a branch from a tag to the HEAD
were generated. This commit enables listing the changes in a branch from
a tag to another tag or the HEAD of the branch.
Change-Id: I389a7a06b68dc727910afd417e6a74e4d620deab
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Mark Beierl [Fri, 11 Feb 2022 13:56:32 +0000 (08:56 -0500)]
Fix 1704 - Adding non-root user to run LCM
Change-Id: Ic250be888be01b53a2e71127ddd1d2a5cc0edb03
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Mark Beierl [Thu, 10 Feb 2022 15:12:40 +0000 (10:12 -0500)]
Bug 1561 correction
Adjust the method of creating the map for the SSH remote target
as the previous syntax did not provide the intended results.
Change-Id: I448c8b362a6caf2779f0a032ee84f838593d2374
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
David Garcia [Tue, 1 Feb 2022 15:39:44 +0000 (16:39 +0100)]
Charmed OSM: migration to CharmHub
Change-Id: I7dd740b0ed007360767998372f97c53b5269fdf4
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Thu, 10 Feb 2022 02:11:50 +0000 (03:11 +0100)]
Remove old mongo K8s manifest file and references in the installer
Change-Id: Ic60d3f5605fb353a3f70ae58b5836696223dfb87
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 10 Feb 2022 00:43:59 +0000 (01:43 +0100)]
Minor updates in install_osm.sh to avoid warnings
Change-Id: Id91f022f9e368315f9bd67f8d1eeea9028d17f2d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 9 Feb 2022 23:49:51 +0000 (00:49 +0100)]
Fix Dockerfiles to add missing apt-update before apt-install
Change-Id: I639aed00e74c64e770566ce50de10e193e8b8d01
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 31 Jan 2022 23:06:42 +0000 (00:06 +0100)]
Added script to list the changes for the next point release
Change-Id: Id8ba7cc71fb7a5df78242e4f967c2536e6d65219
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 31 Jan 2022 23:01:24 +0000 (00:01 +0100)]
Added tests and SOL005 to the list of repos where to create new tags
Change-Id: I3a768082f622263f405d3905fa43759e135d79d5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 28 Jan 2022 16:04:34 +0000 (17:04 +0100)]
Fix bug 1561 to reformat ci_stage_3.groovy with groovy linter
Change-Id: Ifd073ca75f69d083e2c63cd1e62afc8ab7a6cc47
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 28 Jan 2022 11:22:50 +0000 (12:22 +0100)]
Remove juju controller creation for LXD
Change-Id: I0d4fa2a71296658672dfbaac1a6ef6752ef1a1de
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
aticig [Thu, 3 Feb 2022 13:42:39 +0000 (16:42 +0300)]
Bug 1841: LTS Support K8s upgrade
This fix changes the K8s version to 1.23 in installation scripts.
Change-Id: Id020ece215f62ac9633a5190392350dbb8da515a
Signed-off-by: aticig <gulsum.atici@canonical.com>
garciadeblas [Fri, 28 Jan 2022 10:25:18 +0000 (11:25 +0100)]
Moved snapd installation sooner in the installer
This changes moves the check of snapd package sooner in the installer,
and installs it if missing. It also modifies check_packages function
so that the output is not redirected to /dev/null. Finally, some echos
were added to know the progress of the check.
Change-Id: Iaf058d18aa906068de65e800066752ba3343dda5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 28 Jan 2022 11:17:53 +0000 (12:17 +0100)]
Add verbosity and debug mode to juju bootstrap
Change-Id: If3533f3477776068bc7d4623bb9eca27a9085656
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 28 Jan 2022 16:15:39 +0000 (17:15 +0100)]
Added ctrl_c function to trap user installation interruptions
Change-Id: I81c8f2443557887562512a4cc3b1f3c8ecb33ae9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Fri, 4 Feb 2022 16:14:33 +0000 (11:14 -0500)]
Bug 1878 Speed up Artifactory search
The addition of the build parameter to the Artifactory search results
in what would appear to be a full index scan, taking over 2 minutes
to complete. With this change, we still get the exact artifact
we need, however the search completes in less than 1 second.
Fixes Bug 1878
Change-Id: Ibe5987e06cac39e3651b9dbec61993c0cfb567b8
Signed-off-by: beierlm <mark.beierl@canonical.com>
limon [Wed, 26 Jan 2022 09:49:39 +0000 (10:49 +0100)]
Update K8s Monitoring
Change-Id: Ic4cabf02c9089ba2b00ae2d8c53ab56cbc77a2d1
Signed-off-by: limon <alimonj@indra.es>
beierlm [Tue, 1 Feb 2022 21:46:40 +0000 (16:46 -0500)]
Bug 1873: Artifactory times out
Added a lockable resource semaphore around queries to artifactory
to prevent overloading the server.
Fixes Bug 1873
Change-Id: I17979e7fa5d2ed2405873e7dda588d7104741817
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Fri, 21 Jan 2022 14:01:53 +0000 (14:01 +0000)]
Fix bug 1709 - Adding non-root user to run Keystone
Change-Id: I2a9dadb36039fa3b2e61c8c055a4f86e5c3fd172
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Fri, 21 Jan 2022 12:57:06 +0000 (13:57 +0100)]
Fixed installation issue with kube-flannel.yml
The installation of the local K8s cluster fails when kube-flannel.yml
is not found in the temp folder. The error that we see in the installation is
"error reading [/tmp/flannel.*****]: recognized file extensions are [.json .yaml .yml]"
This commit updates the function deploy_cni_provider to remove the silent
output when getting kube-flannel.yml. In addition, it adds several retries on error.
Finally, the error message has been modified to be more explicit about the error.
Change-Id: Ic030790e60383b75ebe21c7cb4c60485836fab2e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 21 Jan 2022 12:55:25 +0000 (13:55 +0100)]
Revert "Fixed installation issue with kube-flannel.yml"
This reverts commit
5a5c63fa67e23854cec3b61ce54e5bcfd15d3290.
Change-Id: Id90ffd535c69bbe3ab7140bf977fa8a1c78de9cd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Tue, 18 Jan 2022 17:52:23 +0000 (12:52 -0500)]
Bug 1864 Use private key
Changes script to place the private key into the ssh config
instead of public key.
Fixes bug 1864
Change-Id: I2d5204970ebea62aded6fe125b474032d8fb5d34
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Fri, 14 Jan 2022 10:19:16 +0000 (11:19 +0100)]
Fix & text when tracking installation
Change-Id: Ifd7924747a8bea16679736d68026d45efb40e69a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 13 Jan 2022 00:24:15 +0000 (01:24 +0100)]
Fixed installation issue with kube-flannel.yml
The installation of the local K8s cluster fails when kube-flannel.yml
is not found in the temp folder. The error that we see in the installation is
"error reading [/tmp/flannel.*****]: recognized file extensions are [.json .yaml .yml]"
This commit updates the function deploy_cni_provider to remove the silent
output when getting kube-flannel.yml. In addition, it adds several retries on error.
Finally, the error message has been modified to be more explicit about the error.
Change-Id: Ica07bc5b3b76ffb84f7247c436b214b531d8e833
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 12 Jan 2022 08:58:50 +0000 (09:58 +0100)]
Silent output when deleting ns osm in k8s cluster
The installation of the local k8s cluster with install_kubeadm_cluster.sh
raised an error message when deleting the namespace "osm". That NS is
deleted as a previous step to the deployment of OSM pods, just to make sure
that we start from a clean NS.
In principle, the error from kubectl should appear always in clean
installations. For that reason, the output of the command is redirected
to /dev/null to avoid confusion for the end user.
Change-Id: I65b90675194848f3968a9c192427224652e3087f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Thu, 20 Jan 2022 13:39:55 +0000 (08:39 -0500)]
Bug 1841 Partial Revert
Revert the apt proxy in stage 3 as it appears that the cache gets
crossed packages if 2 or more builds run at the same time. Evidence
of problem is hash mismatch on osm_devops deb file during stage 3
Change-Id: Id8680453fd4588ca526ab1ea9cb8a322075e2386
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Wed, 19 Jan 2022 17:13:55 +0000 (12:13 -0500)]
Bug 1841: LTS Support
Change stage 3 base image to Ubuntu 20.04 so we can use
python3.8
Change-Id: I42f9185277b9f081611c550cf0f86235b9bf8e85
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Thu, 13 Jan 2022 15:53:08 +0000 (10:53 -0500)]
Bug 1841: LTS Support
Updates base to Ubuntu 20.04
Updates python to 3.8
Updates pip dependencies to more recent versions
Adds apt cache to stage 2 dockerfile
Fixes bug 1841
Change-Id: I70af3cfab7484d7b284c143d554bef9f0be51812
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Thu, 13 Jan 2022 15:53:08 +0000 (10:53 -0500)]
Bug 1858: Adding APT proxy
Adds apt proxy to build scripts and dockerfiles. Backward compatible
change and proxy will not be used unless environment variable
is supplied to docker build command.
Fixes bug 1858
Change-Id: Ibd25bd1c145b8d43eeb85c5c952aec30ebcce1fc
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Tue, 14 Dec 2021 17:02:30 +0000 (18:02 +0100)]
Update versions of helm3 and kubernetes for OSM community installer
Change-Id: Ibed733d04770f00789f4f0c2ed1faf77ffdb5143
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 14 Dec 2021 16:46:08 +0000 (17:46 +0100)]
LCM Dockerfile updated to use helm 3.7.2 and kubectl 1.20.14
Change-Id: I0c1e4a5d56e7dd8057d10e5636d4ca07d462d364
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
sousaedu [Mon, 13 Dec 2021 22:34:01 +0000 (22:34 +0000)]
Removing Fog05 VIM RO Plugin
Change-Id: Iaff583362ed0421318ae79d0010e81ee5d974de4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Fri, 17 Dec 2021 07:30:59 +0000 (08:30 +0100)]
Fix bug 1833: fix DATA_SOURCE_NAME in mysqld-exporter
Change-Id: I6641aa68aaa920bbe14ca688b984c5591c0ff72d
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 9 Dec 2021 13:47:59 +0000 (08:47 -0500)]
Bug 1648: Update Microstack Installation
Change installation to --devmode instead of --classic
Add --control to the init
Checks for state before creating some objects
Use the admin password generated by MicroStack install script
Update default security group to have fully open access
Update the initial image laod to 20.04
Added creation of an osm-ext network with router to external
Fixes bug 1648
Change-Id: I6038be023bf04f99000b0ac8aeec7f7bcf205204
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 7 Dec 2021 21:15:53 +0000 (16:15 -0500)]
Bug 1530: Limit IP addresses
Adds an exit to the awk command so that only the first IP address is used on
a system that might have more than one IP address on the chosen interface
Fixes bug 1530
Change-Id: I7d5775ed1c1e801a338e048576d5106dc6c3d23a
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 7 Dec 2021 21:02:22 +0000 (16:02 -0500)]
Bug 1531: Check for packages
Fixes logic to check for packages. Originally based on dpkg -l, which could
return packages that were once installed, then removed. Instead a new function
has been created that takes a list of packages to check and uses dpkg -L, which
will return an error if a package is not, or no longer, installed
Fixes bug 1531
Change-Id: Id096cf969aacca62dc7783b803e7925c796e325d
Signed-off-by: beierlm <mark.beierl@canonical.com>
veleza [Mon, 22 Nov 2021 11:26:50 +0000 (11:26 +0000)]
Reports now available on qhttpd server
Change-Id: I3f946e7e13554e7cab74993fabfaae54e04d453e
Signed-off-by: veleza <axel.velez@etsi.org>
garciadeblas [Fri, 3 Dec 2021 10:37:40 +0000 (11:37 +0100)]
Fix bug 1819 to report correctly osm_unhealthy
Change-Id: I5ca8b030f9124a35325876a5e88752483f668f50
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
sousaedu [Mon, 29 Nov 2021 09:46:14 +0000 (09:46 +0000)]
Fix bug 1807 - Disabling RO OpenNebula plugin
Change-Id: I2d7a6256249ff4b2688b6fc5126ffe435757cfe1
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
garciadeblas [Thu, 25 Nov 2021 10:57:18 +0000 (11:57 +0100)]
Fix propagation of failures in installer scripts
Change-Id: Ie83a4c9284ea63b40c37975da261634f930b6317
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 24 Nov 2021 17:28:51 +0000 (18:28 +0100)]
Prevent tests Dockerfile to use cache of osm-packages repo
Change-Id: I867590f408bb401f7bd66785645f7d185ce6861e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>