Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1970017

Summary: rct cat-cert is broken
Product: [Fedora] Fedora Reporter: Radek Bíba <rbiba>
Component: subscription-managerAssignee: Chris Snyder <csnyder>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: high    
Version: 34CC: alikins, awood, bkearney, csnyder, redakkan, vasil.minsk, wpoteat
Target Milestone: ---Keywords: Triaged
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: 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 Radek Bíba 2021-06-09 16:03:34 UTC
Description of problem:
Looks like I can't use rct cat-cert anymore in Fedora 34.

Version-Release number of selected component (if applicable):
subscription-manager-1.29.9-1.fc34.x86_64

How reproducible:
Always, with a suitable certificate.

Steps to Reproduce:
1. rct cat-cert SOMETHING.pem

Actual results:
Traceback (most recent call last):
  File "/usr/bin/rct", line 33, in <module>
    sys.exit(load_entry_point('subscription-manager==1.29.9', 'console_scripts', 'rct')())
  File "/usr/bin/rct", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration


Expected results:
+-------------------------------------------+
        Entitlement Certificate
+-------------------------------------------+
...and so on. I get this output with the same PEM file on a random RHEL 7 machine.

Comment 1 Radek Bíba 2021-06-09 22:24:27 UTC
Oh, actually the whole subman is broken:

# subscription-manager 
Traceback (most recent call last):
  File "/usr/sbin/subscription-manager", line 33, in <module>
    sys.exit(load_entry_point('subscription-manager==1.29.9', 'console_scripts', 'subscription-manager')())
  File "/usr/sbin/subscription-manager", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

Comment 2 Rehana 2021-06-29 14:20:56 UTC
Related to : https://bugzilla.redhat.com/show_bug.cgi?id=1927245 , this has been fixed in version  *1.29.12 or above and required a new build for Fedora 34.

Comment 3 Rehana 2021-07-13 13:37:56 UTC
*** Bug 1945279 has been marked as a duplicate of this bug. ***