Bug 1504021

Summary: disabledFeatures is not added into master config file when installing standalone registry console env.
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: InstallerAssignee: Andrew Butcher <abutcher>
Status: CLOSED ERRATA QA Contact: Johnny Liu <jialiu>
Severity: high Docs Contact:
Priority: high    
Version: 3.7.0CC: aos-bugs, jokerman, mmccomas, xtian
Target Milestone: ---Keywords: Regression
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 22:18:08 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 Johnny Liu 2017-10-19 10:12:28 UTC
Description of problem:
When deployment_subtype=registry, installer set up the env successfully, but 'disabledFeatures: ["Builder", "S2IBuilder", "WebConsole"]' is not added into master config file, that is because "deployment_subtype" is always set to "basic" in openshift facts, but not "registry".


Version-Release number of the following components:
openshift-ansible-3.7.0-0.158.0.git.0.8941dd5.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. set deployment_subtype=registry in inventory host file
2. trigger installation to install a standalone registry env.
3.

Actual results:
env is set up successfully, but user still could access webconsole, S2I build feature against the cluster.

Expected results:
'disabledFeatures: ["Builder", "S2IBuilder", "WebConsole"]' is added into master config file, webconsole, S2I build feature are disabled in this cluster.

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 4 Johnny Liu 2017-10-30 03:45:24 UTC
Verified this bug with openshift-ansible-3.7.0-0.184.0.git.0.d407445.el7.noarch, and PASS.


# grep -r "disabledFeatures" /etc/origin/master/master-config.yaml -A 3
disabledFeatures:
- Builder
- S2IBuilder
- WebConsole

Comment 7 errata-xmlrpc 2017-11-28 22:18:08 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/RHSA-2017:3188