Bug 1334148 - The parameter 'openshift_docker_hosted_registry_insecure' didn't take effect when it is set to false
Summary: The parameter 'openshift_docker_hosted_registry_insecure' didn't take effect ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Devan Goodwin
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-09 02:57 UTC by Ma xiaoqiang
Modified: 2016-07-04 00:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-07 10:55:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1208 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-06-07 14:55:01 UTC

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


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