Bug 2092014
| Summary: | [RFE] Increase verbosity of subscription-manager | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | mhorky |
| Component: | subscription-manager | Assignee: | mhorky |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | unspecified | Docs Contact: | Sagar Dubewar <sdubewar> |
| Priority: | high | ||
| Version: | unspecified | CC: | jsefler, redakkan, zpetrace |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.29.29-1.el9 | Doc Type: | Enhancement |
| Doc Text: |
.The subscription-manager utility displays the current status of actions
The `subscription-manager` utility now displays with progress information while it is processing the current operation. This is helpful when `subscription-manager` takes more than usual time to complete its operations related to server communication, for example, registration.
To revert to the previous behavior, enter:
----
# subscription-manager config --rhsm.progress_messages=0
----
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 11:19:33 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
mhorky
2022-05-31 14:39:51 UTC
Pre-verifying on version: [root@kvm-01-guest07 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 3.2.22-1 subscription management rules: 5.41 subscription-manager: 1.29.28+11.g2babf61c4-1.git.0.b651794 Verbosity is increased - pre-verification PASSED adding attachment Verifying on :
=============
# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.0.18-2
subscription management rules: 5.41
subscription-manager: 1.29.29-1.el9
# rpm -q subscription-manager --changelog | grep 2092014
- 2092014: Do not use injections in rhsm (mhorky)
- 2092014: Disable progress messages when sub-man RPM is not installed
1) Verify the verbosity with config parameter ( "progress_messages") set to 1 --> Notice the informational messages being displayed in the terminal --> Passed (PFA : withverbosity_on.png )
2) Verify the verbosity with config parameter ( "progress_messages") set to 0 --> Notice the informational messages no longer appear --> Passed (PFA : withverbosity_off.png)
3) Verify the tab completion works for the new config options
Ex : # subscription-manager config --rhsm.p<TAB><TAB>
--rhsm.package_profile_on_trans --rhsm.plugindir --rhsm.progress_messages
--rhsm.pluginconfdir --rhsm.productcertdir
ˆ^Notice the "progress_messages" is listed in the details above --Passed
Ex : # subscription-manager config --rhsm.prog<TAB><TAB> --> Successfully completes to # subscription-manager config --rhsm.progress_messages --> Passed
4. Verify the man pages updates for the new config option --> Passed
# man rhsm.conf | grep progress_messages -A4
progress_messages
Set to 0 to disable progress reporting. When subscription-manager waits while fetching certificates or updating user information, it writes temporary informational messages to the standard output. This feature may not be desired in some situations, changing this option prevents those messages from being displayed.
Based on the above observations, Moving the bug to Verified!!
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 (subscription-manager bug fix and enhancement 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:8341 |