Bug 1334148

Summary: The parameter 'openshift_docker_hosted_registry_insecure' didn't take effect when it is set to false
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: aos-bugs, dgoodwin, 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-06-07 10:55:57 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 2016-05-09 02:57:32 UTC
Description of problem:
The parameter 'openshift_docker_hosted_registry_insecure' didn't take effect when it is set to false


Version-Release number of selected component (if applicable):
openshift-ansible-3.0.87-1


How reproducible:
always

Steps to Reproduce:
1. install env with following parameters:
vim hosts
<--snip-->
openshift_master_portal_net='172.31.0.0/16'
openshift_docker_hosted_registry_insecure=false
<--snip-->
$ ansible-playbook -i hosts openshift-ansible/playbooks/byo/config.yml -v

2. check the docker configuration


Actual results:
# cat /etc/sysconfig/docker
# /etc/sysconfig/docker

# Modify these options if you want to change the way the docker daemon runs
OPTIONS=' --selinux-enabled --insecure-registry=172.31.0.0/16'

Expected results:
the parameters should work


Additional info:

Comment 1 Devan Goodwin 2016-05-11 19:53:37 UTC
PR up: https://github.com/openshift/openshift-ansible/pull/1880

Comment 3 Ma xiaoqiang 2016-05-25 00:36:47 UTC
Check on openshift-ansible-3.0.93-1

1. install env with following parameters:
vim hosts
<--snip-->
openshift_master_portal_net='172.31.0.0/16'
openshift_docker_hosted_registry_insecure=false
<--snip-->
$ ansible-playbook -i hosts openshift-ansible/playbooks/byo/config.yml -v

2. check the docker configuration
cat /etc/sysconfig/docker
<--snip-->
OPTIONS=' --selinux-enabled'
<--snip-->

Get the expected result, move it to VERIFIED.

Comment 5 errata-xmlrpc 2016-06-07 10:55:57 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:1208