Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1291114

Summary: Shoud not set duplicated value 'registry.access.redhat.com' in $ADD_REGISTRY
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, bleanhar, jokerman, mmccomas, xtian
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-01-27 19:43:12 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 Ma xiaoqiang 2015-12-14 02:36:06 UTC
Description of problem:
Shoud not set duplicated value 'registry.access.redhat.com' in $ADD_REGISTRY 

Version-Release number of selected component (if applicable):
https://github.com/sdodson/openshift-ansible containers

How reproducible:
Always


Steps to Reproduce:

1. Install container env with specified 'docker_*_registries'
#export  docker_additional_registries=registry.access.redhat.com


#ansible-playbook -i hosts_test openshift-ansible/playbooks/byo/config.yml -v

2. check the docker configuration
vim /etc/sysconfig/docker
<--snip-->
ADD_REGISTRY='--add-registry registry.access.redhat.com --add-registry registry.access.redhat.com'
<--snip-->


Actual results:

1. Found that docker configuration have duplicated value 'registry.access.redhat.com'

Expected results:
Should not have duplicated value 'registry.access.redhat.com' in $ADD_REGISTRY 

Additional info:

Comment 1 Scott Dodson 2015-12-15 20:36:13 UTC
This should be fixed in the latest code, please re-pull the containers branch, thanks!

Comment 2 Ma xiaoqiang 2015-12-18 01:44:52 UTC
Get the expected result

Comment 4 errata-xmlrpc 2016-01-27 19:43:12 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.

https://access.redhat.com/errata/RHBA-2016:0075