Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1959876

Summary: python3-syspurpose package is missing on RHEL-9
Product: Red Hat Enterprise Linux 9 Reporter: Jiri Hladky <jhladky>
Component: distributionAssignee: RHEL Program Management <pm-rhel>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: atomasov, jhladky, jskarvad, jwboyer, jzerdik, pviktori, torsava
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
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-09-08 12:49:28 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 Jiri Hladky 2021-05-12 13:53:03 UTC
Hello,

the python3-syspurpose package is missing on RHEL-9. Could you please add it?

Please note that it's available in RHEL-8. It's used by other packages - for example, tuned is using 

syspurpose show

to determine the default performance profile. 

Thanks a lot
Jirka

Comment 1 Petr Viktorin (pviktori) 2021-05-12 14:03:16 UTC
This is not an issue in the Python interpreter, but a request to add a new component to the distribution.
Reassigning to distribution.

Comment 2 Miro Hrončok 2021-05-12 15:21:36 UTC
*** Bug 1959871 has been marked as a duplicate of this bug. ***

Comment 3 Jaroslav Škarvada 2021-05-12 17:10:52 UTC
AFAIK in RHEL-9 the syspurpose python lib should be provided by the subscription-manager package. In TuneD upstream there is already PR for it:
https://github.com/redhat-performance/tuned/pull/339

It will get to RHEL-9 through planned TuneD rebase bug 1944643. If you want the fix sooner, please open separate TuneD bugzilla.

Comment 4 Jaroslav Škarvada 2021-05-12 17:14:48 UTC
(In reply to Jaroslav Škarvada from comment #3)
> AFAIK in RHEL-9 the syspurpose python lib should be provided by the
> subscription-manager package. In TuneD upstream there is already PR for it:
> https://github.com/redhat-performance/tuned/pull/339
> 
> It will get to RHEL-9 through planned TuneD rebase bug 1944643. If you want
> the fix sooner, please open separate TuneD bugzilla.

There is already TuneD bug 1948764 for it. If you need the fix sooner than the TuneD rebase will happen, please indicate in the TuneD bugzilla.

Comment 5 Jaroslav Škarvada 2021-05-12 17:20:04 UTC
(In reply to Jaroslav Škarvada from comment #4)
> (In reply to Jaroslav Škarvada from comment #3)
> > AFAIK in RHEL-9 the syspurpose python lib should be provided by the
> > subscription-manager package. In TuneD upstream there is already PR for it:
> > https://github.com/redhat-performance/tuned/pull/339
> > 
> > It will get to RHEL-9 through planned TuneD rebase bug 1944643. If you want
> > the fix sooner, please open separate TuneD bugzilla.
> 
> There is already TuneD bug 1948764 for it. If you need the fix sooner than
> the TuneD rebase will happen, please indicate in the TuneD bugzilla.

And it should be already fixed in the tuned-2.15.0-4.el9 or newer.

Comment 6 Jiri Hladky 2021-05-12 22:21:21 UTC
Thank you, Jaroslav! 

I can confirm that the functionality is provided now via 

$ subscription-manager syspurpose
{}

command. Tested with RHEL-9.0.0-20210506.3

I think we can close this BZ. Any objections?

Comment 7 Tomas Orsava 2021-09-08 12:49:28 UTC
Closing as the issue is confirmed resolved by the reporter.