Bug 1504021 - disabledFeatures is not added into master config file when installing standalone registry console env.
Summary: disabledFeatures is not added into master config file when installing standal...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.7.0
Assignee: Andrew Butcher
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-19 10:12 UTC by Johnny Liu
Modified: 2017-11-28 22:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-28 22:18:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

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


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