-
Bug
-
Resolution: Done
-
Blocker
-
Logging 5.7.0
Description of problem:
When CL instance is created with ocpConsole, CLO is checking the kibana required values and throws ClusterLogging.logging.openshift.io \"instance\" is invalid: spec.visualization.kibana.replicas: Required value" error. As a result, collector pods fails to come up.
Version-Release number of selected component (if applicable):
Logging 5.7
How reproducible:
Always
Steps to Reproduce:
- Deploy CL with below spec:
spec: managementState: "Managed" logStore: type: "lokistack" lokistack: name: lokistack-sample collection: type: "fluentd" visualization: ocpConsole: logsLimit: 200 timeout: 60s type: ocp-console
Actual results:
1. No collector pods are up
2. Seeing below error in CLO pods
{"_ts":"2023-04-21T06:03:23.112308004Z","_level":"0","_component":"cluster-logging-operator","_message":"Error updating ","\u0026TypeMeta{Kind:ClusterLogging,APIVersion:logging.openshift.io/v1,}":"_error"} {"_ts":"2023-04-21T06:03:23.112361679Z","_level":"0","_component":"cluster-logging-operator","_message":"Error reconciling clusterlogging instance","_error":{"msg":"unable to create or update logstore for \"instance\": Failed to set finalizer for LokiStack RBAC rules.: Can not update ClusterLogging finalizers.: ClusterLogging.logging.openshift.io \"instance\" is invalid: spec.visualization.kibana.replicas: Required value"}} {"_ts":"2023-04-21T06:04:48.203050939Z","_level":"0","_component":"cluster-logging-operator","_message":"Error updating ","\u0026TypeMeta{Kind:ClusterLogging,APIVersion:logging.openshift.io/v1,}":"_error"} {"_ts":"2023-04-21T06:04:48.203108015Z","_level":"0","_component":"cluster-logging-operator","_message":"Error reconciling clusterlogging instance","_error":{"msg":"unable to create or update logstore for \"instance\": Failed to set finalizer for LokiStack RBAC rules.: Can not update ClusterLogging finalizers.: ClusterLogging.logging.openshift.io \"instance\" is invalid: spec.visualization.kibana.replicas: Required value"}} {"_ts":"2023-04-21T06:04:48.216874154Z","_level":"0","_component":"cluster-logging-operator","_message":"Error updating ","\u0026TypeMeta{Kind:ClusterLogging,APIVersion:logging.openshift.io/v1,}":"_error"} {"_ts":"2023-04-21T06:04:48.21691933Z","_level":"0","_component":"cluster-logging-operator","_message":"Error reconciling clusterlogging instance","_error":{"msg":"unable to create or update logstore for \"instance\": Failed to set finalizer for LokiStack RBAC rules.: Can not update ClusterLogging finalizers.: ClusterLogging.logging.openshift.io \"instance\" is invalid: spec.visualization.kibana.replicas: Required value"}}
- links to
- mentioned on
(4 mentioned on)