Bug 1331389
Summary: | cli_docker_additional_registries doesn't take effect during upgrade | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
Component: | Cluster Version Operator | Assignee: | Devan Goodwin <dgoodwin> |
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.2.0 | CC: | aos-bugs, bleanhar, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-07 10:55:54 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
Anping Li
2016-04-28 12:33:17 UTC
The private registry server name was removed too if there isn't option cli_docker_insecure_registries in inventory file. I think the upgrade shouldn't modify docker configuration files except for there is options against docker in the inventory file. The openshift administrator may set significant options manually that make the difference between Ansible inventory files and the real configuration. I think the rule "Don’t modify existing options unless needed" should be following during upgrade. The detail as following: 1) Update /etc/sysconfig/docker. and your private registry in ADD_REGISTRY. for example: ADD_REGISTRY='--add-registry registry.access.redhat.com --add-registry myregistry.example.com' 2) Don't specify any docker related options in inventory file. 3) upgrade to 3.2. 4) after upgrade, we will found the private registry name was removed from ADD_REGISTRY. ADD_REGISTRY='--add-registry registry.access.redhat.com" I'm wondering if the fix for Bug #1326045 will fix this too. Don't think it will help, the additional registries are just not part of upgrade today. I will trace down what it would take to get them into play. I know the docker role is applied during upgrade. My thought was that it wasn't getting picked up because of the previous backward compatibility problem. Fixed the cli_* registries in https://github.com/openshift/openshift-ansible/pull/1869. There are other problems related to adding a new registry and then running upgrade (without re-running config in between) that I'm going to work on as a separate PR, however that is not part of this bug. The fix work well with atomic-openshift-utils-3.0.89. waiting for errata package to verify it. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1208 |