Merge v8.0 Into Master 25/9625/4
authorbeierlm <mark.beierl@canonical.com>
Fri, 26 Jun 2020 16:55:01 +0000 (12:55 -0400)
committerbeierlm <mark.beierl@canonical.com>
Thu, 27 Aug 2020 12:51:48 +0000 (14:51 +0200)
commita4a37f7f9f5410ff2c7833b76bdc85f752c74849
treeae1d9b1460049df6af466eec358418994851a0db
parent1a423a467dca38dab970ea9e0f7480be1f2dfc83
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>
51 files changed:
.gitmodules [new file with mode: 0644]
docker/LCM/Dockerfile
docker/MON/Dockerfile
docker/NBI/Dockerfile
docker/NG-UI/Dockerfile
docker/PLA/Dockerfile
docker/POL/Dockerfile
docker/RO/Dockerfile
docker/light-ui/Dockerfile
docker/mk/Makefile.include
docker/mk/get_version.sh
docker/osmclient/Dockerfile
docker/tests/Dockerfile
installers/charm/README.md
installers/charm/bundles/osm-ha/README.md [new file with mode: 0644]
installers/charm/bundles/osm-ha/bundle.yaml
installers/charm/bundles/osm/README.md [new file with mode: 0644]
installers/charm/bundles/osm/bundle.yaml
installers/charm/lcm-k8s/config.yaml
installers/charm/lcm-k8s/reactive/lcm.py
installers/charm/lcm-k8s/reactive/spec_template.yaml
installers/charm/nbi-k8s/reactive/spec_template.yaml
installers/charm/ng-ui/.yamllint.yaml [new file with mode: 0644]
installers/charm/ng-ui/README.md [new file with mode: 0644]
installers/charm/ng-ui/config.yaml [new file with mode: 0644]
installers/charm/ng-ui/files/default [new file with mode: 0644]
installers/charm/ng-ui/hooks/start [new symlink]
installers/charm/ng-ui/lib/ops [new symlink]
installers/charm/ng-ui/metadata.yaml [new file with mode: 0644]
installers/charm/ng-ui/mod/operator [new submodule]
installers/charm/ng-ui/src/charm.py [new file with mode: 0755]
installers/charm/ng-ui/tox.ini [new file with mode: 0644]
installers/charm/pla/.yamllint.yaml [new file with mode: 0644]
installers/charm/pla/README.md [new file with mode: 0644]
installers/charm/pla/config.yaml [new file with mode: 0644]
installers/charm/pla/hooks/install [new symlink]
installers/charm/pla/hooks/start [new symlink]
installers/charm/pla/hooks/upgrade-charm [new symlink]
installers/charm/pla/lib/ops [new symlink]
installers/charm/pla/metadata.yaml [new file with mode: 0644]
installers/charm/pla/mod/operator [new submodule]
installers/charm/pla/src/charm.py [new file with mode: 0755]
installers/charm/pla/tox.ini [new file with mode: 0644]
installers/charm/ui-k8s/reactive/spec_template.yaml
installers/charmed_install.sh
installers/charmed_uninstall.sh
installers/docker/docker-compose-lightui.yaml [new file with mode: 0644]
installers/docker/docker-compose-ngui.yaml
installers/docker/osm_pla/docker-compose.yaml
installers/full_install_osm.sh
jenkins/ci-pipelines/ci_stage_3.groovy