Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1920036

Summary: satellite-installer proposes --verbose-log-level but doesn't mention level
Product: Red Hat Satellite Reporter: Kenny Tordeurs <ktordeur>
Component: InstallationAssignee: wclark
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: ahumbe, ehelms, gtalreja, vijsingh, zhunting
Target Milestone: 6.10.0Keywords: PrioBumpGSS, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:09:44 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:

Description Kenny Tordeurs 2021-01-25 15:44:35 UTC
Description of problem:
satellite-installer --enable-foreman-plugin-rh-cloud --foreman-proxy-plugin-remote-execution-ssh-install-key true --verbose-log-level
2021-01-25 15:33:17 [NOTICE] [pre_migrations] Executing hooks in group pre_migrations
2021-01-25 15:33:17 [NOTICE] [pre_migrations] All hooks in group pre_migrations finished
2021-01-25 15:33:17 [NOTICE] [boot] Executing hooks in group boot
2021-01-25 15:33:17 [NOTICE] [boot] All hooks in group boot finished
2021-01-25 15:33:17 [NOTICE] [init] Executing hooks in group init
2021-01-25 15:33:17 [NOTICE] [init] All hooks in group init finished
2021-01-25 15:33:17 [NOTICE] [root] Loading default values from puppet modules...
2021-01-25 15:33:25 [NOTICE] [root] ... finished
2021-01-25 15:33:25 [NOTICE] [pre_values] Executing hooks in group pre_values
2021-01-25 15:33:25 [NOTICE] [pre_values] All hooks in group pre_values finished
2021-01-25 15:33:27 [NOTICE] [pre_validations] Executing hooks in group pre_validations
2021-01-25 15:33:28 [NOTICE] [pre_validations] All hooks in group pre_validations finished
2021-01-25 15:33:28 [NOTICE] [root] Running validation checks
2021-01-25 15:33:28 [NOTICE] [pre_commit] Executing hooks in group pre_commit
Package versions are locked. Continuing with unlock.
2021-01-25 15:33:34 [NOTICE] [pre_commit] All hooks in group pre_commit finished
2021-01-25 15:33:34 [NOTICE] [pre] Executing hooks in group pre
2021-01-25 15:33:41 [NOTICE] [pre] All hooks in group pre finished
2021-01-25 15:33:41 [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.
...
~~~

One might expect to run the command like which works but doesn't do anything different:
# satellite-installer --enable-foreman-plugin-rh-cloud --foreman-proxy-plugin-remote-execution-ssh-install-key true --verbose-log-level

The level needs to be specified:
# satellite-installer --full-help | grep verbose
    -v, --[no-]verbose            Display log on STDOUT instead of progressbar (default: true)
    -l, --verbose-log-level LEVEL Log level for verbose mode output (default: "notice")

For example:
# satellite-installer --enable-foreman-plugin-rh-cloud --foreman-proxy-plugin-remote-execution-ssh-install-key true --verbose-log-level debug


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

How reproducible:
100%


Actual results:
Using the parameter as proposed does nothing

Expected results:
Adding something like:
~~~
The total number of configuration tasks may increase during the run.
  Observe logs or specify --verbose-log-level <LEVEL> to see individual configuration tasks.
~~~

Additional info:

Comment 1 wclark 2021-02-01 16:27:35 UTC
Created redmine issue https://projects.theforeman.org/issues/31779 from this bug

Comment 2 Bryan Kearney 2021-02-02 15:43:47 UTC
Upstream bug assigned to wclark

Comment 3 Bryan Kearney 2021-02-02 15:43:50 UTC
Upstream bug assigned to wclark

Comment 4 Bryan Kearney 2021-02-03 18:44:04 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31779 has been resolved.

Comment 6 Shweta Singh 2021-06-09 07:12:01 UTC
Verified the log level given(if provided) in "--verbose-log-level [level] " gets reflected in the message in execution.
Successfully executed on Sat 6.10 Snap 2

satellite-installer --enable-foreman-plugin-rh-cloud --foreman-proxy-plugin-remote-execution-ssh-install-key true --verbose-log-level INFO
2021-06-09 02:54:47 [INFO  ] [pre_migrations] Executing hooks in group pre_migrations
2021-06-09 02:54:47 [INFO  ] [pre_migrations] All hooks in group pre_migrations finished
2021-06-09 02:54:47 [INFO  ] [boot] Executing hooks in group boot
2021-06-09 02:54:47 [INFO  ] [boot] All hooks in group boot finished
2021-06-09 02:54:47 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-06-09 02:54:47 [INFO  ] [init] Executing hooks in group init
2021-06-09 02:54:47 [INFO  ] [init] All hooks in group init finished
2021-06-09 02:54:47 [INFO  ] [root] Loading default values from puppet modules...
2021-06-09 02:54:52 [INFO  ] [root] ... finished loading default values from puppet modules.
2021-06-09 02:54:52 [INFO  ] [pre_values] Executing hooks in group pre_values
2021-06-09 02:54:52 [INFO  ] [pre_values] All hooks in group pre_values finished
2021-06-09 02:54:52 [NOTICE] [root] Running installer with log based terminal output at level INFO.
2021-06-09 02:54:52 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-06-09 02:54:54 [INFO  ] [pre_validations] Executing hooks in group pre_validations

Messages added/replaced are:
2021-06-09 02:54:52 [NOTICE] [root] Running installer with log based terminal output at level INFO.
2021-06-09 02:54:52 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.

Comment 9 errata-xmlrpc 2021-11-16 14:09:44 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