osm/devops.git
15 months agoChanging charmed installer to use 10.0/stable 64/12464/9 v10.0
aticig [Wed, 17 Aug 2022 15:45:08 +0000 (18:45 +0300)]
Changing charmed installer to use 10.0/stable
Fixing black error in keystone charm

OSM bundles are modified to deploy osm charms from 10.0/stable.

Change-Id: I58d987286722431150424f1f8ddce6341754fa73
Signed-off-by: aticig <gulsum.atici@canonical.com>
17 months agoMove to Juju 2.9.43 68/13568/1
Guillermo Calvino [Thu, 22 Jun 2023 08:37:57 +0000 (10:37 +0200)]
Move to Juju 2.9.43

Change-Id: Ib2e7fa732a23cb1e0378f50f909f152aa2516a54
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
18 months agoBug 2244 - Kafka-k8s and Zookeeper-k8s are not deployed properly in Charmed OSM 81/13381/2
Guillermo Calvino [Fri, 12 May 2023 11:07:38 +0000 (13:07 +0200)]
Bug 2244 - Kafka-k8s and Zookeeper-k8s are not deployed properly in Charmed OSM

Change-Id: I5b99bc39d30b67e3200f23ae7611ddbf646d418a
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
19 months agoFix docker tag in stage3 to coexist with periodic clean-up 83/13183/1
garciadeblas [Thu, 23 Mar 2023 13:04:09 +0000 (14:04 +0100)]
Fix docker tag in stage3 to coexist with periodic clean-up

Change-Id: I1ce9a5de84e0bcedd7abaecfa0fb6d753b853cb7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
20 months agoSet K8s 1.26 in charmed OSM installation 67/13067/1
Patricia Reinoso [Tue, 14 Mar 2023 16:06:32 +0000 (16:06 +0000)]
Set K8s 1.26 in charmed OSM installation

storage is deprecated: replaced by hostpath-storage

Change-Id: I11dd6fc2c18f89c289ad80da696929a7c0236d63
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
23 months agoAdding logging around repo 22/12722/1 v10.1.3 v10.1.4 v10.1.5
Mark Beierl [Thu, 24 Nov 2022 19:25:25 +0000 (14:25 -0500)]
Adding logging around repo

Adding some tree commands and lsof to check on the repo directory
as it does not always get removed properly

Change-Id: I961169a52c4d357c29fe6206e9314410ff5b0f6d
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoMinor fix in stage3 during push to dockerhub 30/12630/1
garciadeblas [Mon, 3 Oct 2022 14:16:56 +0000 (16:16 +0200)]
Minor fix in stage3 during push to dockerhub

Change-Id: I54fb53d2e58443fe0900c1e0111bebaa6daf9d16
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoBug 2185: Wait for cloud init 11/12611/1
Mark Beierl [Tue, 25 Oct 2022 15:27:47 +0000 (11:27 -0400)]
Bug 2185: Wait for cloud init

Adds an explicit wait for cloud-init to finish before
proceeding with installation

Change-Id: Iafe6f838f278439c5e73655d5ce58bf56d2cad55
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoCorrect order for Grafana 17/12417/1 v10.1.2
Mark Beierl [Fri, 29 Jul 2022 19:52:35 +0000 (15:52 -0400)]
Correct order for Grafana

Change-Id: I225cb160149b875982021e8855a2c68f39f218f7
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoJenkins refresh 85/12385/1
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>
2 years agoFix Dockerfiles to add missing apt-update before apt-install 13/12313/2
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>
2 years agoFix bug 2115 to pin MetalLB version in OSM install script 30/12330/1
aguilard [Wed, 13 Jul 2022 09:26:59 +0000 (11:26 +0200)]
Fix bug 2115 to pin MetalLB version in OSM install script

Change-Id: Ie204ec54165fb129605f1e56b364044bb6cfac2f
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
2 years agoBug 2082: Store Snapcraft Crdentials as Secret 16/12216/1
beierlm [Fri, 17 Jun 2022 17:18:17 +0000 (17:18 +0000)]
Bug 2082: 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 2082

Change-Id: Icb78ac46c83bdab1176c9316482f713f7bd89e4b
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoBetter release note check 75/12175/2 v10.1.1
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>
2 years agoFix bug 2059: Update lxd-credentials file 57/12157/2 v10.1.1rc2
David Garcia [Wed, 1 Jun 2022 11:01:43 +0000 (13:01 +0200)]
Fix bug 2059: Update lxd-credentials file

Change-Id: I41b90c4010bf1dfe553a3d81bddf7bcef5f08b35
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoBug 1903: Better SSH check 31/12131/1 v10.1.1-rc1
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>
2 years agoAdd track to charmed install 24/12124/2
beierlm [Tue, 24 May 2022 20:30:21 +0000 (16:30 -0400)]
Add track to charmed install

In master, there is a track function that is its own bash script.  In
v10.0 this needs to be added to the installer source code directly

Change-Id: I81b001439b157671a27be0faf723dde5f755dc1d
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoUpdate keystone version to 18.1 18/12118/1
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>
2 years agoAdd tool upload-installer.sh to upload installer to FTP server 23/11923/3
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>
2 years agoAdd checking of status of local http server used to serve deb packages 22/11922/3
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>
2 years agoFix typo 67/12067/1
beierlm [Tue, 17 May 2022 15:29:02 +0000 (11:29 -0400)]
Fix typo

Due to manual cherry pick and conflict resolution of
https://osm.etsi.org/gerrit/c/osm/devops/+/12030
an extra 'exit 0' was added.  This change removes it.

Change-Id: Ic5c538ad1df203e50a9a77c79e98e157d77c0d85
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoProper tracking of Charmed Install 30/12030/1
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>
2 years agoUse juju version 2.9.29 15/12015/1
David Garcia [Fri, 6 May 2022 11:17:42 +0000 (13:17 +0200)]
Use juju version 2.9.29

- Fix bug 2018
Change-Id: I122eaa9c2c82ddbe00ee529ac3944cc666dc4a52
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoUpdate install_osm.sh to solve the issue with no valid OpenPGP data found 07/11907/1
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>
2 years agoFixes Bug 1993 -substitutes NTP with Chrony 03/11903/2
João Pedro Fonseca [Wed, 20 Apr 2022 22:06:26 +0000 (23:06 +0100)]
Fixes Bug 1993 -substitutes NTP with Chrony

Change-Id: Ife2fd73ee18165b7b869e15ceee1cdd0b1b75dbc
Signed-off-by: João Pedro Fonseca <jpedrofonseca@ua.pt>
2 years agoBug 1934: Fix ready check 90/11790/1
beierlm [Fri, 25 Mar 2022 16:23:36 +0000 (12:23 -0400)]
Bug 1934: 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 1934

Change-Id: I65358c7f472956ed4238a5a61cceb1651d88feff
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 67a3447f8a7a25812b4efecfd9be5dafd4f0e293)

2 years agoBug 1912 Update GPG Signing 62/11762/1
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>
(cherry picked from commit 0678de06317f49da496226587772a23635e3728c)

2 years agoCharmed OSM preparation for 10.1.0 44/11744/3 v10.1.0
David Garcia [Fri, 11 Mar 2022 16:23:25 +0000 (17:23 +0100)]
Charmed OSM preparation for 10.1.0

- Update images in bundles
- Use juju 2.9.25
- Use candidate charms

Change-Id: Ic722d9fcf863ac200170e896c4ba8ca3b350fb7f
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoUpdate K8s Monitoring to support Grafana 8 29/11729/1 v10.1.0rc3
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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdate K8s Monitoring 28/11728/1
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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUpdated community installer to use grafana 8.1.1 and prometheus v2.28.1 27/11727/1
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>
2 years agoAdd Granafa Password 18/11718/1 v10.1.0rc2
Mark Beierl [Fri, 4 Mar 2022 12:24:01 +0000 (07:24 -0500)]
Add Granafa Password

Retrives the Grafan password from Grafana and configures MON to
have it for initial set up

Change-Id: Ib08be45911ea3c6da07bc1cb54c398a05f9730de
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoChange prometheus folder permissions in prometheus pod 16/11716/1 v10.1.0-rc1
garciadeblas [Tue, 1 Mar 2022 15:37:08 +0000 (16:37 +0100)]
Change prometheus folder permissions in prometheus pod

Change-Id: Id77a6ab6ba70c90abd87a76eb505e08f2d3ba7ac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug with SA08 when updating prometheus.yaml 14/11714/2
garciadeblas [Mon, 28 Feb 2022 16:05:09 +0000 (17:05 +0100)]
Fix bug with SA08 when updating prometheus.yaml

Change-Id: I167bf1adfa0d9abb02e143f56f5ed70217d1dbb1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUse OSM bundles from CharmHub 06/11706/2
David Garcia [Wed, 23 Feb 2022 16:00:31 +0000 (17:00 +0100)]
Use OSM bundles from CharmHub

Change-Id: I88a1c3c7b6d7118b6879a0a5b145fd14f86d9100
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agoFix bug 1704 - Adding non-root user to run LCM 97/11697/1
garciadeblas [Mon, 21 Feb 2022 23:04:09 +0000 (00:04 +0100)]
Fix bug 1704 - Adding non-root user to run LCM

Change-Id: I3738bbafdc238c56a51376c79454cb1ebbc384e5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRevert "Fix bug 1704 - Adding non-root user to run LCM" 96/11696/1
garciadeblas [Mon, 21 Feb 2022 23:00:32 +0000 (00:00 +0100)]
Revert "Fix bug 1704 - Adding non-root user to run LCM"

This reverts commit 9e3816c795590c934a228af35102d307351a77db.

Change-Id: I24643c2d1d1e260f2f311d057a8a4e0ae904789a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix 1705 - Adding non-root user to run RO 85/11685/2
beierlm [Tue, 15 Feb 2022 16:33:36 +0000 (11:33 -0500)]
Fix 1705 - Adding non-root user to run RO

Change-Id: I5166c695304f7caa0f1781105eab143bf37d071b
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix 1703 - Adding non-root user to run NBI 83/11683/2
beierlm [Tue, 15 Feb 2022 16:30:56 +0000 (11:30 -0500)]
Fix 1703 - Adding non-root user to run NBI

The idea behind this is to run NBI as a non-root user for security
reasons. This required the creation of a new user in the container
image and setting permissions acordingly.

Change-Id: Idf967204b19818ad623c67a19c134cd78a97b9dc
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix 1706 - Adding non-root user to run MON 82/11682/2
beierlm [Tue, 15 Feb 2022 16:29:21 +0000 (11:29 -0500)]
Fix 1706 - Adding non-root user to run MON

Change-Id: I38ac2da20967e5fff6f63277248599576a45d80d
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix 1707 - Adding non-root user to run POL 84/11684/1
beierlm [Tue, 15 Feb 2022 16:32:13 +0000 (11:32 -0500)]
Fix 1707 - Adding non-root user to run POL

Change-Id: Id03b6350c1db72f1968c1550bb0f54c8269a5509
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix bug 1704 - Adding non-root user to run LCM 79/11679/2
sousaedu [Thu, 14 Oct 2021 02:09:29 +0000 (03:09 +0100)]
Fix bug 1704 - Adding non-root user to run LCM

Change-Id: I871b4e73136206b39b8d4d4f32c2ee457797de0c
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1708 - Adding non-root user to run PLA 78/11678/2
sousaedu [Tue, 9 Nov 2021 23:59:54 +0000 (23:59 +0000)]
Fix bug 1708 - Adding non-root user to run PLA

Change-Id: I4c22ceb50c953f75654670fdd1b35e55e90db280
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1709 - Adding non-root user to run Keystone 72/11672/1
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>
(cherry picked from commit 9d1d0c13292004487f57c7fd1ed8fb23d604725a)

2 years agoBug 1841: LTS Support update helm version in community installer 60/11660/1
aticig [Thu, 10 Feb 2022 12:16:04 +0000 (15:16 +0300)]
Bug 1841: LTS Support update helm version in community installer

Updating Helm3 version in Community Installer

Change-Id: I1d6ca146da2a00e13623303d64c015506e602fe5
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoBug 1841: LTS Support K8s, Helm upgrade 27/11627/6
aticig [Fri, 4 Feb 2022 12:36:26 +0000 (15:36 +0300)]
Bug 1841: LTS Support K8s, Helm upgrade

This fix upgrades the K8s to 1.23 and Helm to 3.7.2.

Change-Id: I9d7c2cc58110b070a81b7c8315eb17717c6e90bf
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoBug 1880 Speed up Artifactory search 31/11631/1
beierlm [Fri, 4 Feb 2022 16:14:33 +0000 (11:14 -0500)]
Bug 1880 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 1880

Change-Id: Ibe5987e06cac39e3651b9dbec61993c0cfb567b8
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 499b442f67119589220a1ff144e3b26a9b7714ed)

2 years agoBug 1877: Artifactory times out 26/11626/1
beierlm [Tue, 1 Feb 2022 21:46:40 +0000 (16:46 -0500)]
Bug 1877: Artifactory times out

Added a lockable resource semaphore around queries to artifactory
to prevent overloading the server.

Fixes Bug 1877

Change-Id: I17979e7fa5d2ed2405873e7dda588d7104741817
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit f83c20ab3304291aca8224ebe2dd88b58b5dc1b4)

2 years agoUpdate stage 3 base image 23/11623/1
David Garcia [Mon, 28 Jun 2021 14:50:42 +0000 (16:50 +0200)]
Update stage 3 base image

While the base image can be set via the Jenkins job parameters,
the code to use that parameter was not present in the v10 branch.
This change uses the OPENSTACK_BASE_IMAGE parameter

Change-Id: I229cdca38e605b419a7528031fec542049311c48
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFeature 10884: Juju 2.9 support 21/11621/1
David Garcia [Mon, 28 Jun 2021 14:50:42 +0000 (16:50 +0200)]
Feature 10884: Juju 2.9 support

OSM LTS 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>
2 years agoBug 1841: LTS Support 91/11591/1
beierlm [Wed, 26 Jan 2022 15:18:21 +0000 (10:18 -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
Change stage 3 base image to Ubuntu 20.04 so we can use
python3.8

Fixes bug 1841

Change-Id: I442d0ecf09f033946bbbc3301fd8de54382a4195
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoRemoving Fog05 VIM RO Plugin 97/11497/1
sousaedu [Tue, 14 Dec 2021 13:53:43 +0000 (13:53 +0000)]
Removing Fog05 VIM RO Plugin

Change-Id: I1635637f390f4ec9748d48d3940088b31435e079
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1810 - Disabling RO OpenNebula plugin 55/11455/1
sousaedu [Mon, 29 Nov 2021 09:46:14 +0000 (09:46 +0000)]
Fix bug 1810 - Disabling RO OpenNebula plugin

Change-Id: I2d7a6256249ff4b2688b6fc5126ffe435757cfe1
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoMove NG-UI Dockerfile to use a build stage 70/11370/1
sousaedu [Thu, 18 Nov 2021 13:15:38 +0000 (13:15 +0000)]
Move NG-UI Dockerfile to use a build stage

Change-Id: I23685d6fea5a61048b367981468a91fcd8de0473
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1742 to update helm repo before installing metallb 10/11310/3
garciadeblas [Mon, 8 Nov 2021 10:34:15 +0000 (11:34 +0100)]
Fix bug 1742 to update helm repo before installing metallb

Change-Id: I6cf974478d173f786f5a601fabc2877023ad82e7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bug 1681 to run stage-test only if changes in installer charms 06/11306/3
garciadeblas [Sun, 3 Oct 2021 22:03:32 +0000 (00:03 +0200)]
Fix bug 1681 to run stage-test only if changes in installer charms

Change-Id: I36e66bd52b535f4f6aa97f877b6d17d9d34cd63a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bug 1779 - Adding openstack client to Keystone dockerfile 66/11366/1
sousaedu [Tue, 16 Nov 2021 23:16:09 +0000 (23:16 +0000)]
Fix bug 1779 - Adding openstack client to Keystone dockerfile

Change-Id: Ia4d8fc323a8d9b8a64810b676d4cb206d5fcd01f
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoAdd NTP Sync 62/11362/1
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 1775

Change-Id: I7cec55cdedcf53f6206ee54959dea4f8f1cfeb65
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit b59bd0dbeec7956585b656606ae03f8f294c5d45)

3 years agoFix bug 1755: update keystone dockerfile to ubuntu 20.04 28/11328/2
bravof [Wed, 20 Oct 2021 14:48:16 +0000 (11:48 -0300)]
Fix bug 1755: 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>
3 years agoFix bug 1743: Pin juju version to 2.8.13 34/11334/1
David Garcia [Thu, 11 Nov 2021 14:43:24 +0000 (15:43 +0100)]
Fix bug 1743: Pin juju version to 2.8.13

Change-Id: I51ce772e0d899d036e4dcb60c7008bc0a118d7da
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix bug 1727: fix metallb ip range 02/11302/2
David Garcia [Wed, 3 Nov 2021 10:31:18 +0000 (11:31 +0100)]
Fix bug 1727: 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>
3 years agoUpdate K8s version for community installer to 1.20.11 39/11239/2 v10.0.3
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>
3 years agoClean-up of apt information in docker layers 38/11238/2
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>
3 years agoPin version of LXD to latest LTS, juju 2.8.11 and microk8s 1.20 36/11236/3
David Garcia [Tue, 5 Oct 2021 14:13:08 +0000 (16:13 +0200)]
Pin version of LXD to latest LTS, juju 2.8.11 and microk8s 1.20

Change-Id: I31f5540e0d8991006e8b3767a94fe4126945cafb
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agojujudatafolder variable is removed at line 539 24/11224/3
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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoRemoving juju installation in the jenkins pipeline 23/11223/3
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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoUpdate MON and LCM Dockerfile to install ca-certificates in the appropriate docker... 20/11220/3
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>
3 years agoFixed error in ci_stage_3.groovy file 22/11222/2
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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdd private key to docker/tests to access OSM instance 08/11208/1
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>
3 years agoFix bug 1664 to remove LW-UI from newtag.sh 82/11182/1
garciadeblas [Wed, 15 Sep 2021 11:42:34 +0000 (13:42 +0200)]
Fix bug 1664 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: I9ae444ffd27b3c970a472d741a90f56041cdb802
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bug 1653 to update osm_health increasing time_for_failure 54/11154/2 v10.0.2
garciadeblas [Tue, 7 Sep 2021 16:58:35 +0000 (18:58 +0200)]
Fix bug 1653 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>
3 years agoFix bug 1654 to ensure that OSM is healthy after installation 52/11152/2
ramonsalguer [Thu, 16 Jul 2020 12:42:04 +0000 (14:42 +0200)]
Fix bug 1654 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>
3 years agoPin LXD version to 4.17 61/11161/1
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>
3 years agoUpgrading setuptools to 51.0.0 32/11132/3
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>
3 years agoFix bug 1647: OpenEBS error in OSM installer 41/11141/2
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>
(cherry picked from commit fdbe776e9bb9e43f7d4dc0f8c023b93d258666e2)

3 years agoFix bug 1634 - Pinning packages to major version 06/11106/1
sousaedu [Thu, 12 Aug 2021 14:35:51 +0000 (15:35 +0100)]
Fix bug 1634 - Pinning packages to major version

Change-Id: Iea7fd8ebfd7de5033a2ff0197a1a5f1bc53f48b4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix for Bug 1625: Build failed due to upstream dependency not found 01/11101/6
palsus [Wed, 4 Aug 2021 18:12:21 +0000 (18:12 +0000)]
Fix for Bug 1625: Build failed due to upstream dependency not found

Change-Id: I719c106e6f2fb92c6f00d2f9595715e1a30c7362
Signed-off-by: palsus <subhankar.pal@altran.com>
3 years agoFix bug 1617 - adding start script to LCM to install CA certificates 92/11092/3
sousaedu [Fri, 30 Jul 2021 09:52:48 +0000 (11:52 +0200)]
Fix bug 1617 - adding start script to LCM to install CA certificates

Change-Id: I900b8e7db66924e8f12dbc6ce3b9a10cbc14f160
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1601 - checking for db user keystone creation 79/11079/1
sousaedu [Wed, 28 Jul 2021 10:08:43 +0000 (12:08 +0200)]
Fix bug 1601 - checking for db user keystone creation

Change-Id: Ibe382eaec6b2afefe3743cc818a75f60983bfcaa
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoAdding Juju in the pipeline for Robot tests 35/11035/1 v10.0.1
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>
(cherry picked from commit 20611225b7c1283bc5ce1572b5515e898c6df2b5)

3 years agoFix bug 1559 to update installers and manifests for Release TEN 71/10971/2
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>
3 years agoFix bug 1571 - Certificate for LDAPS not written if TLS is disabled in Keystone 18/11018/5
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>
3 years agofix deploy ng-ui 21/11021/1
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>
3 years agoFix bug 1570 - Escaping spaces in Keystone LDAP config 16/11016/1
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>
3 years agoFix bug 1558 to add DEVOPS_PATH default value to install_osm.sh 70/10970/3
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>
3 years agoPin osmclient and tag in charmed installer 12/11012/1
David Garcia [Tue, 15 Jun 2021 11:14:27 +0000 (13:14 +0200)]
Pin osmclient and tag in charmed installer

Change-Id: Ibbfe59dcb5fb0c9c6d8a4f8c0aa282614776aa46
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoUpdate osm bundles to cs:osm-66 and cs:osm-ha-51 83/10983/2
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>
3 years agoFix 1539: Helm v2.17.0 and set default value for stablerepourl 43/10943/1 v10.0.0
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>
(cherry picked from commit 1d5c221862067b3b5b6e0555dcc4eb6c34e9a9f9)

3 years agoNG-UI Update nginx for CVE 41/10941/1
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>
(cherry picked from commit f6ec22e2e4bc832511a4b7da112826e032e187c8)

3 years agoRemoval of openvim 64/10864/2 release-v10.0-start
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>
3 years agoMoving exporter charms to use opslib 38/10838/4
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>
3 years agoFixing mongodb_uri in NBI/LCM for storage 22/10822/1
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>
3 years agoUpdate OSM bundles to cs:osm-63 and cs:osm-ha-48 05/10805/1
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>
3 years agoRemove juju binary from LCM image 95/10795/3
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>
3 years agoSecurity patch 98/10798/1
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>
3 years agoFixing Prometheus Backup path 97/10797/2
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>
3 years agoAdd port mapping file to stage3 and mount it in docker tests 35/10635/3
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>
3 years agoDo not throw error if robot test result is unstable 89/10789/2
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>
3 years agoModify pass threshold to 100 for stage3-patch workflow 84/10784/1
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>
3 years agoAdd integration between pol and mysql charms 81/10781/4
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>