Bug 1271910

Summary: Ansible enhancement to include docker registry parameters
Product: OpenShift Container Platform Reporter: Jaspreet Kaur <jkaur>
Component: DocumentationAssignee: Alex Dellapenta <adellape>
Status: CLOSED CURRENTRELEASE QA Contact: Vikram Goyal <vigoyal>
Severity: low Docs Contact: Vikram Goyal <vigoyal>
Priority: low    
Version: 3.0.0CC: aos-bugs, bleanhar, jokerman, mmccomas
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: 2017-12-30 22:27:47 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 Jaspreet Kaur 2015-10-15 05:38:18 UTC
Description of problem:

At present only oreg_url & openshift_node_labels works with ansible but passing docker registry options as below does not work :

----------
master.example.com openshift_node_labels="{'env': 'test', 'role':
'master'}"
oreg_url=gcloud-openshift_registry-openshift3_ose-${component}:${version}
docker_additional_registries='repo.example.com'
docker_blocked_registries='all'
----------

Manually modifying the code helps to use the parameters. Inaddtion to this, pre-pending with 'cli_' works. However, this is not user friendly and is also not recommended.

-------
master.example.com openshift_node_labels="{'env': 'test', 'role':
'master'}"
oreg_url=gcloud-openshift_registry-openshift3_ose-${component}:${version}
cli_docker_additional_registries='repo.example.com'
cli_docker_blocked_registries='all'
-------


Additional info:

docker registry parameters for the nodes should be added in a more user-friendly way or else a recommended solution for this would be great

Comment 1 Brenton Leanhardt 2015-10-16 14:36:30 UTC
We definitely agree we need to improve the usability of the playbooks.  For now we're going to solve this with documentation for this use case.

Comment 7 Vikram Goyal 2017-12-30 22:27:47 UTC
The last two settings were documented here: https://docs.openshift.com/enterprise/3.1/install_config/install/rpm_vs_containerized.html#containerized-required-images

Closing this bug.