Bug 1537593
| Summary: | OPENSHIFT_DEFAULT_REGISTRY is deprecated, we need use REGISTRY_OPENSHIFT_SERVER_ADDR in the DC of docker-registry | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wang Haoran <haowang> |
| Component: | Installer | Assignee: | Ben Parees <bparees> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wang Haoran <haowang> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.9.0 | CC: | aos-bugs, dyan, jialiu, jokerman, mmccomas, smunilla, wmeng, wzheng |
| Target Milestone: | --- | ||
| Target Release: | 3.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-ansible-3.9.14-1.git.0.ca2cfc3.el7.noarch.rpm | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Ansible installer was using a deprecated value ( OPENSHIFT_DEFAULT_REGISTRY) to set the registry url on the registry deployment.
Consequence: A warning message about the deprecated value being used was reported.
Fix: Updated the installer to use the preferred variable name (REGISTRY_OPENSHIFT_SERVER_ADDR)
Result: The warning is no longer displayed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-18 18:06:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Wang Haoran
2018-01-23 14:53:42 UTC
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 |