Bug 1538974 - "WebConsole" as disabledFeatures does not honored when running a standalone registry cluster.
Summary: "WebConsole" as disabledFeatures does not honored when running a standalone r...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-26 09:56 UTC by Johnny Liu
Modified: 2018-03-27 09:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-02-12 15:40:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.9 RPM Release Advisory 2018-03-28 18:06:38 UTC

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


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