sousaedu [Wed, 4 Nov 2020 18:48:17 +0000 (18:48 +0000)]
Refactoring POL Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in pol-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: Ib21779c5fc781cbb5901351ccf02ca5f9b36b181
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Wed, 4 Nov 2020 17:43:47 +0000 (17:43 +0000)]
Refactoring MON Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in mon-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: I57337260579975a1d07157d616acac5bcbef0577
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Wed, 4 Nov 2020 15:13:35 +0000 (15:13 +0000)]
Refactoring LCM charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in lcm-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: Iae2a0e59e74fab8820d2a9a0ef3f3ec449349dbe
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 17 Nov 2020 14:30:47 +0000 (14:30 +0000)]
Updating unit tests for NBI charm
Change-Id: I21f92498364691c225164faa580788e07e133f47
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
lloretgalleg [Mon, 16 Nov 2020 10:27:49 +0000 (10:27 +0000)]
Added helm3 installation to LCM docker
Change-Id: Ifd538622dbc35bc227f0da06cfab5a58f480e179
Signed-off-by: lloretgalleg <illoret@indra.es>
David Garcia [Thu, 12 Nov 2020 14:30:56 +0000 (15:30 +0100)]
Add grafana config options to MON charm
Added options:
- grafana_url
- grafana_user
- grafana_password
Change-Id: Ifa152297aaac876c86f36a1a5dace01491538145
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Wed, 11 Nov 2020 17:06:31 +0000 (17:06 +0000)]
Logging data validation exceptions in NBI charm
Change-Id: Ie818fd1c7092b64b61ddac5184c5d817a7880f46
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Wed, 11 Nov 2020 15:53:07 +0000 (16:53 +0100)]
Add kubernetes to LCM dockerfile
Change-Id: Icf834e20527f3489481d0b97af8bb0fc31980c14
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 11 Nov 2020 11:51:38 +0000 (12:51 +0100)]
Add missing annotation to the nbi charm
Change-Id: I85aa5d066eb7e18995a22c1cc2e9a5fe6f021dd7
Signed-off-by: David Garcia <david.garcia@canonical.com>
sousaedu [Tue, 13 Oct 2020 22:46:51 +0000 (23:46 +0100)]
Refactoring NBI Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in nbi-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: I25b94d205d2a004946189a231b5309da1deaa8ed
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Mon, 19 Oct 2020 13:42:42 +0000 (15:42 +0200)]
Use mongodb charm in k8s installer
- Update JUJU_AGENT_VERSION to 2.8.6
- Use mongodb charm and update needed osm pod specs to point at it
Change-Id: I7c03ae7de6611fcacef35716646ff08bfc1ff988
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 5 Nov 2020 22:04:05 +0000 (17:04 -0500)]
Adding registry flag
Allow alternate registry to be supplied, with optional credentials.
If registry is just host:port/path, no credentials will be used
If user:pass@host:port/path, user and pass will be supplied as
credentials.
Change-Id: I8acf67b2916fea059fb306782388910e543b4046
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 4 Nov 2020 17:34:41 +0000 (18:34 +0100)]
Add image_username and image_password to charms
This commit will allow us to pull images for OSM components from a
private docker registry, protected with username and password
Change-Id: I854028d6abbb1cae07c61692ba73d08825763212
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Fri, 23 Oct 2020 08:40:20 +0000 (10:40 +0200)]
Feature 9912: Kubernetes VCA in K8s installation
Changes:
- bootstrap juju to k8s
- add lxd as external cloud
- iptables are not needed anymore
- expose the vca to the outside using metallb
Change-Id: I15b33cbf621af00c53c4f12836500aecafcfcb9a
Signed-off-by: David Garcia <david.garcia@canonical.com>
fonsecaj [Thu, 29 Oct 2020 19:04:26 +0000 (19:04 +0000)]
Fixes Bug 1275 and Bug 1273 - aiokafka>0.7.0 needs extra dependency for python < 3.7.0
Change-Id: I5226e1d790c37d889fac2e6d8285f41f033e9529
Signed-off-by: fonsecaj <jpedrofonseca@av.it.pt>
beierlm [Fri, 23 Oct 2020 18:54:56 +0000 (14:54 -0400)]
Merge branch 'v8.0'
Change-Id: I96d3bae3abca7b2a5f66bca591b4358d6c921f3d
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 21 Oct 2020 14:12:04 +0000 (16:12 +0200)]
Pin libjuju to 2.8.4
Change-Id: I7fbc227561744283569942d320f3a35307c6ee9f
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Fri, 16 Oct 2020 16:53:51 +0000 (12:53 -0400)]
Fixes bug 1254 and bug 1247
Update the ingress rules to be explicit about version to avoid
extensions/v1beta1 Ingress is deprecated in v1.14+ message.
Use kubectl annotate instead of kubectl replace.
Ensure microk8s is in ready state before installing juju.
Report error if non-existing vca is requested.
Expose prometheus and grafana.
Change-Id: I0a8aa78c5c9be3163918c0b08b38b4c47d8fae6c
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Tue, 20 Oct 2020 00:15:37 +0000 (01:15 +0100)]
Adding extra LDAP configurations to Keystone docker
Adding the following configuration options:
- chase_referrals
- page_size
- group_tree_dn
- group_objectclass
Change-Id: Ibcfb6cd1ebb11db6081c229d35ac44c8ae2c5a3f
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Tue, 20 Oct 2020 00:06:32 +0000 (01:06 +0100)]
Adding extra LDAP configuration options to Keystone charm
Adding the following configuration options:
- chase_referrals
- page_size
- group_tree_dn
- group_objectclass
Change-Id: I413de917a5d31142527f7136e24eceef457f013b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Fri, 16 Oct 2020 16:53:51 +0000 (12:53 -0400)]
Fixes bug 1254 and bug 1247
Update the ingress rules to be explicit about version to avoid
extensions/v1beta1 Ingress is deprecated in v1.14+ message.
Use kubectl annotate instead of kubectl replace.
Ensure microk8s is in ready state before installing juju.
Report error if non-existing vca is requested.
Expose prometheus and grafana.
Change-Id: I0a8aa78c5c9be3163918c0b08b38b4c47d8fae6c
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Fri, 9 Oct 2020 23:25:26 +0000 (00:25 +0100)]
Adding HA support for Keystone charm
Change-Id: I691154ef2952bc124d7ddb689e39455c213c2a4b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
beierlm [Fri, 16 Oct 2020 21:05:14 +0000 (23:05 +0200)]
Revert "Workaround for Bug 1262"
This reverts commit
69b532b05f993931ce73b997de85123a7da09d35.
Reason for revert: LW-UI has been updated via these changes:
https://osm.etsi.org/gerrit/c/osm/devops/+/9869
https://osm.etsi.org/gerrit/c/osm/LW-UI/+/9870
Change-Id: I4eea04dd3ab519fe401d100b34738c39f3d244d9
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Fri, 16 Oct 2020 11:25:57 +0000 (11:25 +0000)]
Fix bug 1262: docker build updates to use latest npm and ubuntu1804
Change-Id: I63a0b1ae854e6bd3173c938b04d6c1793412780f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit
0eb6c8b8eb96a05fda9543e53db046ad4d92399f)
beierlm [Fri, 16 Oct 2020 19:47:19 +0000 (21:47 +0200)]
Revert "Workaround for Bug 1262"
This reverts commit
c3a33005ded347572dcf09d49df469ac88a67db7.
Reason for revert: LW-UI has been updated via these changes:
https://osm.etsi.org/gerrit/c/osm/devops/+/9851
https://osm.etsi.org/gerrit/c/osm/LW-UI/+/9829
Change-Id: I3a53718237bc7318e9caf2a56e72b12fa9db8a7b
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Fri, 16 Oct 2020 11:25:57 +0000 (11:25 +0000)]
Fix bug 1262: docker build updates to use latest npm and ubuntu1804
Change-Id: I63a0b1ae854e6bd3173c938b04d6c1793412780f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Antonio Marsico [Thu, 8 Oct 2020 15:34:07 +0000 (17:34 +0200)]
Fix bug 1128
Resolves Light-UI and NG-UI deployed at the same time
Change-Id: I07f97714dba9adf48df121b7f61c19c10960a93a
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
(cherry picked from commit
25aca0c601f202d8a0341fc436553ed4dbc77462)
beierlm [Wed, 14 Oct 2020 11:25:16 +0000 (07:25 -0400)]
Workaround for Bug 1262
Disable the build of light-ui until it can be updated with a newer
version of Ubuntu, Python 3 and NPM.
Change-Id: I6ed11216c4ba71fd784c113342d49bd941349fd3
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit
c3a33005ded347572dcf09d49df469ac88a67db7)
beierlm [Wed, 14 Oct 2020 11:25:16 +0000 (07:25 -0400)]
Workaround for Bug 1262
Disable the build of light-ui until it can be updated with a newer
version of Ubuntu, Python 3 and NPM.
Change-Id: I6ed11216c4ba71fd784c113342d49bd941349fd3
Signed-off-by: beierlm <mark.beierl@canonical.com>
Antonio Marsico [Thu, 8 Oct 2020 15:34:07 +0000 (17:34 +0200)]
Fix bug 1128
Resolves Light-UI and NG-UI deployed at the same time
Change-Id: I07f97714dba9adf48df121b7f61c19c10960a93a
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
David Garcia [Thu, 1 Oct 2020 16:41:57 +0000 (18:41 +0200)]
Pin libjuju versions to 2.8.4
Change-Id: I10afc20b8e4b5099cbf3867b644b589702cabcf8
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Wed, 30 Sep 2020 10:03:45 +0000 (06:03 -0400)]
Revert Juju Version
Pins the Juju agent version to 2.8.1 as the model cleanup can
timeout, but this does not happen in master where the version
is 2.8.1
Bug 1216
Change-Id: I223be2e36cc11ce045aaeffa2c164e592d96ec12
Signed-off-by: beierlm <mark.beierl@canonical.com>
Dominik Fleischmann [Fri, 25 Sep 2020 10:17:54 +0000 (12:17 +0200)]
Bug 1233: Accept vca argument in installer script
This fixes bug 1233 which caused the full_install_osm.sh
to not recognize the vca argument which is for the charmed
installation.
Bug: https://osm.etsi.org/bugzilla/show_bug.cgi?id=1233
Change-Id: Id5c653fa7ea543d946bdd7ae4fcdad3d431e9099
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
beierlm [Thu, 24 Sep 2020 19:27:53 +0000 (15:27 -0400)]
Pin Juju 2.8.3
Updates the juju version and also pins the charmed bundle
versions.
Increases the install timeout by checking for 10 minutes
where no services progress at all, vs 10 minutes total
time.
Fixes bug 1229
Change-Id: I95db91162ad646a2d04b351558ae5f8b64ea579c
Signed-off-by: beierlm <mark.beierl@canonical.com>
sousaedu [Wed, 23 Sep 2020 12:28:25 +0000 (13:28 +0100)]
Adding LDAP support for Keystone charm
Change-Id: Ic07622ef2332943479d1e9212f9d968ba6554ead
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
David Garcia [Tue, 1 Sep 2020 08:12:16 +0000 (10:12 +0200)]
Fix juju status in OSM Charms
Change-Id: Iab33813f81c394f2444fb9407b4fab4b70929c90
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Tue, 22 Sep 2020 09:40:46 +0000 (09:40 +0000)]
fix 1220: LCM Dockerfile remove grpcio-tools grpclib
These dependencies are installed with the debian python3-osm-lcm
package, using a post-install script. This script get the
required version.
Removed other packages not needed
Change-Id: I6472e756cb3da32632ca18a9d165ef2e8ec7d270
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 22 Sep 2020 09:40:46 +0000 (09:40 +0000)]
fix 1220: LCM Dockerfile remove grpcio-tools grpclib
These dependencies are installed with the debian python3-osm-lcm
package, using a post-install script. This script get the
required version.
Removed other packages not needed
Change-Id: I6472e756cb3da32632ca18a9d165ef2e8ec7d270
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
beierlm [Tue, 15 Sep 2020 20:00:34 +0000 (16:00 -0400)]
Pin Juju Version
Pins the agent version of juju to ensure consistent
behaviour.
Change-Id: I7112638fd02bc9ab9e6be5aa18481f93dd955f3a
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 15 Sep 2020 20:00:34 +0000 (16:00 -0400)]
Pin Juju Version
Pins the agent version of juju to ensure consistent
behaviour.
Change-Id: I7112638fd02bc9ab9e6be5aa18481f93dd955f3a
Signed-off-by: beierlm <mark.beierl@canonical.com>
endika [Fri, 11 Sep 2020 13:19:52 +0000 (15:19 +0200)]
Execute docker health commands with docker group
Fixes bug #1205
Change-Id: Iccf15a31c4925421820e25d7c0821e322955267a
Signed-off-by: endika <endika.aldecoa@ehu.eus>
David Garcia [Thu, 27 Aug 2020 14:53:44 +0000 (16:53 +0200)]
Add keystone charm and interface
- Bundles updated
- Installer updated
Change-Id: I0f8e9aafd51e9579159f9166864eb8634292f99c
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 3 Sep 2020 18:02:30 +0000 (14:02 -0400)]
Allow more image types
Removes need for license from .tiff and .svg files.
Fixes bug 1202
Change-Id: Iff9dab4acab33328e161dab86be766021da2bb38
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 2 Sep 2020 09:40:12 +0000 (11:40 +0200)]
Improve annotations for exposing OSM services in charmed installer
Change-Id: Iffde16ff5f92aa3a99f2fb8e1ff22c8b9eb61caf
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Wed, 2 Sep 2020 12:58:10 +0000 (08:58 -0400)]
Pin grpc versions
Due to new version of grpc being released, the docker build
fails with errors.
Fixes bug 1200
Change-Id: Ifd958708a92a10a13c357fcd4f1960e6889ef89e
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit
2a815a3f98afa5fb180b2a47ee58c4f6dc7c69fb)
beierlm [Wed, 2 Sep 2020 12:58:10 +0000 (08:58 -0400)]
Pin grpc versions
Due to new version of grpc being released, the docker build
fails with errors.
Fixes bug 1200
Change-Id: Ifd958708a92a10a13c357fcd4f1960e6889ef89e
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Fri, 26 Jun 2020 16:55:01 +0000 (12:55 -0400)]
Merge v8.0 Into Master
This is a combination of all the commits.
=======================================================================
Enable Robot Tests
Enabling robot tests in CI/CD pipeline
Propagate the parameter DO_ROBOT to stage_3-merge
Setting OSM_HOSTNAME for robot test execution
Adding prometheus_hostname env variable for ci/cd tests
Archive containers logs in robot test execution
Signed-off-by: beierlm <mark.beierl@canonical.com>
Author: Felipe Vicens <felipe.vicens@atos.net>
8716 - K8s Proxy Charms
This commit contains the following changes:
- Changes to LCM Charm to configure vca k8s cloud
- K8s installation:
- Add storageclass to K8s
- Add k8s to VCA
- Configure lcm.env to pass k8s cloud name
- Pass k8s cloud name to LCM Charm in charmed
installation
- Pin juju version tu 2.8/stable
- Instal juju after Microk8s in charmed
installation
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
Add PLA charm
Signed-off-by: David Garcia <david.garcia@canonical.com>
Add NG-UI Charm
Signed-off-by: David Garcia <david.garcia@canonical.com>
Fix bugs in NG-UI charm
Signed-off-by: David Garcia <david.garcia@canonical.com>
Updated Dockerfiles to use ReleaseEIGHT-daily repo by default
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix bug 1124: K8s added to juju after k8s has been initialized
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Helm and k8s storage initialization for k8s-based installation
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix bug 1125: iptables must be installed and configured if not present
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix bug 1129: juju_addk8s requires the storage class
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix issue in UI charm
Scale policy is only available in stateful pods
Signed-off-by: David Garcia <david.garcia@canonical.com>
Adds image overlay to bundle
When installing using a bundle, the image overlay was not being
generated, resulting in the --tag option being ignored.
Bug 1130
Signed-off-by: beierlm <mark.beierl@canonical.com>
Fix uninstall process, will fix issues is daily-stage4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Fix PLA relations, add missing ENVs, and include it in the bundle
Signed-off-by: David Garcia <david.garcia@canonical.com>
Fix 1127 bug: Use config instead of resources for SSL certificates
Signed-off-by: David Garcia <david.garcia@canonical.com>
Remove unused config from PLA overlayx
Signed-off-by: David Garcia <david.garcia@canonical.com>
Installer: refactor file generation, improved ng-ui and light-ui separation, fixes in PLA
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Pin libjuju version to 2.8.2
This fixes bug 1144
Signed-off-by: David Garcia <david.garcia@canonical.com>
Pin libjuju version to 2.8.2
Fixes bug 1144
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Remove api_proxy variable in charmed installer
- Fixes bug 1154
Signed-off-by: David Garcia <david.garcia@canonical.com>
Add waiting period to Storage Class creation
This commit adds a waiting period until the
storage class is available.
It also fixes a minor bug in the juju add-k8s
command.
This fixes Bug 1155
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
Remove api_proxy from osm bundles
Signed-off-by: David Garcia <david.garcia@canonical.com>
Make Charmed Installer Idempotent
By default, the charmed installer will create a controller called
'controller', unless an external VCA is specified using the --vca
option. Upon uninstall, it is not known or safe to remove this
Juju controller as there might be other applications using it.
This change shows that message on uninstall, giving the user the
opportunity to remove it with a command.
Also, as part of the installation, this change checks for the
controller and if it exists, presents the user with options for
how to resolve the situation.
Fixes bug 1126
Signed-off-by: beierlm <mark.beierl@canonical.com>
Remove unneeded mysql interface in PLA, fix osm-ha bundle, and add README.md to bundles
Signed-off-by: David Garcia <david.garcia@canonical.com>
Expose NBI and NG-UI
Adds ingress rules for K8s installation to expose the NBI, the
NG-UI and allow for unlimited content size.
Fixes bug 1171
Signed-off-by: beierlm <mark.beierl@canonical.com>
Installer Quits Too Soon
Increases the timeout and provides more feedback on progress.
Signed-off-by: beierlm <mark.beierl@canonical.com>
Change in returned storage status format from microk8s
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
========================================================================================
Change-Id: I9223675bb9ad25a0da1f20215e79ef392e544eb5
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Sun, 5 Jul 2020 07:43:07 +0000 (07:43 +0000)]
LCM Dockerfile: added grpclib
Change-Id: I808c6817cd112a3a4b50223344e104e3238665ea
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit
f04b99d63ea4404e604c92fbf435748d2fa5f913)
garciadeblas [Wed, 8 Jul 2020 14:13:40 +0000 (14:13 +0000)]
full_install_osm.sh: fix k8s installation, node must be tainted before juju_addk8s and install_helm
Change-Id: I1c14736ad832f184f7a8f4f9bfa389705511c558
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit
ac5bd33c65d4a8a108efd788022d1ef2a994945b)
garciadeblas [Wed, 8 Jul 2020 14:30:29 +0000 (14:30 +0000)]
full_install_osm.sh: separate taint of master node and deployment of osm
Change-Id: I6b5b314949d9775b6e71312d97dc293a49385945
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit
f7d00303fa336fc223280cceca30a1b3679f6795)
David Garcia [Wed, 15 Jul 2020 14:03:40 +0000 (16:03 +0200)]
Pin libjuju version to 2.8.2
This fixes bug 1144
Change-Id: If5fc3dad9a8a5f3e2f8ca2ac55fb875d5ec12d64
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit
84e74693b05dbff800c8e0a8c5e5237732d114c5)
Mark Beierl [Wed, 15 Jul 2020 16:52:44 +0000 (12:52 -0400)]
Pin libjuju version to 2.8.2
Fixes bug 1144
Change-Id: Ib50f76e45b9d429f019972c367b6692ed2d5ed79
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
(cherry picked from commit
2ed0e235700fcf05c0ff207d1a3f4f97f7302021)
beierlm [Thu, 20 Aug 2020 20:49:40 +0000 (16:49 -0400)]
Promote snaps to beta
Adds logic to check if the snap in the edge channel is newer
than the beta channel. If so, promote the edge snap to beta.
Change-Id: I27bf9ca01b9ed6cf177addffeedc0fa29aae6bb5
Signed-off-by: beierlm <mark.beierl@canonical.com>
calvinosanc1 [Fri, 21 Aug 2020 10:12:52 +0000 (12:12 +0200)]
Change in returned storage status format from microk8s
Change-Id: I70a7c1ee52381f3465266d8b455cd1bc023dbf2e
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
calvinosanc1 [Mon, 17 Aug 2020 09:45:15 +0000 (11:45 +0200)]
Update juju images
Change-Id: I661fa4bb2030fe6a0b4a75ac435a046bc46e2a90
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
David Garcia [Thu, 20 Aug 2020 10:08:31 +0000 (12:08 +0200)]
Fix the osm bundle names
Fixes the following problem:
- ERROR The charm or bundle "osm" is ambiguous.
- This was happening if a folder "osm" existed in the current directory
Change-Id: If7a56249b0ce5601761a7cebfa87392715abff62
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 20 Aug 2020 10:14:18 +0000 (12:14 +0200)]
Remove unneeded dependency
- The lxd-preseed.conf uses btrfs, so zfs is not needed anymore.
Change-Id: Ife9aa65e2746bf2f35f3c96ab05430dcf46acc0b
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 13 Aug 2020 22:35:00 +0000 (18:35 -0400)]
Enable snap builds
If the snap/snapcraft.yaml file exists, built it and
publish it as a private snap to the snap store.
Change-Id: I924c17b2d4d8a30edee76234e10bfee91a5b01b6
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Fri, 14 Aug 2020 13:26:27 +0000 (09:26 -0400)]
Installer Quits Too Soon
Increases the timeout and provides more feedback on progress.
Change-Id: Iab4cfa3652883ee5db36ca359412e5b1d705bdaf
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Tue, 28 Jul 2020 13:21:07 +0000 (09:21 -0400)]
Expose NBI and NG-UI
Adds ingress rules for K8s installation to expose the NBI, the
NG-UI and allow for unlimited content size.
Fixes bug 1171
Change-Id: Id286dfe1f26969337ef937bf6c5bff541e89cf26
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Tue, 21 Jul 2020 07:35:44 +0000 (09:35 +0200)]
Remove unneeded mysql interface in PLA, fix osm-ha bundle, and add README.md to bundles
Change-Id: I7761efaa174ce46eb3c3cc6c99f846340ba8e93c
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 16 Jul 2020 20:57:09 +0000 (16:57 -0400)]
Make Charmed Installer Idempotent
By default, the charmed installer will create a controller called
'controller', unless an external VCA is specified using the --vca
option. Upon uninstall, it is not known or safe to remove this
Juju controller as there might be other applications using it.
This change shows that message on uninstall, giving the user the
opportunity to remove it with a command.
Also, as part of the installation, this change checks for the
controller and if it exists, presents the user with options for
how to resolve the situation.
Fixes bug 1126
Change-Id: Id13cd822ed7eef60250544108b74bbba7998d9b7
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Mon, 20 Jul 2020 21:02:05 +0000 (17:02 -0400)]
Pin version of dogpile
Force dogpile to a static version as 1.0.0, released July 19, 2020
is not compatible with the version of stevedore that we use.
Change-Id: Icc2758e07bafa935bf4403bd5735b47e79b4bc66
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit
90d4e9e52ee085aeac044f1c48807ecf5f3742ee)
beierlm [Mon, 20 Jul 2020 21:02:05 +0000 (17:02 -0400)]
Pin version of dogpile
Force dogpile to a static version as 1.0.0, released July 19, 2020
is not compatible with the version of stevedore that we use.
Change-Id: Icc2758e07bafa935bf4403bd5735b47e79b4bc66
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Thu, 16 Jul 2020 12:51:49 +0000 (14:51 +0200)]
Remove api_proxy from osm bundles
Change-Id: I942df7a05859f78ef1dd433e55985fa03b514219
Signed-off-by: David Garcia <david.garcia@canonical.com>
Dominik Fleischmann [Fri, 17 Jul 2020 09:15:29 +0000 (11:15 +0200)]
Add waiting period to Storage Class creation
This commit adds a waiting period until the
storage class is available.
It also fixes a minor bug in the juju add-k8s
command.
This fixes Bug 1155
Change-Id: Ie4d35847bd053c9e4e61f89a481faef5e348f5e2
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
David Garcia [Thu, 16 Jul 2020 12:00:19 +0000 (14:00 +0200)]
Remove api_proxy variable in charmed installer
- Fixes bug 1154
Change-Id: I60ac8b83b46f1c2435f7f90032be2be26ec38e2b
Signed-off-by: David Garcia <david.garcia@canonical.com>
Mark Beierl [Wed, 15 Jul 2020 16:52:44 +0000 (12:52 -0400)]
Pin libjuju version to 2.8.2
Fixes bug 1144
Change-Id: Ib50f76e45b9d429f019972c367b6692ed2d5ed79
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
David Garcia [Wed, 15 Jul 2020 14:03:40 +0000 (16:03 +0200)]
Pin libjuju version to 2.8.2
This fixes bug 1144
Change-Id: If5fc3dad9a8a5f3e2f8ca2ac55fb875d5ec12d64
Signed-off-by: David Garcia <david.garcia@canonical.com>
bravof [Tue, 14 Jul 2020 19:18:30 +0000 (15:18 -0400)]
fix(prometheus - lcm): prometheus was using the wron directory because at install lcm changes the hostPath with sed, now prometheus is also included in that change
Change-Id: Ie4bf316c69ac2b344de72b485dfb378849c060e0
Signed-off-by: bravof <fbravo@whitestack.com>
bravof [Tue, 14 Jul 2020 19:18:30 +0000 (15:18 -0400)]
fix(prometheus - lcm): prometheus was using the wron directory because at install lcm changes the hostPath with sed, now prometheus is also included in that change
Change-Id: Ie4bf316c69ac2b344de72b485dfb378849c060e0
Signed-off-by: bravof <fbravo@whitestack.com>
tierno [Mon, 13 Jul 2020 15:34:16 +0000 (15:34 +0000)]
dockerfile LCM force non interactive for N2VC install
Change-Id: Iec9219831a84cefabd3c60355bc7d66b095748a8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 10 Jul 2020 15:55:25 +0000 (15:55 +0000)]
fix 1138 installing cryptography>=2.5 with pip
Change-Id: I8b1f0481cafdc045483876aa4e956f81e23f8bbe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 13 Jul 2020 15:34:16 +0000 (15:34 +0000)]
dockerfile LCM force non interactive for N2VC install
Change-Id: Iec9219831a84cefabd3c60355bc7d66b095748a8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 10 Jul 2020 15:55:25 +0000 (15:55 +0000)]
fix 1138 installing cryptography>=2.5 with pip
Change-Id: I8b1f0481cafdc045483876aa4e956f81e23f8bbe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
beierlm [Fri, 10 Jul 2020 19:42:38 +0000 (15:42 -0400)]
Adding Kafka to Health Check
Installation needs to wait for Kafka to be healthy before
continuing.
Change-Id: I8b7f0fd7c709075c7541c8962d808d4e4e45ed2c
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit
5a2ad88eaa8cdbb818e75c2f661a3d4719d5de66)
beierlm [Fri, 10 Jul 2020 19:42:38 +0000 (15:42 -0400)]
Adding Kafka to Health Check
Installation needs to wait for Kafka to be healthy before
continuing.
Change-Id: I8b7f0fd7c709075c7541c8962d808d4e4e45ed2c
Signed-off-by: beierlm <mark.beierl@canonical.com>
garciadeblas [Wed, 8 Jul 2020 16:22:12 +0000 (16:22 +0000)]
Installer: refactor file generation, improved ng-ui and light-ui separation, fixes in PLA
Change-Id: Iacc435e6ebb9fa695ed7d0df1ff6a06d5ceb0edc
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Fri, 10 Jul 2020 09:19:38 +0000 (11:19 +0200)]
Remove unused config from PLA overlayx
Change-Id: I54c16ab90fdfe3c83661a2568159c19a1958e612
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Tue, 7 Jul 2020 09:14:19 +0000 (11:14 +0200)]
Fix 1127 bug: Use config instead of resources for SSL certificates
Change-Id: I66246049e3ca48cdaa03bbc58e123a519f696acc
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 9 Jul 2020 11:14:13 +0000 (13:14 +0200)]
Fix PLA relations, add missing ENVs, and include it in the bundle
Change-Id: I4d309d045404a900e04909c46196d32e43bb1862
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Thu, 9 Jul 2020 14:20:47 +0000 (14:20 +0000)]
Fix uninstall process, will fix issues is daily-stage4
Change-Id: If5d0826bd92df1673f0f8b409b84261c329a055d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Wed, 8 Jul 2020 15:43:59 +0000 (11:43 -0400)]
Adds image overlay to bundle
When installing using a bundle, the image overlay was not being
generated, resulting in the --tag option being ignored.
Bug 1130
Change-Id: I8e474d60b03abcb913d8586c8d643d099f1d8baf
Signed-off-by: beierlm <mark.beierl@canonical.com>
David Garcia [Wed, 8 Jul 2020 14:51:07 +0000 (16:51 +0200)]
Fix issue in UI charm
Scale policy is only available in stateful pods
Change-Id: If632be586851ec21c480cad5e46b72e002b19b99
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciadeblas [Wed, 8 Jul 2020 14:30:29 +0000 (14:30 +0000)]
full_install_osm.sh: separate taint of master node and deployment of osm
Change-Id: I6b5b314949d9775b6e71312d97dc293a49385945
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 8 Jul 2020 14:13:40 +0000 (14:13 +0000)]
full_install_osm.sh: fix k8s installation, node must be tainted before juju_addk8s and install_helm
Change-Id: I1c14736ad832f184f7a8f4f9bfa389705511c558
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
magnussonl [Mon, 6 Jul 2020 14:44:04 +0000 (16:44 +0200)]
PLA pip install dependency
Change-Id: I1d5211d7b7608eab7d3171f726283532b506c733
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
(cherry picked from commit
d6d60fc6ed1626b4849d7947e579cae49ee0e8ce)
garciadeblas [Wed, 8 Jul 2020 11:38:29 +0000 (11:38 +0000)]
full_install_osm.sh: fix check loop in install_helm
Change-Id: I546a7219882b4487031ef7093ec070422d8de8d0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 8 Jul 2020 11:28:12 +0000 (11:28 +0000)]
Fix bug 1129: juju_addk8s requires the storage class
Change-Id: I8b59e83526ba7f73dd90dba86ae7bce990199e0f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Felipe Vicens [Mon, 29 Jun 2020 19:51:54 +0000 (21:51 +0200)]
Enable autocreation topic in kafka for POL and MON
Change-Id: I322af78fe143fa1a5773a9188eef449625fda35c
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
garciadeblas [Mon, 6 Jul 2020 15:15:03 +0000 (15:15 +0000)]
Fix bug 1125: iptables must be installed and configured if not present
Change-Id: I724798ac654358564749934165fa4ed11926cb6b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 6 Jul 2020 16:10:59 +0000 (16:10 +0000)]
Helm and k8s storage initialization for k8s-based installation
Change-Id: I373018f10549f84ca5e99e40e4232d63ebcaba6d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 6 Jul 2020 15:03:39 +0000 (15:03 +0000)]
Fix bug 1124: K8s added to juju after k8s has been initialized
Change-Id: I757eb90f35db1af95081c3e3dd3ffef30ff98197
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
magnussonl [Mon, 6 Jul 2020 14:44:04 +0000 (16:44 +0200)]
PLA pip install dependency
Change-Id: I1d5211d7b7608eab7d3171f726283532b506c733
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
bravof [Fri, 3 Jul 2020 14:01:42 +0000 (10:01 -0400)]
feat(prometheus): conditional copy of new configuration from configmap avoiding accidental overwrite of previous config file
Change-Id: I2074318c6e259c4210faaa2ad362114a6fada827
Signed-off-by: bravof <fbravo@whitestack.com>
(cherry picked from commit
9d2556f36dc275078425597b2ec64a4a5eea308d)
bravof [Wed, 1 Jul 2020 19:11:57 +0000 (15:11 -0400)]
feat(lcm-prometheus interconnection): allows lcm to modify prometheus config in order to push new jobs like snmp metrics recollection
Change-Id: I8ea564f9d6ae96d6a5042e691ccaa0c758add158
Signed-off-by: bravof <fbravo@whitestack.com>
(cherry picked from commit
1e0297e98ab41e4bdc9537c1adffc2cae8b198cb)
garciadeblas [Sun, 5 Jul 2020 07:43:07 +0000 (07:43 +0000)]
LCM Dockerfile: added grpclib
Change-Id: I808c6817cd112a3a4b50223344e104e3238665ea
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Sun, 5 Jul 2020 07:31:12 +0000 (07:31 +0000)]
Updated Dockerfiles to use ReleaseEIGHT-daily repo by default
Change-Id: I0dd48e273a3a12553062418f1da0d60f33bb23b2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Sat, 4 Jul 2020 07:38:49 +0000 (07:38 +0000)]
full_install_osm.sh: use the right devops folder for lxd configuration and charm-based installation
Change-Id: Ibe3affc816ab8567c932450a38e4ec348054b1c1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 3 Jul 2020 16:24:23 +0000 (16:24 +0000)]
feat8157-vnfindicators: added local k8s cluster to deploy snmp exporters
Change-Id: I042d5cb642ffb1fc5e768b18172272324b617da5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>