| Summary: | The docker registry configured manually in docker config was overwritten by openshift-ansible during upgrade | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | liujia <jiajliu> |
| Component: | Cluster Version Operator | Assignee: | Jason DeTiberus <jdetiber> |
| Status: | CLOSED NOTABUG | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | aos-bugs, bleanhar, dgoodwin, jiajliu, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-24 12:53: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: | |
|
Description
liujia
2016-08-24 06:24:04 UTC
If using atomic-openshift-installer I think you will have to set the OO_INSTALL_ADDITIONAL_REGISTRIES and OO_INSTALL_INSECURE_REGISTRIES environment variables. If using ansible directly you can set the following in your inventory: openshift_docker_additional_registries openshift_docker_insecure_registries Agreed, upgrade uses the docker role which has to generate the registry lines in /etc/sysconfig/docker. If you're using an inventory and ansible directly (like your steps above) you can configure these with: openshift_docker_additional_registries=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888 openshift_docker_insecure_registries=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888 If you're using the quick installer, Brenton's env variables method should still work and is likely the best option. You could also set the above vars in the deployment of a quick installer config file but that would require generating a quick installer config, then modifying it, and re-running, so the env var method Brenton suggests is probably best. Many thx. I've got your meaning. It is indeed not a bug but a misunderstanding about the difference between quick installer and ansible install. |