Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Pin Prometheus and Grafana revisions #82

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

phoevos
Copy link
Contributor

@phoevos phoevos commented Sep 1, 2023

This is a temporary patch until we migrate to Juju 3.1:

  • Pin Prometheus revision when deploying from latest to avoid fetching recent patches of the charm which assume juju >= 3.0.3. Revision 137 was the last one seen working properly in our CI integration tests.
  • Pin Grafana revision when deploying from latest to avoid fetching recent patches of the charm that fail to install on Juju 2.9. Revision 89 was the last one working properly in our CI integration tests.

Refs canonical/bundle-kubeflow#688
Refs canonical/bundle-kubeflow#690

@beliaev-maksim
Copy link
Member

@phoevos was not it the intend to bump all KF charms to juju 3.1 ?

why do we pull prometheus from edge and not from stable?

@phoevos
Copy link
Contributor Author

phoevos commented Sep 2, 2023

was not it the intend to bump all KF charms to juju 3.1 ?

@beliaev-maksim, yes we will be bumping all charms to 3.1 shortly. However, this is now breaking our CI across our repos, which is blocking patches required for the time-critical airgapped effort. Therefore, the idea was to patch this now, pinning to a version we know works, and revert it as soon as we've moved to Juju 3.1

In general, I do believe that we should be using third-party charms from some stable channel. However, in this case it won't make a difference, since the o11y team plan to bump stable very soon.

@beliaev-maksim
Copy link
Member

@phoevos but then once they bump we need to revert to stable on our side

Why use it then in the first place?

Or does current stable cause issues?

@phoevos
Copy link
Contributor Author

phoevos commented Sep 2, 2023

@beliaev-maksim, the current stable is fine. I'd say let's just upgrade to Juju 3.1 first, and then we can go through the third-party charms we're deploying as part of our integration tests and make sure that we always pull from a stable channel.

@beliaev-maksim
Copy link
Member

Well,
I am -0 on this :)

Will leave it to others

@phoevos
Copy link
Contributor Author

phoevos commented Sep 2, 2023

@beliaev-maksim, note that we'll probably have to do the same for Grafana as well, so I'll be repurposing this PR:

@beliaev-maksim
Copy link
Member

@phoevos okay!

This is a temporary patch until we migrate to Juju 3.1:
* Pin Prometheus revision when deploying from `latest` to avoid fetching
  recent patches of the charm which assume `juju >= 3.0.3`. Revision 137
  was the last one seen working properly in our CI integration tests.
* Pin Grafana revision when deploying from `latest` to avoid fetching
  recent patches of the charm which fail to install on Juju 2.9.
  Revision 89 was the last one working properly in our CI integration
  tests.

Signed-off-by: Phoevos Kalemkeris <[email protected]>
@phoevos phoevos changed the title fix: Pin Prometheus revision to 137 fix: Pin Prometheus and Grafana revisions Sep 2, 2023
Copy link
Contributor

@i-chvets i-chvets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR contains changes to ensure that integration tests are passing in CI.
The fix is to temporary pin Prometheus and Grafana versions.
Approved.

@phoevos phoevos merged commit 053c0af into main Sep 2, 2023
7 checks passed
@phoevos phoevos deleted the kf-4278-pin-prometheus-rev branch September 2, 2023 13:40
orfeas-k pushed a commit that referenced this pull request Sep 26, 2023
This is a temporary patch until we migrate to Juju 3.1:
* Pin Prometheus revision when deploying from `latest` to avoid fetching
  recent patches of the charm which assume `juju >= 3.0.3`. Revision 137
  was the last one seen working properly in our CI integration tests.
* Pin Grafana revision when deploying from `latest` to avoid fetching
  recent patches of the charm which fail to install on Juju 2.9.
  Revision 89 was the last one working properly in our CI integration
  tests.

Signed-off-by: Phoevos Kalemkeris <[email protected]>
orfeas-k added a commit that referenced this pull request Sep 26, 2023
backport(fix): Pin Prometheus and Grafana revisions (#82)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants