Bug 1946751 - DAY2 Confusing event when trying to add hosts to a cluster that completed installation
Summary: DAY2 Confusing event when trying to add hosts to a cluster that completed ins...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.7
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Sarah Lavie
QA Contact: Yuri Obshansky
URL:
Whiteboard: AI-Team-Core
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-06 19:04 UTC by fnar
Modified: 2021-07-27 22:58 UTC (History)
6 users (show)

Fixed In Version: OCP-Metal-v1.0.19.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:57:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
AI Cluster Error (994.00 KB, image/png)
2021-04-06 19:04 UTC, fnar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:58:04 UTC

Description fnar 2021-04-06 19:04:47 UTC
Created attachment 1769648 [details]
AI Cluster Error

Created attachment 1769648 [details]
AI Cluster Error

Description of problem:
AI does not allow addition/enlist of new nodes to an existing 3 nodes cluster, that prevents cluster scale from 3 nodes to 3 + 2 = 5 nodes.

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


How reproducible: Easy as described below.

Steps to Reproduce:
1.Create a 3 nodes AI cluster, get it up and running.
2.Bootstrap new worker nodes (4th & 5th node) with same iso image
3.See the error attached in snapshot picture.

Actual results:


Expected results:


Additional info:

Comment 1 mchernyk 2021-04-07 11:17:47 UTC
It is an expected behavior. 

Day1 cluster is considered transient, so it's deliberately not used for scaling up an installed OS cluster. The correct way to add workers is to use "Add Hosts" tab of the cluster details page on cloud.redhat.com/openshift 

This tab is shown when OS cluster is healthy and has "Bare Metal" type ("Provider (Location)" column).

Comment 2 Ronnie Lazar 2021-04-07 15:57:12 UTC
Now the user sees the standard event about not being able to register host in current state.
I think that in the case that we get a host registering when the cluster is already installed, we should display a different message in the event.
something along: "Cannot add host to a cluster that is already installed, please use the day2 cluster option" or something along these lines.

@avishay what do you think?

Comment 3 Avishay Traeger 2021-04-08 13:25:22 UTC
Yes, a clearer event can help.  Allowing to add hosts to the day1 cluster would help even more :)

Comment 4 Sarah Lavie 2021-04-28 09:17:58 UTC
solution was provided in this PR https://github.com/openshift/assisted-service/pull/1590/

Comment 5 mchernyk 2021-05-05 11:41:50 UTC
Verified on staging
Assisted-ui-lib version:  1.5.19
assisted-service: v1.0.19.3

Comment 8 errata-xmlrpc 2021-07-27 22:57:48 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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-2021:2438


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