Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2066

[release-5.3] The configmap grafana-dashboard-cluster-logging can not be updated

    XMLWordPrintable

Details

    • False
    • False
    • NEW
    • NEW
    • Hide
      Before this update, changes to the metrics dashboards had not yet been deployed because the cluster-logging-operator did not correctly compare existing and desired configmaps containing the dashboard. This update fixes the logic by adding unique hash value to the object labels.
      Show
      Before this update, changes to the metrics dashboards had not yet been deployed because the cluster-logging-operator did not correctly compare existing and desired configmaps containing the dashboard. This update fixes the logic by adding unique hash value to the object labels.
    • Logging (Core) - Sprint 211, Logging (Core) - Sprint 213

    Description

      The configmap/grafana-dashboard-cluster-logging can’t be updated after upgrade from 5.2 to 5.3

       

      Steps to Reproduce:

      1. Deploy cluster-logging 5.2
      2. Save the  cm/grafana-dashboard-cluster-logging
      oc extract cm/grafana-dashboard-cluster-logging -n openshift-config-managed
      mv openshift-logging.json to openshift-logging.json-5.2
      

       

      1. Upgrade logging to 5.3
      2. Wait about several minutes (10 minutes in my testing).  diff the configmaps
      oc extract cm/grafana-dashboard-cluster-logging -n openshift-config-managed
      mv openshift-logging.json to openshift-logging.json-5.3
      diff openshift-logging.json-5.3 openshift-logging.json-5.1
      

       

      Expected result:

      The cm/grafana-dashboard-cluster-logging includes  https://github.com/openshift/cluster-logging-operator/pull/1269/files

      Actual result: 

      The cm/grafana-dashboard-cluster-logging wasn’t updated.

       

      Attachments

        Activity

          People

            jcantril@redhat.com Jeffrey Cantrill
            rhn-support-anli Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: