Bug 1971693
| Summary: | Remove depreciation warning from syspurpose tool on RHEL 8.5 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Pino Toscano <ptoscano> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.5 | CC: | redakkan |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | subscription-manager-1.28.19-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-09 19:37:58 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
John Sefler
2021-06-14 15:10:32 UTC
Based on the discussion in the triage meeting today , We would like the deprecation warning to go out once the new combined syspurpose module is available in RHEL 8. The combined module has been implemented in RHEL 9 Beta ( 1898563 ) and will be working on making the module available in RHEL 8 too. Since we have very less time remaining for RHEL 8.5 , we will be targeting to introduce the "syspurpose" module in the next release (RHEL 8.6). New Expectations on this bug will change to Remove the depreciation warning "The 'syspurpose' command is deprecated and will be removed in a future major release. Please use the 'subscription-manager syspurpose' command going forward." from RHEL 8.5 Reproducing on :
===============
# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.18-1
subscription management rules: 5.41
subscription-manager: 1.28.17-1.el8
# syspurpose set-role "RHEL"
The 'syspurpose' command is deprecated and will be removed in a future major release. Please use the 'subscription-manager syspurpose' command going forward.
role set to "RHEL".
# man syspurpose | grep deprecated -A1 -B1
The 'syspurpose' command is deprecated and will be removed in a future major release. Please use the 'subscription-manager syspurpose' command going forward.
Pre-Verifying on :
=================
# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.18-1
subscription management rules: 5.41
subscription-manager: 1.28.17-1.git.41.5224c70.el8
# syspurpose set-role "RHEL"; syspurpose show
role set to "RHEL".
{
"role": "RHEL"
}
# man syspurpose | grep deprecated
#
Notice the deprecation warning are now removed. Based on the observations, setting the bug to Verified:Tested
Verifying on :
============
# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.19-1
subscription management rules: 5.41
subscription-manager: 1.28.19-1.el8
# rpm -qa subscription-manager --changelog | grep 1971693
- 1971693: syspurpose: remove deprecation notices (#2683) (ptoscano)
# syspurpose set-role "RHEL"; syspurpose show
role set to "RHEL".
{
"role": "RHEL"
}
# man syspurpose | grep deprecated
# subscription-manager register
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: ***
Password:
The system has been registered with ID: ********
The registered system name is: ******
# syspurpose set-sla "Premium"
service_level_agreement set to "Premium".
^^ Deprecation warning has been removed from RHEL 8.5 .
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-2021:4390 |