Bug 2118545 - [UI] after the installation for the day2 worker for sno is done, the progress bar label should changed
Summary: [UI] after the installation for the day2 worker for sno is done, the progress...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: multicluster engine for Kubernetes
Classification: Red Hat
Component: Infrastructure Operator
Version: 2.1
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: mce-2.1.2
Assignee: Michael Filanov
QA Contact: Chad Crum
Derek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-16 06:24 UTC by Shelly Miron
Modified: 2025-12-26 13:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-01 16:03:49 UTC
Target Upstream Version:
Embargoed:
cbynum: multicluster-engine-2.1+
cbynum: multicluster-engine-2.1.z+


Attachments (Terms of Use)
day2 worker for sno label not changed (586.86 KB, image/png)
2022-08-16 06:24 UTC, Shelly Miron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift-assisted assisted-ui-lib pull 1637 0 None Merged Bug 2118545: Hosts in added-to-existing-cluster are considered installed 2022-09-19 08:25:02 UTC
Github openshift-assisted assisted-ui-lib pull 1640 0 None Merged [2.6-cim] Bug 2118545: Hosts in added-to-existing-cluster are considered installed 2022-09-19 08:25:04 UTC
Github stolostron backlog issues 25121 0 None None None 2022-08-16 09:42:07 UTC
Red Hat Product Errata RHBA-2022:7277 0 None None None 2022-11-01 16:03:57 UTC

Description Shelly Miron 2022-08-16 06:24:23 UTC
Created attachment 1905676 [details]
day2 worker for sno label not changed

Description of the problem:
--------------------------------------

After adding a day2 worker to an sno cluster from the UI, we expect the progress bar label to change
from "Installing 1 worker" to "worker added" or "worker installed" or something equivalent.


Release version:
--------------------------------------

2.6/2.1


Operator snapshot version:
--------------------------------------

MCE version: 2.1.0-DOWNANDBACK-2022-08-11-23-42-45

OCP version:
--------------------------------------

$ oc version

Client Version: 4.11.0-0.nightly-2022-08-11-023608
Kustomize Version: v4.5.4
Server Version: 4.11.0-0.nightly-2022-08-11-023608
Kubernetes Version: v1.24.0+9546431

Browser Info:
--------------------------------------
chrome/firefox

Steps to reproduce:
--------------------------------------
1. Create sno cluster from the UI
2. Add 1 day2 worker to that spoke
3. Wait for the worker to finish installation 

Actual results:
--------------------------------------

after the installation for the day2 worker for sno is done, the progress bar label is not changed accordingly 

Expected results:
--------------------------------------

after the installation for the day2 worker for sno is done, the progress bar label changed accordingly

Additional info:
--------------------------------------
screenshot

Comment 3 Shelly Miron 2022-09-27 11:05:12 UTC
Hi, the issue with the wrong label was fixed for 1 worker node that was added to the sno spoke (image attached).
on the other hand, when a worker node was installed, and we are adding an additional worker node to that sno spoke,
the label that is shown is as if we are installing 2 new worker nodes into that sno spoke (see image attached).

tested with:

$ oc version

Client Version: 4.11.5
Kustomize Version: v4.5.4
Server Version: 4.11.5
Kubernetes Version: v1.24.0+3882f8f

MCE version: 2.1.2-DOWNANDBACK-2022-09-26-14-39-26

Comment 4 Jiri Tomasek 2022-10-03 13:38:29 UTC
We currently don't have any means to differentiate between day 1 and day 2 workers. Maybe we can try to leverage a cluster status - if a cluster is in 'adding hosts' status (day2) we change the label to 'Scaling the cluster to X workers'. IMHO it would be good to have a separate BZ for this.
@smiron what do you think?

Comment 5 Jiri Tomasek 2022-10-04 08:38:59 UTC
I've created a separate bug for the new issue, https://bugzilla.redhat.com/show_bug.cgi?id=2131944
Moving back to ON_QA

Comment 6 epassaro 2022-10-19 14:07:52 UTC
Verified with MCE 2.1.2-DOWNANDBACK-2022-10-14-18-22-00

Comment 9 errata-xmlrpc 2022-11-01 16:03:49 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 (Multicluster Engine for Kubernetes 2.1.2 container updates and bug fixes), 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-2022:7277


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