gshipley / installcentos

427 stars 455 forks source link

Fix image URL for registry-console pod #183

Closed brigriffin closed 3 years ago

brigriffin commented 4 years ago

As described in this PR (https://github.com/openshift/openshift-ansible/pull/12122) the cockpit/kubernetes image [1] used by the registry-console pod has been retired and the openshift3/registry-console image from redhat [2] should be used instead.

This PR adapts the ansible inventory.ini template file to specify the new location to the redhat image by defining the openshift_cockpit_deployer_image variable and hence overriding the default image taken from the playbooks.

Until this gets fixed directly in the PR of the openshift/openshift-ansible repo mentioned above one can use this workaround so that this installation script fully succeeds to install OKD. Without this fix one ends up with a broken registry-console pod at the end of the installation...

Note that the redhat registry certificate is required in order to download their image that's why it gets downloaded before running the ansible playbooks.

Thank you for your consideration.

[1] https://hub.docker.com/r/cockpit/kubernetes [2] https://access.redhat.com/containers/#/registry.access.redhat.com/openshift3/registry-console

slaterx commented 4 years ago

Hi @brigriffin,

Following the merge of [1], could you please provide a success run log?

Thanks!

[1] https://github.com/openshift/openshift-ansible/pull/12122

brigriffin commented 4 years ago

@slaterx Sure, is the ansible run summary below enough or do you need the full log?

PLAY RECAP *********************************************************************************************************************************************************************************************************************************************************************
123.123.123.123            : ok=850  changed=312  unreachable=0    failed=0   
localhost                  : ok=11   changed=0    unreachable=0    failed=0   

INSTALLER STATUS ***************************************************************************************************************************************************************************************************************************************************************
Initialization               : Complete (0:00:42)
Health Check                 : Complete (0:00:09)
Node Bootstrap Preparation   : Complete (0:03:59)
etcd Install                 : Complete (0:02:00)
Master Install               : Complete (0:07:35)
Master Additional Install    : Complete (0:01:38)
Node Join                    : Complete (0:01:05)
Hosted Install               : Complete (0:02:14)
Cluster Monitoring Operator  : Complete (0:01:08)
Web Console Install          : Complete (0:00:55)
Console Install              : Complete (0:00:46)
Metrics Install              : Complete (0:05:39)
metrics-server Install       : Complete (0:02:36)
Service Catalog Install      : Complete (0:04:09)
mtnbikenc commented 3 years ago

FYI, see https://github.com/openshift/openshift-ansible/pull/12278