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.
Verifying fix on :
==================
# rpm -q subscription-manager --changelog | grep 1739705
- 1739705: Don't print traceback during list --available
# rpm -qa | egrep "dnf|subscription-manager" | sort
dnf-4.0.9.2-1.el7_6.noarch
dnf-data-4.0.9.2-1.el7_6.noarch
dnf-plugin-subscription-manager-1.24.13-3.el7_7.x86_64
libdnf-0.22.5-1.el7_6.x86_64
python2-dnf-4.0.9.2-1.el7_6.noarch
python2-dnf-plugins-core-4.0.2.2-3.el7_6.noarch
python2-libdnf-0.22.5-1.el7_6.x86_64
subscription-manager-1.24.21-1.el7.x86_64
subscription-manager-rhsm-1.24.21-1.el7.x86_64
subscription-manager-rhsm-certificates-1.24.21-1.el7.x86_64
# subscription-manager register --auto-attach --username=stage_**** --password=**** --force
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
The system has been registered with ID: bd2ba30a-096d-449e-b350-649fe44dd9f2
The registered system name is: kvm-01-guest13.lab.eng.rdu2.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
Make sure to have a bad baseurl link to cause profile upload failures
[root@kvm-01-guest13 cache]# subscription-manager config --list | grep baseurl
baseurl = https://cdn.redhat.comss
[root@kvm-01-guest13 cache]# subscription-manager list --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Enterprise Linux Workstation, Standard (Up to 4 Guests)
Provides: dotNET on RHEL (for RHEL Workstation)
dotNET on RHEL Beta (for RHEL Server)
Oracle Java (for RHEL Workstation)
Red Hat CodeReady Linux Builder for x86_64
Oracle Java (for RHEL Client)
Red Hat Ansible Engine
Red Hat Container Images Beta
Red Hat Container Images
Red Hat Beta
Red Hat Software Collections Beta (for RHEL Workstation)
Red Hat Enterprise Linux for x86_64
dotNET on RHEL Beta (for RHEL Workstation)
dotNET on RHEL (for RHEL Server)
Red Hat Enterprise Linux Workstation
SKU: RH0981731
Contract: 11859771
Pool ID: 8a99f9af6b1e85d2016b48b2181d2157
Provides Management: No
Available: 80
Suggested: 1
Service Type: L1-L3
Roles: Red Hat Enterprise Linux Workstation
Service Level: Standard
Usage: Production
Add-ons:
Subscription Type: Standard
Starts: Wednesday 03 April 2019
Ends: Thursday 02 April 2020
Entitlement Type: Virtual
Subscription Name: Red Hat Enterprise Linux Developer Support, Enterprise
Provides: dotNET on RHEL Beta (for RHEL Server)
Red Hat CodeReady Linux Builder for x86_64
Red Hat Ansible Engine
Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support
Red Hat Container Images Beta
Red Hat Enterprise Linux Atomic Host Beta
Red Hat Container Images
Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Container Development Kit
Red Hat Beta
Red Hat Enterprise Linux High Availability for x86_64
MRG Realtime
Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support
dotNET on RHEL (for RHEL Server)
Oracle Java (for RHEL Server)
Red Hat Enterprise Linux Resilient Storage for x86_64
Red Hat Software Collections (for RHEL Server)
Red Hat Enterprise Linux High Performance Networking (for RHEL Server)
Red Hat Enterprise Linux Scalable File System (for RHEL Server)
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support
Oracle Java (for RHEL Server) - Extended Update Support
Red Hat Enterprise Linux Atomic Host
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Developer Toolset (for RHEL Server EUS)
Red Hat Developer Tools (for RHEL Server)
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux Server
Red Hat Developer Tools Beta (for RHEL Server)
Red Hat Enterprise Linux for x86_64
Red Hat Developer Toolset (for RHEL Server)
Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support
SKU: RH2264664
Contract: 11859769
Pool ID: 8a99f9af6b1e85d2016b48b21e8c216b
Provides Management: No
Available: 500
Suggested: 1
Service Type: L1-L3
Roles:
Service Level: Dev-Enterprise
Usage:
Add-ons:
Subscription Type: Standard
Starts: Wednesday 03 April 2019
Ends: Thursday 02 April 2020
Entitlement Type: Physical
Observed that list available was successfully listed ,even with a bad baseurl configuration. Based on the observation moving the bug to verified.
Additional note :
===============
During the verification, made sure that dnf plugins are used but even then package profile upload error message "@profile.py:81 - Unable to create sack object: Failed to download metadata for repo" was not appearing on rhsm.log. Discussed with dev team and came to a conclusion that above steps are enough to verify the fix on rhel 7.
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, 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-2020:1028