Bug 1748219 - Baremetal management UI should be disabled on non-baremetal cluster
Summary: Baremetal management UI should be disabled on non-baremetal cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Metal3 Plugin
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.2.0
Assignee: Jiri Tomasek
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-03 07:57 UTC by Jiri Tomasek
Modified: 2019-11-06 08:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:39:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 2558 0 None closed Bug 1748219: Detect baremetal platform 2020-08-06 16:23:22 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:40:03 UTC

Description Jiri Tomasek 2019-09-03 07:57:09 UTC
Description of problem:

metal3 deployment is installed by machine-api-operator, as mentioned in [1] currently the CRDs within the machine-api-operator are installed for all platforms. There is no way to selectively install CRDs after determining if it is a baremetal platform.

This means that UI can't use CRD presence as a flag for enabling metal3-plugin for baremetal management.

UI need to explicitly detect the baremetal platform by checking infrastructure/cluster resource.

Version-Release number of selected component (if applicable):


How reproducible:
Install AWS based cluster, Compute > Bare Metal Hosts navigation item is present

Comment 1 Jiri Tomasek 2019-09-03 07:57:59 UTC
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1746114

Comment 4 Yadan Pei 2019-09-17 07:03:36 UTC
1. Create 4.2 cluster with nightly build registry.svc.ci.openshift.org/ocp/release:4.2.0-0.nightly-2019-09-15-052022
2. Cluster admin visit Compute menu, no Bare Metal Hosts sub menu
3. Home -> Dashboards, no bare metal hosts info shown in Cluster Inventory

Comment 5 Yadan Pei 2019-09-17 07:04:08 UTC
Cluster is created on AWS

Comment 6 errata-xmlrpc 2019-10-16 06:39:51 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/RHBA-2019:2922


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