Bug 1467786 - OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 was removed in master service env file on the second run
Summary: OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 was removed in ma...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Kenny Woodson
QA Contact: Gaoyun Pei
Depends On:
TreeView+ depends on / blocked
Reported: 2017-07-05 07:24 UTC by Gaoyun Pei
Modified: 2018-03-01 14:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-08-10 05:29:50 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description Gaoyun Pei 2017-07-05 07:24:06 UTC
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):

How reproducible:

Steps to Reproduce:
1. See Description

Actual results:

Expected results:

Additional info:

Comment 3 Johnny Liu 2017-07-07 11:18:37 UTC
Currently the latest puddle QE get is AtomicOpenShift/3.6/2017-07-07.2, but its openshift-ansible version openshift-ansible-, does not have this PR merged.

Comment 5 Gaoyun Pei 2017-07-10 08:11:11 UTC
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

Comment 7 Gaoyun Pei 2017-07-11 02:59:28 UTC
Move it to verified according to Comment 5

Comment 9 errata-xmlrpc 2017-08-10 05:29:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.