Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1946336

Summary: [AI-UI-Wizard] Some hosts may never publish Writing image to disk: 100% event
Product: OpenShift Container Platform Reporter: Steve Kramling <skramlin>
Component: assisted-installerAssignee: Eran Cohen <ercohen>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: medium CC: aos-bugs, gharden, mlammon
Version: 4.7Keywords: Triaged
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: AI-Team-Core
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-11 22:31:15 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:
Attachments:
Description Flags
worker percent 1
none
worker percent 2 none

Description Steve Kramling 2021-04-05 19:48:57 UTC
Created attachment 1769358 [details]
worker percent 1

Description of problem:
Workers never achieve Writing image to disk: 100% install complete however masters do.

Version-Release number of selected component (if applicable):
Assisted-ui-lib version:  1.5.13


How reproducible:
100%

Steps to Reproduce:
1. Create Cluster
2. Generate and Download ISO
3. Complete Install
4. Open "View Cluster Events" button
5. Filter by worker and text "stage Writing image to disk" 

Actual results:
4/5/2021, 2:05:49 PM	Host worker-0-0: reached installation stage Writing image to disk: 98%
4/5/2021, 2:05:46 PM	Host worker-0-0: reached installation stage Writing image to disk: 93%

Expected results:
4/5/2021, 2:05:49 PM	Host worker-0-0: reached installation stage Writing image to disk: 100%
4/5/2021, 2:05:46 PM	Host worker-0-0: reached installation stage Writing image to disk: 100%

Additional info:
4/5/2021, 2:05:55 PM	Host master-0-2: reached installation stage Writing image to disk: 100%
4/5/2021, 2:05:47 PM	Host master-0-1: reached installation stage Writing image to disk: 100%
4/5/2021, 2:05:44 PM	Host master-0-0: reached installation stage Writing image to disk: 100%

Comment 1 Steve Kramling 2021-04-05 19:49:36 UTC
Created attachment 1769359 [details]
worker percent 2

Comment 2 Jiri Tomasek 2021-04-06 07:36:47 UTC
The events are coming from the service, moving to assisted-service subcomponent

Comment 3 Eran Cohen 2021-04-11 13:42:35 UTC
This is because we send an event if the "writing image to disk" made at least 5% progress.
So if there was an event of: "Writing image to disk: 98%" there will be no additional event of "Writing image to disk: 100%".
The installation is successful because all is well and the image was written to disk properly.
That's why you see the next host status ("Rebooting").
I'll try adding the "Writing image to disk: 100%" event explicitly.

Comment 11 Yuri Obshansky 2022-01-05 13:29:11 UTC
Verified on Staging 
Assisted-ui-lib version:  2.0.5 

1/4/2022, 5:15:51 PM	Host: worker-0-1, reached installation stage Writing image to disk: 100%
1/4/2022, 5:15:51 PM	Host: worker-0-0, reached installation stage Writing image to disk: 100%

Comment 13 errata-xmlrpc 2022-01-11 22:31:15 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 (OpenShift Container Platform 4.8.26 bug fix 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/RHBA-2022:0021