Description of problem: OPENSHIFT_DEFAULT_REGISTRY is deprecated, we need use REGISTRY_OPENSHIFT_SERVER_ADDR in the DC of docker-registry Version-Release number of the following components: rpm -q openshift-ansible rpm -q ansible ansible --version How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag
Commit pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/0da4565f55faeb436b5a4634a1f57d18ffb7e0c4 use non-deprecated REGISTRY_OPENSHIFT_SERVER_ADDR variable to set the registry hostname bug 1537593 https://bugzilla.redhat.com/show_bug.cgi?id=1537593
Verified with: oc v3.9.0-0.31.0 kubernetes v1.9.1+a0ce1bc657 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://172.16.120.121:8443 openshift v3.9.0-0.31.0 kubernetes v1.9.1+a0ce1bc65 # oc env dc/docker-registry --list # deploymentconfigs docker-registry, container registry REGISTRY_HTTP_ADDR=:5000 REGISTRY_HTTP_NET=tcp REGISTRY_HTTP_SECRET=IIU2by2wJ87Gu0HExgVvUAGqbaSD7HUpPZn3xLm+oc4= REGISTRY_MIDDLEWARE_REPOSITORY_OPENSHIFT_ENFORCEQUOTA=false REGISTRY_HTTP_TLS_KEY=/etc/secrets/registry.key REGISTRY_OPENSHIFT_SERVER_ADDR=docker-registry.default.svc:5000 REGISTRY_CONFIGURATION_PATH=/etc/registry/config.yml REGISTRY_HTTP_TLS_CERTIFICATE=/etc/secrets/registry.crt
The fix PR is landed into openshift-ansible-roles-3.9.0-0.31.0.git.0.e0a0ad8.el7.noarch, but does not land into openshift-ansible master branch, pls also help fix it in master branch.
This change actually had to be reverted: https://github.com/openshift/openshift-ansible/pull/6913 i'll move this back to QA once we unrevert that change.
new PR is here: https://github.com/openshift/openshift-ansible/pull/6923
In openshift-ansible-3.9.9-1
verified with ansible: openshift-ansible-3.9.14-1.git.0.ca2cfc3.el7.noarch.rpm and openshift version: openshift v3.9.14 kubernetes v1.9.1+a0ce1bc657 etcd 3.2.16