Red Hat Bugzilla – Bug 1467786
OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 was removed in master service env file on the second run
Last modified: 2017-08-16 15:51 EDT
Description of problem:
Re-run the installer on ocp-3.6 after a successful deployment( or at least master configuration was finished), after the second run, found OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 was not shown in master service env file.
[root@qe-gpei-etcd-sc-master-1 ~]# cat /etc/sysconfig/atomic-openshift-master
# Proxy configuration
# See https://docs.openshift.com/enterprise/latest/install_config/install/advanced_install.html#configuring-global-proxy
This issue should also affect master scale-up, for new masters, they will also not have this line added in master service env files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See Description
Currently the latest puddle QE get is AtomicOpenShift/3.6/2017-07-07.2, but its openshift-ansible version openshift-ansible-22.214.171.124-1.git.0.efd80ab.el7, does not have this PR merged.
Verify this bug with openshift-ansible-3.6.140-1.git.0.4a02427.el7.noarch
When re-run installer against an ocp-3.6 cluster, OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 was not removed from master service env files.
For non-ha master env, it's still configured in /etc/sysconfig/atomic-openshift-master
For ha master env, it's still configured in /etc/sysconfig/atomic-openshift-master-api and /etc/sysconfig/atomic-openshift-master-controllers
Move it to verified according to Comment 5
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.