Configure an IP failover fails pulling the image ose-keepalived-ipfailover in Openshift Cluster Platform 3.11
Issue
- Trying to create an IP failover fails because the image, openshift3/ose-keepalived-ipfailover, can not be pulled due unauthorized error:
$oc adm ipfailover --virtual-ips=XX.XX.XX.XX
--> Creating IP failover ipfailover ...
serviceaccount "ipfailover" created
deploymentconfig.apps.openshift.io "ipfailover" created
--> Success
$oc get events
node-0.example.com Error: ErrImagePull
44m 46m 4 ipfailover-1-c2vfx.15af7125510af038 Pod spec.containers{ipfailover-keepalived} Warning Failed kubelet, node-0.example.com Failed to pull image "registry.redhat.io/openshift3/ose-keepalived-ipfailover:v3.11.104": rpc error: code = Unknown desc = Get https://registry.redhat.io/v2/openshift3/ose-keepalived-ipfailover/manifests/v3.11.104: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/articles/3399531
44m 46m 7 ipfailover-1-c2vfx.15af712566c381e5 Pod spec.containers{ipfailover-keepalived} Normal BackOff kubelet, node-0.example.com Back-off pulling image "registry.redhat.io/openshift3/ose-keepalived-ipfailover:v3.11.104"
41m 46m 19 ipfailover-1-c2vfx.15af712566c3b331 Pod spec.containers{ipfailover-keepalived} Warning Failed kubelet, node-0.example.com Error: ImagePullBackOff
Environment
- Openshift Platform Container(OCP) 3.11
- registry.access.redhat.com configured as default registry instead registry.redhat.io
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.