-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
Logging 5.8.z
-
False
-
-
False
-
NEW
-
NEW
-
Bug Fix
-
-
-
Important
Description of problem:
When deploying logging 5.8 on OCP 4.17, after enabling console plugin, the logging-view-plugin can't be loaded.
The consoleplugin CR:
apiVersion: console.openshift.io/v1 kind: ConsolePlugin metadata: creationTimestamp: "2024-09-20T09:11:32Z" generation: 16098 labels: app: logging-view-plugin app.kubernetes.io/created-by: openshift-logging_instance app.kubernetes.io/name: logging-view-plugin name: logging-view-plugin resourceVersion: "237647" uid: 9b77b188-16c9-4988-ac8a-8b75b7e7c2e7 spec: displayName: Logging Console Plugin proxy: - alias: backend authorization: None
CLO keeps reconciling the consoleplugin:
{"_ts":"2024-09-20T09:15:19.651674199Z","_level":"0","_component":"cluster-logging-operator","_message":"reconciled console","plugin":"console.openshift.io/v1alpha1/consoleplugins/logging-view-plugin"}
{"_ts":"2024-09-20T09:15:19.692072446Z","_level":"0","_component":"cluster-logging-operator","_message":"reconciled console","plugin":"console.openshift.io/v1alpha1/consoleplugins/logging-view-plugin"}
{"_ts":"2024-09-20T09:15:19.742828863Z","_level":"0","_component":"cluster-logging-operator","_message":"reconciled console","plugin":"console.openshift.io/v1alpha1/consoleplugins/logging-view-plugin"}
console-operator keeps reporting below error:
E0920 09:26:16.218094 1 configmap.go:151] unknown backend type for "logging-view-plugin" plugin: "". Currently only "Service" backend type is supported. E0920 09:26:16.218110 1 configmap.go:172] unknown proxy service type for "logging-view-plugin" plugin: "". Currently only "Service" proxy endpoint type is supported.
Version-Release number of selected component (if applicable):
cluster-logging.v5.8.13, loki-operator.v5.8.13
clusterversion: 4.17.0-0.nightly-2024-09-19-145042
How reproducible:
Always
Steps to Reproduce:
1. deploy logging 5.8 with below yaml files:
lokistack:
apiVersion: loki.grafana.com/v1 kind: LokiStack metadata: name: logging-loki namespace: openshift-logging spec: managementState: Managed rules: enabled: true namespaceSelector: matchLabels: openshift.io/cluster-monitoring: "true" selector: matchLabels: openshift.io/cluster-monitoring: "true" size: 1x.demo storage: schemas: - effectiveDate: "2020-10-11" version: v11 secret: name: logging-storage-secret type: s3 storageClassName: gp3-csi tenants: mode: openshift-logging
CL:
apiVersion: logging.openshift.io/v1 kind: ClusterLogging metadata: creationTimestamp: "2024-09-20T09:11:32Z" generation: 1 name: instance namespace: openshift-logging resourceVersion: "216732" uid: 7d71ba43-3c60-4182-925f-85d55cd5c13e spec: collection: type: vector logStore: lokistack: name: logging-loki type: lokistack managementState: Managed visualization: type: ocp-console
2. Enable console plugin
3. Wait for a few minutes
Actual results:
The logging-view-plugin is not loaded.
Expected results:
The logging-view-plugin should be loaded.
Additional info:
No issue when testing on OCP 4.16