Bug 1970017

Summary: rct cat-cert is broken
Product: [Fedora] Fedora Reporter: Radek Bíba <rbiba>
Component: subscription-managerAssignee: Chris Snyder <csnyder>
Status: CLOSED ERRATA 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: subscription-manager-1.29.18-1.fc34 subscription-manager-1.29.18-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-08 01:04:04 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 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. ***

Comment 4 Fedora Update System 2021-07-30 19:35:55 UTC
FEDORA-2021-bf6554d095 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-bf6554d095

Comment 5 Fedora Update System 2021-07-30 19:35:58 UTC
FEDORA-2021-6ee21d8f84 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6ee21d8f84

Comment 6 Fedora Update System 2021-08-08 01:04:04 UTC
FEDORA-2021-6ee21d8f84 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-08-08 01:08:23 UTC
FEDORA-2021-bf6554d095 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.