Bug 1538974

Summary: "WebConsole" as disabledFeatures does not honored when running a standalone registry cluster.
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, dmace, jokerman, mfojtik, mmccomas, spadgett
Target Milestone: ---Keywords: Regression
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 15:40:11 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:

Comment 1 Dan Mace 2018-01-26 15:21:59 UTC
I believe this is going to be an installer issue. As of 3.9, the web console is deployed in its own pod externally. If the operator doesn't want a web console, the web console shouldn't be deployed. The disabledFeature=WebConsole flag is no longer used.

The registry deployment type should do whatever is necessary to prevent the deployment of the web console.

Comment 2 Scott Dodson 2018-01-26 17:57:06 UTC
Sam,

Lets drop something like this at the end of playbooks/init/basic_facts.yml this will depend on the earlier call to sanitize inventory which migrates from the legacy 'deployment_subtype' that QE is setting to 'openshift_deployment_subtype'.

- name: Disable web console if required
  hosts: oo_masters_to_config
  gather_facts: no
  tasks:
  - set_fact:
      openshift_web_console_install: False
    when: 
    - openshift_deployment_subtype == 'registry'

Comment 3 Johnny Liu 2018-01-29 02:49:25 UTC
BTW, according to comment 1, if the disabledFeature=WebConsole flag is no longer used, it is better to be removed from /etc/origin/master/master-config.yaml either.

Comment 7 Johnny Liu 2018-02-05 06:13:54 UTC
Verified this bug with openshift-ansible-3.9.0-0.36.0.git.0.da68f13.el7.noarch, and PASS.

When deployment_subtype=registry is set, no web console is installed.
# oc get project openshift-web-console
Error from server (NotFound): namespaces "openshift-web-console" not found