Bug 1751706
| Summary: | KubeVersionMismatch should be removed | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Michal Fojtik <mfojtik> | |
| Component: | Monitoring | Assignee: | Lili Cosic <lcosic> | |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | |
| Severity: | low | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.2.0 | CC: | alegrand, anpicker, erooth, kakkoyun, lcosic, mloibl, pkrupa, surbania | |
| Target Milestone: | --- | |||
| Target Release: | 4.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause:
KubeVersionMismatch alert was not useful in OpenShift as during upgrade we can have two Kubernetes versions at once in various components.
Consequence:
This alert was firing during upgrading between Kubernetes versions.
Fix:
The KubeVersionMismatch was removed.
Result:
We should not have that alert firing during Kubernetes version upgrades.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1791194 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-04 11:13:32 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1791194 | |||
Not a 4.2 blocker, but something we should fix in upstream during 4.3 (In reply to Michal Fojtik from comment #1) > Not a 4.2 blocker, but something we should fix in upstream during 4.3 How long does an upgrade take? We are thinking of increasing the time for this. Tested with 4.4.0-0.nightly-2020-01-15-181917, KubeVersionMismatch alert is removed # token=`oc -n openshift-monitoring sa get-token prometheus-k8s` # oc -n openshift-monitoring exec -c prometheus prometheus-k8s-1 -- curl -k -H "Authorization: Bearer $token" 'https://prometheus-k8s.openshift-monitoring.svc:9091/api/v1/rules' | jq | grep "KubeVersionMismatch" nothing returned Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0581 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
Description of problem: The ALERTS{alertname="KubeVersionMismatch",alertstate="firing",severity="warning"} was blocking merging the Openshift API server bump to kubernetes 1.16.0. This was because the kubernetes apiserver was still running on 1.14.0 for that PR. Having an alert for this kind of mismatch does not make sense as it is normal that components can run on version skew (typically during upgrade, see: https://bugzilla.redhat.com/show_bug.cgi?id=1684431) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: