Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1917267 - Shorten the Satellite installer verbose STDOUT
Summary: Shorten the Satellite installer verbose STDOUT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.9.0
Assignee: satellite6-bugs
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks: 1903599
TreeView+ depends on / blocked
 
Reported: 2021-01-18 08:40 UTC by Jitendra Yejare
Modified: 2021-04-21 13:25 UTC (History)
4 users (show)

Fixed In Version: tfm-rubygem-kafo-6.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:25:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:25:19 UTC

Description Jitendra Yejare 2021-01-18 08:40:02 UTC
Description of problem:
Looking for shorter installer stdout when the installer runs in a default verbose mode(default from 6.9). The installer is outputting the informative/user-friendly info but has very repetative statements for task-started and task-completed. Instead I would like to see only task-completed lines. Also the configuration tasks STDOUT frequency can be increased from 100 currently to 300.

Something like below:

```
2020-11-24 08:23:27 [NOTICE] Executing hooks and configuring satellite system, please wait ..
2020-11-24 08:23:27 [NOTICE] All hooks in group pre_migrations finished
2020-11-24 08:23:27 [NOTICE] All hooks in group boot finished
2020-11-24 08:23:27 [NOTICE] All hooks in group init finished
2020-11-24 08:23:31 [NOTICE] All hooks in group pre_values finished
2020-11-24 08:23:34 [NOTICE] All hooks in group pre_validations finished
2020-11-24 08:23:36 [NOTICE] All hooks in group pre_commit finished
2020-11-24 08:26:00 [NOTICE] All hooks in group pre finished
2020-11-24 08:26:00 [NOTICE] Starting system configuration. The total number of configuration tasks may increase during the run. Observe logs.
2020-11-24 08:26:15 [NOTICE] 300 out of 900 done.
2020-11-24 08:26:15 [NOTICE] 600 out of 900 done.
2020-11-24 08:26:15 [NOTICE] 600 out of 900 done.
2020-11-24 08:48:29 [NOTICE] System configuration has finished.
```

Version-Release number of selected component (if applicable):
Satellite 6.9 snap 8

How reproducible:
Always

Steps to Reproduce:
1. Run satellite installer in verbose(by default) mode.
2. Look for installer STDOUT on the same terminal where the installer is run.
3.

Actual results:
The installer shows some extra steps for beginning of a task(s) and the configuration STDOUT frequency is 100.

Expected results:
The installer need not to show steps for beginning of a task(s) and the configuration STDOUT frequency can be 300 or more.

Additional info:
See the diff of a change I am looking for in [1]. The left STDOUT is current and the right STDOUT is expected one.
[1] : https://www.diffchecker.com/6tCRNBb4

Comment 3 Devendra Singh 2021-03-15 05:12:02 UTC
Verified on 6.9.0 Snap 17

Verification steps:

1- Ran a satellite-installer on 6.9 Sanp17 and saw shorten output.

# satellite-installer 
2021-03-15 00:27:33 [NOTICE] [root] Loading default values from puppet modules...
2021-03-15 00:27:38 [NOTICE] [root] ... finished
2021-03-15 00:27:41 [NOTICE] [root] Running validation checks
Package versions are locked. Continuing with unlock.
2021-03-15 00:27:50 [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-03-15 00:28:03 [NOTICE] [configure] 100 out of 2311 done.
2021-03-15 00:28:03 [NOTICE] [configure] 200 out of 2311 done.
2021-03-15 00:28:03 [NOTICE] [configure] 300 out of 2311 done.
2021-03-15 00:28:04 [NOTICE] [configure] 400 out of 2311 done.
2021-03-15 00:28:04 [NOTICE] [configure] 500 out of 2311 done.
2021-03-15 00:28:29 [NOTICE] [configure] 600 out of 2311 done.
2021-03-15 00:28:32 [NOTICE] [configure] 700 out of 2313 done.
2021-03-15 00:28:32 [NOTICE] [configure] 800 out of 2313 done.
2021-03-15 00:28:32 [NOTICE] [configure] 900 out of 2315 done.
2021-03-15 00:28:34 [NOTICE] [configure] 1000 out of 2316 done.
2021-03-15 00:28:35 [NOTICE] [configure] 1100 out of 2317 done.
2021-03-15 00:28:35 [NOTICE] [configure] 1200 out of 2319 done.
2021-03-15 00:28:35 [NOTICE] [configure] 1300 out of 2321 done.
2021-03-15 00:28:35 [NOTICE] [configure] 1400 out of 2323 done.
2021-03-15 00:28:49 [NOTICE] [configure] 1500 out of 2323 done.
2021-03-15 00:28:49 [NOTICE] [configure] 1600 out of 2325 done.
2021-03-15 00:28:50 [NOTICE] [configure] 1700 out of 2325 done.
2021-03-15 00:29:46 [NOTICE] [configure] 1800 out of 2325 done.
2021-03-15 00:29:47 [NOTICE] [configure] 1900 out of 2325 done.
2021-03-15 00:29:47 [NOTICE] [configure] 2000 out of 2325 done.
2021-03-15 00:29:47 [NOTICE] [configure] 2100 out of 2325 done.
2021-03-15 00:29:47 [NOTICE] [configure] 2200 out of 2325 done.
2021-03-15 00:29:57 [NOTICE] [configure] 2300 out of 2325 done.
2021-03-15 00:30:00 [NOTICE] [configure] System configuration has finished.
  Success!

2- Checked the fixed package on the installed satellite.

# rpm -qa|grep tfm-rubygem-kafo-6.2.1
tfm-rubygem-kafo-6.2.1-1.el7sat.noarch

Comment 6 errata-xmlrpc 2021-04-21 13:25:03 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.9 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:1313


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