Bug 1929694 - [RFE] The Configure section for new satellite-installer output should show progress bar or single line update about completed vs total tasks
Summary: [RFE] The Configure section for new satellite-installer output should show pr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.9.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: 6.10.0
Assignee: wclark
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-17 13:15 UTC by Ashish Humbe
Modified: 2022-07-19 15:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:10:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 32088 0 High New The Configure section for new satellite-installer output should show progress bar or single line update about completed ... 2021-03-12 20:31:48 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:10:23 UTC

Description Ashish Humbe 2021-02-17 13:15:08 UTC
Description of problem:
Here is the output of Satellite-installer command on Satellite 6.9 system, we can notice that the new line is printed in multiple of 100. It makes this part of the output look very long and it is not very much helpful from the customer's point of view. 

Instead of this output we should show the progress report of Configure tasks in a single line with a progress bar or % of completion. 


2021-02-17 18:28:39 [NOTICE] [configure] Starting system configuration.
  The total number of configuration tasks may increase during the run.
  Observe logs or specify --verbose-log-level to see individual configuration tasks.
2021-02-17 18:28:56 [NOTICE] [configure] 100 out of 2315 done.
2021-02-17 18:28:56 [NOTICE] [configure] 200 out of 2315 done.
2021-02-17 18:28:56 [NOTICE] [configure] 300 out of 2315 done.
2021-02-17 18:29:29 [NOTICE] [configure] 400 out of 2315 done.
2021-02-17 18:29:30 [NOTICE] [configure] 500 out of 2315 done.
2021-02-17 18:29:32 [NOTICE] [configure] 600 out of 2315 done.
2021-02-17 18:29:32 [NOTICE] [configure] 700 out of 2317 done.
2021-02-17 18:29:32 [NOTICE] [configure] 800 out of 2317 done.
2021-02-17 18:29:33 [NOTICE] [configure] 900 out of 2319 done.
2021-02-17 18:29:35 [NOTICE] [configure] 1000 out of 2320 done.
2021-02-17 18:29:35 [NOTICE] [configure] 1100 out of 2321 done.
2021-02-17 18:29:35 [NOTICE] [configure] 1200 out of 2323 done.
2021-02-17 18:29:36 [NOTICE] [configure] 1300 out of 2325 done.
2021-02-17 18:29:36 [NOTICE] [configure] 1400 out of 2327 done.
2021-02-17 18:29:44 [NOTICE] [configure] 1500 out of 2327 done.
2021-02-17 18:29:44 [NOTICE] [configure] 1600 out of 2329 done.
2021-02-17 18:29:45 [NOTICE] [configure] 1700 out of 2329 done.
2021-02-17 18:30:43 [NOTICE] [configure] 1800 out of 2329 done.
2021-02-17 18:30:43 [NOTICE] [configure] 1900 out of 2329 done.
2021-02-17 18:30:43 [NOTICE] [configure] 2000 out of 2329 done.
2021-02-17 18:30:43 [NOTICE] [configure] 2100 out of 2329 done.
2021-02-17 18:30:44 [NOTICE] [configure] 2200 out of 2329 done.
2021-02-17 18:30:57 [NOTICE] [configure] 2300 out of 2329 done.
2021-02-17 18:31:03 [NOTICE] [configure] System configuration has finished.
2021-02-17 18:31:03 [NOTICE] [post] Executing hooks in group post

Comment 1 Ashish Humbe 2021-03-11 16:01:43 UTC
Instead of the progress bar also it would be helpful if we can increment the counter by 1000 instead of 100 for [Configure] section. Which will help in reducing number of lines from the installer output.

Comment 2 wclark 2021-03-12 20:24:22 UTC
We are discussing removing the progress bar entirely, as it will improve the overall architecture of Kafo.

We are trying different values of the increment counter in the configure step. There is a balance between creating too many lines of output vs. having the output occur too infrequently, creating a false impression that the installer has got "stuck"

Comment 3 wclark 2021-03-12 20:31:48 UTC
Created redmine issue https://projects.theforeman.org/issues/32088 from this bug

Comment 4 Bryan Kearney 2021-03-13 00:04:42 UTC
Upstream bug assigned to wclark

Comment 5 Bryan Kearney 2021-03-13 00:04:43 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32088 has been resolved.

Comment 6 Devendra Singh 2021-06-08 09:35:38 UTC
Verified on 6.10 Snap3

Verification steps:

- The counter in the satellite installer's configure is multiple of 250.

# satellite-installer 
2021-06-08 05:26:36 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-06-08 05:26:42 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-06-08 05:26:42 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
Package versions are locked. Continuing with unlock.
2021-06-08 05:26:55 [NOTICE] [configure] Starting system configuration.
2021-06-08 05:27:08 [NOTICE] [configure] 250 configuration steps out of 2007 steps complete.
2021-06-08 05:27:31 [NOTICE] [configure] 500 configuration steps out of 2007 steps complete.
2021-06-08 05:27:31 [NOTICE] [configure] 750 configuration steps out of 2010 steps complete.
2021-06-08 05:27:36 [NOTICE] [configure] 1000 configuration steps out of 2015 steps complete.
2021-06-08 05:27:37 [NOTICE] [configure] 1250 configuration steps out of 2019 steps complete.
2021-06-08 05:30:12 [NOTICE] [configure] 1500 configuration steps out of 2019 steps complete.
2021-06-08 05:30:13 [NOTICE] [configure] 1750 configuration steps out of 2019 steps complete.
2021-06-08 05:30:27 [NOTICE] [configure] 2000 configuration steps out of 2019 steps complete.
2021-06-08 05:30:30 [NOTICE] [configure] System configuration has finished.
..................
..................
Candlepin orphaned consumers: []
  Success!

Comment 9 errata-xmlrpc 2021-11-16 14:10:07 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: Satellite 6.10 Release), 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:4702


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