Bug 2016235 - should update to 7.5.11 for grafana resources version label
Summary: should update to 7.5.11 for grafana resources version label
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.10.0
Assignee: Prashant Balachandran
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-21 03:15 UTC by Junqi Zhao
Modified: 2022-03-10 16:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:21:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 1446 0 None open Bug 2016235: upgrading grafana version to 7.5.11 2021-10-21 06:28:22 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:21:22 UTC

Description Junqi Zhao 2021-10-21 03:15:27 UTC
Description of problem:
bug 2011501, grafana version is updated to 7.5.11, but the resources version label for grafana is still 7.5.5
# oc -n openshift-monitoring get pod --show-labels | grep grafana
grafana-7b6d9bfb89-9dxbw                       3/3     Running   0             24m   app.kubernetes.io/component=grafana,app.kubernetes.io/name=grafana,app.kubernetes.io/part-of=openshift-monitoring,app.kubernetes.io/version=7.5.5,pod-template-hash=7b6d9bfb89


# oc -n openshift-monitoring get deploy grafana -oyaml 
...
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
  creationTimestamp: "2021-10-21T02:41:06Z"
  generation: 1
  labels:
    app.kubernetes.io/component: grafana
    app.kubernetes.io/managed-by: cluster-monitoring-operator
    app.kubernetes.io/name: grafana
    app.kubernetes.io/part-of: openshift-monitoring
    app.kubernetes.io/version: 7.5.5
...
  template:
    metadata:
      annotations:
        checksum/grafana-config: d4bf519b7ec7b2820ed560401688dbc2
        checksum/grafana-dashboardproviders: 6ebb5e13a8b279aad14b07a605db492d
        checksum/grafana-datasources: 1831af184dcda20c5181a8411627a813
        target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
      creationTimestamp: null
      labels:
        app.kubernetes.io/component: grafana
        app.kubernetes.io/name: grafana
        app.kubernetes.io/part-of: openshift-monitoring
        app.kubernetes.io/version: 7.5.5

Version-Release number of selected component (if applicable):
4.10.0-0.nightly-2021-10-21-014208

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Junqi Zhao 2021-10-25 03:13:55 UTC
checked with 4.10.0-0.nightly-2021-10-23-225921, grafana resources label is 7.5.11
# oc -n openshift-monitoring get servicemonitor grafana -oyaml
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  creationTimestamp: "2021-10-25T01:59:59Z"
  generation: 1
  labels:
    app.kubernetes.io/component: grafana
    app.kubernetes.io/name: grafana
    app.kubernetes.io/part-of: openshift-monitoring
    app.kubernetes.io/version: 7.5.11
  name: grafana
...

# oc -n openshift-monitoring get pod --show-labels | grep grafana
grafana-6dd8c56899-hn8g9                       3/3     Running   0             70m     app.kubernetes.io/component=grafana,app.kubernetes.io/name=grafana,app.kubernetes.io/part-of=openshift-monitoring,app.kubernetes.io/version=7.5.11,pod-template-hash=6dd8c56899

Comment 6 errata-xmlrpc 2022-03-10 16:21:07 UTC
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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.