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 1697053 - subscription-manager repos --list-enabled and --list-disabled does not work as expected
Summary: subscription-manager repos --list-enabled and --list-disabled does not work a...
Keywords:
Status: CLOSED DUPLICATE of bug 1656598
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: 8.0
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-07 08:44 UTC by Michael Muensch
Modified: 2023-09-14 05:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-04 09:32:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michael Muensch 2019-04-07 08:44:25 UTC
Description of problem:


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

How reproducible:
subscription-manager repos --list-enabled

Steps to Reproduce:
1. register
2. and run subscription-manager repos --list-enabled

Actual results:
[root@rhel8 ~]# subscription-manager repos --list-enabled
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   codeready-builder-beta-for-rhel-8-x86_64-rpms
Repo Name: Red Hat CodeReady Linux Builder Beta for RHEL 8 x86_64 (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/codeready-builder/os
Enabled:   false

Repo ID:   rhel-8-for-x86_64-appstream-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/appstream/os
Enabled:   true

Repo ID:   rhel-8-for-x86_64-baseos-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/baseos/os
Enabled:   true

Repo ID:   rhel-8-for-x86_64-highavailability-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - High Availability Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/highavailability/source/SRPMS
Enabled:   false

Repo ID:   rhel-8-for-x86_64-baseos-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/baseos/source/SRPMS
Enabled:   false

Repo ID:   codeready-builder-beta-for-rhel-8-x86_64-debug-rpms
Repo Name: Red Hat CodeReady Linux Builder Beta for RHEL 8 x86_64 (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/codeready-builder/debug
Enabled:   false

Repo ID:   rhel-8-for-x86_64-appstream-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/appstream/source/SRPMS
Enabled:   false

Repo ID:   rhel-8-for-x86_64-nfv-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Real Time for NFV Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/nfv/os
Enabled:   false

Repo ID:   rhel-8-for-x86_64-highavailability-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - High Availability Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/highavailability/debug
Enabled:   false

Repo ID:   rhel-8-for-x86_64-supplementary-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Supplementary Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/supplementary/debug
Enabled:   false

Repo ID:   rhel-8-for-x86_64-rt-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Real Time Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/rt/os
Enabled:   false

Repo ID:   rhel-8-for-x86_64-nfv-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Real Time for NFV Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/nfv/debug
Enabled:   false

Repo ID:   rhel-8-for-x86_64-resilientstorage-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Resilient Storage Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/resilientstorage/debug
Enabled:   false

Repo ID:   rhel-8-for-x86_64-highavailability-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - High Availability Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/highavailability/os
Enabled:   false

Repo ID:   rhel-8-for-x86_64-rt-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Real Time Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/rt/source/SRPMS
Enabled:   false

Repo ID:   rhel-8-for-x86_64-supplementary-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Supplementary Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/supplementary/source/SRPMS
Enabled:   false

Repo ID:   fast-datapath-beta-for-rhel-8-x86_64-source-rpms
Repo Name: Fast Datapath Beta for RHEL 8 x86_64 (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/layered/rhel8/x86_64/fast-datapath/source/SRPMS
Enabled:   false

Repo ID:   rhel-8-for-x86_64-supplementary-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Supplementary Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/supplementary/os
Enabled:   1

Repo ID:   codeready-builder-beta-for-rhel-8-x86_64-source-rpms
Repo Name: Red Hat CodeReady Linux Builder Beta for RHEL 8 x86_64 (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/codeready-builder/source/SRPMS
Enabled:   false

Repo ID:   rhel-8-for-x86_64-rt-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Real Time Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/rt/debug
Enabled:   false

Repo ID:   fast-datapath-beta-for-rhel-8-x86_64-debug-rpms
Repo Name: Fast Datapath Beta for RHEL 8 x86_64 (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/layered/rhel8/x86_64/fast-datapath/debug
Enabled:   false

Repo ID:   rhel-8-for-x86_64-appstream-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/appstream/debug
Enabled:   false

Repo ID:   fast-datapath-beta-for-rhel-8-x86_64-rpms
Repo Name: Fast Datapath Beta for RHEL 8 x86_64 (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/layered/rhel8/x86_64/fast-datapath/os
Enabled:   false

Repo ID:   rhel-8-for-x86_64-resilientstorage-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Resilient Storage Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/resilientstorage/os
Enabled:   false

Repo ID:   rhel-8-for-x86_64-resilientstorage-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Resilient Storage Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/resilientstorage/source/SRPMS
Enabled:   false

Repo ID:   rhel-8-for-x86_64-baseos-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/baseos/debug
Enabled:   false

Repo ID:   rhel-8-for-x86_64-nfv-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Real Time for NFV Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/nfv/source/SRPMS
Enabled:   false

[root@rhel8 ~]# subscription-manager repos --list-disabled
There were no available repositories matching the specified criteria.

Expected results:
[root@rhel8 ~]# subscription-manager repos --list-enabled
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-8-for-x86_64-appstream-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/appstream/os
Enabled:   true

Repo ID:   rhel-8-for-x86_64-baseos-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/baseos/os
Enabled:   true

Repo ID:   rhel-8-for-x86_64-supplementary-beta-rpms
Repo Name: Red Hat Enterprise Linux 8 for x86_64 - Supplementary Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel8/8/x86_64/supplementary/os
Enabled:   1


Additional info:

Comment 2 Rehana 2020-02-04 09:32:40 UTC
The fix for similar issue has been already shipped in a different bug 1656598 . Hence closing this bug as duplicate

*** This bug has been marked as a duplicate of bug 1656598 ***

Comment 3 Red Hat Bugzilla 2023-09-14 05:26:36 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.