Bug 1421811 - [DOCS] The ansible hosts file for the standalone registry is missing openshift_master_default_subdomain
Summary: [DOCS] The ansible hosts file for the standalone registry is missing openshif...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Brandi Munilla
QA Contact: Johnny Liu
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-13 18:15 UTC by ldomb
Modified: 2017-03-27 12:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-27 12:48:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description ldomb 2017-02-13 18:15:42 UTC
Document URL: https://docs.openshift.com/container-platform/3.4/install_config/install/stand_alone_registry.html

and

https://access.redhat.com/documentation/en/openshift-container-platform/3.4/single/installation-and-configuration/#install-config-installing-stand-alone-registry

Section Number and Name: 2.8.5.2. Advanced Installation for Stand-alone Registries

Example 1. All-in-one Stand-alone Registry Inventory File (ocpdoc)

Example 2.5. All-in-one Stand-alone Registry Inventory File (rhdoc)

Describe the issue: the hosts file is missing the openshift_master_default_subdomain=reg.local.domb.com which causes the install to create an internal route instead of exposing it.

Suggestions for improvement: 

Add openshift_master_default_subdomain=$appdomain to the ansible hosts file

Additional information:

Comment 1 Brandi Munilla 2017-03-09 00:56:10 UTC
Hi Wei, 

I've added 'openshift_master_default_subdomain=$appdomain' to the Ansible hosts file in PR#3905[1]. Please verify that I put it in the correct location. 

Thank you!

[1]https://github.com/openshift/openshift-docs/pull/3905

Comment 2 Johnny Liu 2017-03-09 03:10:48 UTC
The modification in the above PR seem like not in right place.

There are two places need to be updated in https://docs.openshift.com/container-platform/3.4/install_config/install/stand_alone_registry.html#registry-advanced-installation section: "Example 1" and "Example 2".

Should add the following line to "[OSEv3:vars]" section just like https://docs.openshift.com/container-platform/3.4/install_config/install/advanced_install.html#configuring-cluster-variables, but not add it onto node line.
openshift_master_default_subdomain=apps.test.example.com

Comment 3 Brandi Munilla 2017-03-15 20:24:05 UTC
Hi Johnny, 

Thank you for your feedback. I updated PR#3905[1] accordingly. Please take a look when you get a chance. 

[1]https://github.com/openshift/openshift-docs/pull/3905

Comment 4 Johnny Liu 2017-03-16 06:40:15 UTC
It looks good to me.


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