-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.19.0
-
None
-
ShiftStack Sprint 263
-
1
-
Proposed
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
When Swift is not available (from any manner: 403, 404, etc), Cinder is the backend for the Cluster Image Registry Operator with a PVC. The problem here is that we see an error that Swift is not available but then no PVC is being created.
Version-Release number of selected component (if applicable):
4.18.0
How reproducible:
Disable swiftoperator role for your user and no PVC will be created
Actual results:
E1122 15:37:26.301213 1 controller.go:379] unable to sync: unable to sync storage configuration: persistentvolumeclaims "image-registry-storage" not found, requeuing E1122 15:37:50.851275 1 swift.go:84] error listing swift containers: Expected HTTP response code [200 204 300[] when accessing [GET https://10.8.1.135:13808/v1/AUTH_6640775c6b5d4e5fa997fb9b85254da1/], but got 403 instead: <html><h1>Forbidden</h1><p>Access was denied to this resource.</p></html> I1122 15:37:50.858381 1 controller.go:294] object changed: *v1.Config, Name=cluster (metadata=false, spec=true): added:spec.storage.pvc.claim="image-registry-storage", changed:status.conditions.2.lastTransitionTime={"2024-11-22T15:37:26Z" -> "2024-11-22T15:37:50Z"} I1122 15:37:50.873526 1 controller.go:340] object changed: *v1.Config, Name=cluster (status=true): changed:metadata.generation={"12.000000" -> "11.000000"}, removed:metadata.managedFields.2.apiVersion="imageregistry.operator.openshift.io/v1", removed:metadata.managedFields.2.fieldsType="FieldsV1", removed:metadata.managedFields.2.manager="cluster-image-registry-operator", removed:metadata.managedFields.2.operation="Update", removed:metadata.managedFields.2.time="2024-11-22T15:37:50Z", changed:status.conditions.2.lastTransitionTime={"2024-11-22T15:37:26Z" -> "2024-11-22T15:37:50Z"}, changed:status.observedGeneration={"10.000000" -> "11.000000"} E1122 15:37:50.885488 1 controller.go:379] unable to sync: unable to sync storage configuration: persistentvolumeclaims "image-registry-storage" not found, requeuing
Expected results:
PVC should be created and therefore the operator to become healthy.
- blocks
-
OCPBUGS-45160 PVC for Image Registry Operator is not created when Swift is unavailable
- POST
- is cloned by
-
OCPBUGS-45160 PVC for Image Registry Operator is not created when Swift is unavailable
- POST
- links to