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
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.
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"
Created redmine issue https://projects.theforeman.org/issues/32088 from this bug
Upstream bug assigned to wclark
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32088 has been resolved.
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!
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