-
Bug
-
Resolution: Unresolved
-
Blocker
-
Logging 6.2.0
-
False
-
None
-
False
-
NEW
-
NEW
-
Release Note Not Required
-
-
Description of problem:
lokistack can not be deployed. The loki-operator show error below.
W0127 11:08:28.965196 1 reflector.go:547] pkg/mod/k8s.io/client-go@v0.30.5/tools/cache/reflector.go:232: failed to list *v1.PodDisruptionBudget: poddisruptionbudgets.policy is forbidden: User "system:serviceaccount:openshift-operators-redhat:loki-operator-controller-manager" cannot list resource "poddisruptionbudgets" in API group "policy" at the cluster scope E0127 11:08:28.965226 1 reflector.go:150] pkg/mod/k8s.io/client-go@v0.30.5/tools/cache/reflector.go:232: Failed to watch *v1.PodDisruptionBudget: failed to list *v1.PodDisruptionBudget: poddisruptionbudgets.policy is forbidden: User "system:serviceaccount:openshift-operators-redhat:loki-operator-controller-manager" cannot list resource "poddisruptionbudgets" in API group "policy" at the cluster scope
Version-Release number of selected component (if applicable):
openshift-logging/loki-rhel9-operator/images/v6.2.0-1
"build-date": "2025-01-23T17:57:27",
"io.openshift.build.commit.url": "https://github.com/openshift/loki/commit/4b32b54def942ff576a88868c6fe5cc8b98ace7f",
openshift 4.16
How reproducible:
Always
Steps to Reproduce:
- deploy lokistack 6.2
*apiVersion: loki.grafana.com/v1 kind: LokiStack metadata: creationTimestamp: "2025-01-27T11:06:35Z" generation: 1 name: lokistack-sample namespace: openshift-logging resourceVersion: "45344" uid: 298988d0-42f2-4fac-a5ec-50f608e8e01c 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: "2023-10-15" version: v13 strong text secret: name: s3-secret type: s3 storageClassName: gp3-csi tenants: mode: ostrong textpenshift-logging status: components: {} storage: schemas: - effectiveDate: "2023-10-15" version: v13
*
- ...