I previously asked about doing a fully offline install of OpenshiftM5, I
was directed to this link:
https://github.com/openshift/openshift-ansible/blob/master/inventory/byo/hosts.origin.example#L62
and the nicely commented section on how to specify an insecure registry
with a line like cli_docker_insecure_registries=registry.example.com
I have since setup a insecure registry I can push and pull from, pushed the
OpenshiftM5 containers to it and specified it in the /etc/ansible/hosts
file with the above variable. Additionally, as best i can understand from
the documentation you also need to set containerized=true in the ansible
hosts file variables, which I did.
Unfortunately on install it seems that the Openshift installer is not
getting the images. I.e. docker ps and docker images result in nothing
listed. Upon further investigation I would expect that ansible would be
altering /etc/sysconfig/docker. The installer does add a line for the
expected internal openshift registry, but nothing for my outside offline
install registry.
Additionally in var log messages I get:

Feb 11 14:59:47 oso5-master01 origin-master: E0211 14:59:47.686445   27214
factory.go:49] [error checking for V2 registry at
https://registry-1.docker.io/v2/: Get https://registry-1.docker.io/v2/:
dial tcp 52.5.201.27:443: no route to host, error checking for V2 registry
at https://registry-1.docker.io/v2/: Get https://registry-1.docker.io/v2/:
dial tcp 52.3.65.18:443: no route to host]
Indicating that it is still attempting to hit docker.io.
 Searching I can find no additional references to
cli_docker_insecure_registries
in the github code so I cannot tell where it should be being referenced and
utilized.

Any suggestions?
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to