Skip to content

Commit

Permalink
Merge branch 'bugfix/do-not-remove-extra-loki-services-post-upgrade' …
Browse files Browse the repository at this point in the history
…into q/2.11
  • Loading branch information
bert-e committed Mar 1, 2022
2 parents 9309687 + 6c8fa4a commit 4542549
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 20 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
ignore the Ingress object that does not have the class explicitly set
(PR[#3704](https://github.com/scality/metalk8s/pull/3704))

- Fix a bug during the upgrade that remove the Loki instance services used by
Grafana datasources
(PR[#3717](https://github.com/scality/metalk8s/pull/3717))

## Release 2.11.2
### Bug fixes

Expand Down
1 change: 0 additions & 1 deletion buildchain/buildchain/salt_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ def task(self) -> types.TaskDict:
Path("salt/metalk8s/addons/logging/loki/deployed/loki-configuration-secret.sls"),
Path("salt/metalk8s/addons/logging/loki/deployed/service.sls"),
Path("salt/metalk8s/addons/logging/loki/deployed/service-configuration.sls"),
Path("salt/metalk8s/addons/logging/loki/post-upgrade.sls"),
Path("salt/metalk8s/addons/prometheus-adapter/deployed/chart.sls"),
Path("salt/metalk8s/addons/prometheus-adapter/deployed/init.sls"),
Path("salt/metalk8s/addons/prometheus-operator/macros.j2"),
Expand Down
17 changes: 0 additions & 17 deletions salt/metalk8s/addons/logging/loki/post-upgrade.sls

This file was deleted.

1 change: 0 additions & 1 deletion salt/metalk8s/orchestrate/upgrade/post.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

include:
- metalk8s.addons.prometheus-operator.post-upgrade
- metalk8s.addons.logging.loki.post-upgrade
- metalk8s.addons.ui.post-upgrade
7 changes: 6 additions & 1 deletion tests/post/steps/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ def test_logging_pipeline_is_working(host):
pass


@scenario("../features/logging.feature", "We can access a specific Loki instance")
def test_instance_service(host):
pass


# }}}
# Given {{{

Expand Down Expand Up @@ -220,7 +225,7 @@ def _check_alert_exists():
)


@then("the Loki API is available through Service '{service}'")
@then(parsers.parse("the Loki API is available through Service '{service}'"))
def then_check_loki_api(k8s_client, service):
check_loki_api(k8s_client, service)

Expand Down

0 comments on commit 4542549

Please sign in to comment.