Bug 1333123

Summary: [extras-rhel-7.2.4] include ADD|BLOCK_REGISTRY variables in docker-latest sysconfig
Product: Red Hat Enterprise Linux 7 Reporter: Lokesh Mandvekar <lsm5>
Component: docker-latestAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact: Yoana Ruseva <yruseva>
Priority: unspecified    
Version: 7.2CC: amurdaca, lsu
Target Milestone: rcKeywords: Extras, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: docker-latest-1.10.3-22.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 14:56:34 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 Lokesh Mandvekar 2016-05-04 17:18:23 UTC
Description of problem:
The current docker-latest sysconfig file doesn't have the ADD_REGISTRY and BLOCK_REGISTRY variables. They need to be included and unitfile needs to be updated.

Comment 3 Luwen Su 2016-05-05 02:41:14 UTC
# grep ADD_REGISTRY /etc/sysconfig/docker-latest
# pull use the ADD_REGISTRY option to list a set of registries, each prepended
ADD_REGISTRY='--add-registry registry.access.redhat.com'

# grep BLOCK_REGISTRY /etc/sysconfig/docker-latest
# If you want to block registries from being used, uncomment the BLOCK_REGISTRY
# BLOCK_REGISTRY='--block-registry'

# grep ADD_REGISTRY /usr/lib/systemd/system/docker-latest.service
          $ADD_REGISTRY \
# grep BLOCK_REGISTRY /usr/lib/systemd/system/docker-latest.service
          $BLOCK_REGISTRY \

Move to verified in docker-latest-1.10.3-22.el7.x86_64

Comment 5 errata-xmlrpc 2016-05-12 14:56:34 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://rhn.redhat.com/errata/RHEA-2016-1057.html