Description of problem: Image registry controller fails its bootstrap if remove Swift storage can't be reached. If bootstrap fails no imageregistry config is created, if swift is not accessible bootstrap should succeed so users can configure their storage as a day 2 activity. Discussions around the problem can be found on the following slack thread: https://coreos.slack.com/archives/C013VBYBJQH/p1591795133048700
Verified on 4.6.0-0.nightly-2020-07-16-211200: 1.$oc -n openshift-image-registry scale deploy cluster-image-registry-operator --replicas=0 2.$oc delete crd configs.imageregistry.operator.openshift.io 3.$oc -n openshift-image-registry create secret generic image-registry-private-configuration-user --from-literal=REGISTRY_STORAGE_SWIFT_USERNAME=admin --from-literal=REGISTRY_STORAGE_SWIFT_PASSWORD=password 4.$oc -n openshift-image-registry scale deploy cluster-image-registry-operator --replicas=1 5. Then wait for image registry config comes back, image registry is using pvc now: spec: httpSecret: 56a67d73c48c35d6de2860388e4131c0b338ab039fb11b7cf84e602e705a164cfc0c97c05787a2024b700e97d8a5d09512acbf59f7d587ad7c34dfb899429b49 logging: 2 managementState: Managed proxy: {} replicas: 1 requests: read: maxWaitInQueue: 0s write: maxWaitInQueue: 0s rolloutStrategy: Recreate storage: pvc: claim: image-registry-storage $ oc get pods NAME READY STATUS RESTARTS AGE cluster-image-registry-operator-565755f494-8fzrr 1/1 Running 0 5m9s image-registry-5865668cb9-vh9c6 1/1 Running 0 44s node-ca-5dfw8 1/1 Running 0 4h37m node-ca-9ktzq 1/1 Running 0 4h37m node-ca-d4s85 1/1 Running 0 4h25m node-ca-s95zv 1/1 Running 0 4h37m node-ca-xbmcf 1/1 Running 0 4h30m node-ca-zfldq 1/1 Running 0 4h32m
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196