Installing Openshift Container Platform 3.9 using external Quay repository

Solution Verified - Updated -

Environment

  • OpenShift Container Platform 3.9

Issue

  • Ansible playbook pulls images from registry.access.redhat.com instead of preferred image repository.

Resolution

If you are using an image registry other than the default at registry.access.redhat.com, specify the desired registry within the /etc/ansible/hosts file.

EXAMPLE:
oreg_url=example.com/openshift3/ose-${component}:${version}
openshift_examples_modify_imagestreams=true

For additional details, check: OpenShift Advanced Install guide

Root Cause

The ansible hosts file must be configured to point to the preferred registry since the default registry location for Openshift points to registry.access.redhat.com.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments