Logging Collection Dashboard is not visible in RHOCP 4
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Red Hat OpenShift Logging (RHOL)
- 5.9
- 6.0
- 6.1
Issue
- After upgrading to Red Hat Logging 5.9, the Logging Collection Dashboard is not visible, even when the ERRATA for the the bug This content is not included.LOG-5308 is applied
- The
grafana-dashboard-cluster-loggingconfigmap is not recreated by the Red Hat Cluster Logging Operator although the Cluster Logging Operator version
Resolution
Red Hat investigated this issue in bug report:
| RHOL Release | Bug | Fixed version | Errata |
|---|---|---|---|
| 6.1 | This content is not included.LOG-6280 | 6.1.2 | RHBA-2025:1229 |
| 6.0 | This content is not included.LOG-6608 | 6.0.4 | RHBA-2025:1228 |
If this issue still occurs in your environment after updating, open a support case in the Red Hat Customer Portal referring to this solution.
Workaround
Follow the steps for "Upgrading the Red Hat OpenShift Logging Operator to watch all namespaces".
Root Cause
The collector metrics dashboard could be removed after an operator upgrade because of race condition during the transition from the old pod deployment to the new.
Diagnostic Steps
-
Verify that the Cluster Logging Operator version is 5.9:
$ oc get csv -n openshift-logging |grep "cluster-logging" -
Verify the
Logging / CollectionDashboard is not visible in theOpenShift Console > Observe > Dashboards > Dashboard: Logging / Collection -
Verify that the
grafana-dashboard-cluster-loggingconfigmap that contains the definition of the Logging Collection Dashboard doesn't exist:$ oc get cm grafana-dashboard-cluster-logging -n openshift-config-managed Error from server (NotFound): configmaps "grafana-dashboard-cluster-logging" not found -
Verify the
cluster-loggingOperator Group is configured as single namespace inopenshift-logging:$ oc get operatorgroup cluster-logging -n openshift-logging -o jsonpath='{.spec.targetNamespaces}' ["openshift-logging"]
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.