Unable to configure Image Registry for single node cluster
Issue
- Using Local Storage volume for configuring
Image RegistryPVCstuck at pending state with below events:
$ oc get pvc -n openshift-image-registry
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
image-registry-storage Pending local-sc 2m28s
$ oc describe pvc image-registry-storage -n openshift-image-registry
.....
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal WaitForFirstConsumer 2m16s (x4 over 2m52s) persistentvolume-controller waiting for first consumer to be created before binding
Normal WaitForPodScheduled 76s (x4 over 2m1s) persistentvolume-controller waiting for pods image-registry-xxxxxxxxxxxx,image-registry-xxxxxxxxxxxx to be scheduled
.....
- Due to this
Image Registrypod is also stuck at apendingstate with the below events:
$ oc get pod -n openshift-image-registry
NAME READY STATUS RESTARTS AGE
image-registry-xxxxx-xxxxx 0/1 Pending 0 2m54s
$ oc describe pod image-registry-xxxxx-xxxxx -n openshift-image-registry
......
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 35s (x21 over 19m) default-scheduler 0/1 nodes are available: 1 node(s) didn't find available persistent volumes to bind.
.......
Environment
- Red Hat OpenShift Container Platform(RHOCP)
- 4.10
- Single Node Cluster(BareMetal)
- Local Storage Operator
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.