Bug 1688702
| Summary: | 'subscription-manager repos --enable/disable=' to work offline | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Prathamesh Chavan <prchavan> | |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> | |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 7.0 | CC: | cdonnell, csnyder, fedoraproject, jhnidek, jsefler, redakkan, skallesh, wpoteat | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | subscription-manager-1.24.29-1.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1722606 (view as bug list) | Environment: | ||
| Last Closed: | 2020-09-29 19:22:40 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
Prathamesh Chavan
2019-03-14 09:17:59 UTC
Fix for the 'subscription-manager repos' part is available at https://github.com/candlepin/subscription-manager/pull/2022 I'm not aware of an existing fix for offline 'subscription-manager release' commands. Likely, would just have to skip the validation step and take what the user presents. Hello team, It would be great if someone can share an update about the status of this request. Thanks! ~ Prathamesh Hello team, Can someone share the status update here? ~ Prathamesh Moving bug back to new/Failed_qa as I see the traceback
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.21-1
subscription management rules: 5.37
subscription-manager: 1.24.32
[root@hpe-dl380pgen8-02-vm-4 ~]# rpm -q --changelog subscription-manager | grep 1688702
- 1688702: allow offline repo management (code.me)
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager identity
This system is not yet registered. Try 'subscription-manager register --help' for more information.
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager import --cert /root/import_cert.pem
Successfully imported certificate import_cert.pem
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager repos --list
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-7-server-dotnet-rpms
Repo Name: dotNET on RHEL RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/dotnet/1/os
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.4-rpms
Repo Name: Red Hat Satellite Tools 6.4 (for RHEL 7 Server - EUS) (RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.4/os
Enabled: 0
Repo ID: rhel-7-server-thirdparty-oracle-java-beta-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Oracle Java Beta (RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/oracle-java/os
Enabled: 0
Repo ID: rhel-7-server-ansible-2.8-source-rpms
Repo Name: Red Hat Ansible Engine 2.8 Source RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.8/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6-puppet-upgrade-beta-source-rpms
Repo Name: Red Hat Satellite Tools 6 Beta - Puppet Upgrade (for RHEL 7 Server) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/sat-tools/6-puppet-upgrade/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-ansible-2.6-source-rpms
Repo Name: Red Hat Ansible Engine 2.6 Source RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.6/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-dotnet-source-rpms
Repo Name: dotNET on RHEL Source RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/dotnet/1/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-openstack-13-tools-source-rpms
Repo Name: Red Hat OpenStack Platform 13 Tools for RHEL 7 Server (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/openstack-tools/13/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-rhn-tools-beta-source-rpms
Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Server Beta (Source RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/rhn-tools/source/SRPMS
Enabled: 0
Repo ID: rhel-sap-for-rhel-7-server-beta-rpms
Repo Name: Red Hat Enterprise Linux for SAP (RHEL 7 Server) Beta (RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/sap/os
Enabled: 0
Repo ID: rhel-7-server-source-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-extras-source-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/extras/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-openstack-7.0-tools-debug-rpms
Repo Name: Red Hat OpenStack Tools 7.0 for Red Hat Enterprise Linux 7 Server (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/openstack-tools/7.0/debug
Enabled: 0
Repo ID: rhel-7-server-ansible-2.5-source-rpms
Repo Name: Red Hat Ansible Engine 2.5 Source RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.5/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.1-rpms
Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Server - EUS) (RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.1/os
Enabled: 0
Repo ID: rhel-7-server-v2vwin-1-rpms
Repo Name: Red Hat Virt V2V Tool for RHEL 7 (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/v2vwin/os
Enabled: 0
Repo ID: rhel-7-server-extras-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras Beta (Source RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/extras/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-ansible-2.7-rpms
Repo Name: Red Hat Ansible Engine 2.7 RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.7/os
Enabled: 0
Repo ID: rhel-7-server-dotnet-beta-debug-rpms
Repo Name: dotNET on RHEL Beta Debug RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/dotnet/1/debug
Enabled: 0
Repo ID: rhel-sap-for-rhel-7-server-debug-rpms
Repo Name: Red Hat Enterprise Linux for SAP (RHEL 7 Server) (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/sap/debug
Enabled: 0
Repo ID: rhel-7-server-openstack-11-tools-rpms
Repo Name: Red Hat OpenStack Platform 11 Tools for RHEL 7 Server (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/openstack-tools/11/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.7-rpms
Repo Name: Red Hat Satellite Tools 6.7 (for RHEL 7 Server) (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.7/os
Enabled: 0
Repo ID: rhel-7-server-rhceph-2-tools-debug-rpms
Repo Name: Red Hat Ceph Storage Tools 2 for Red Hat Enterprise Linux 7 Server (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/ceph-tools/2/debug
Enabled: 0
Repo ID: rhel-7-server-rh-common-beta-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - RH Common Beta (RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/rh-common/os
Enabled: 0
Repo ID: rhel-7-server-eus-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extended Update Support - Optional (RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/optional/os
Enabled: 0
Repo ID: rhel-server-rhscl-7-debug-rpms
Repo Name: Red Hat Software Collections Debug RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/debug
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.5-rpms
Repo Name: Red Hat Satellite Tools 6.5 (for RHEL 7 Server - EUS) (RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.5/os
Enabled: 0
Repo ID: rhel-7-server-insights-3-source-rpms
Repo Name: Red Hat Insights 3 (for RHEL 7 Server) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/insights/3/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.5-rpms
Repo Name: Red Hat Satellite Tools 6.5 (for RHEL 7 Server) (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.5/os
Enabled: 0
Repo ID: rhel-7-server-eus-rhn-tools-source-rpms
Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Server - Extended Update Support (Source RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/rhn-tools/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-openstack-14-tools-source-rpms
Repo Name: Red Hat OpenStack Platform 14 Tools for RHEL 7 Server (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/openstack-tools/14/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-extras-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/extras/debug
Enabled: 0
Repo ID: rhel-7-server-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/debug
Enabled: 0
Repo ID: rhel-server-rhscl-7-source-rpms
Repo Name: Red Hat Software Collections Source RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-ansible-2.4-rpms
Repo Name: Red Hat Ansible Engine 2.4 RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.4/os
Enabled: 0
Repo ID: rhel-7-server-rh-common-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - RH Common (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rh-common/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6-puppet-upgrade-beta-debug-rpms
Repo Name: Red Hat Satellite Tools 6 Beta - Puppet Upgrade (for RHEL 7 Server) (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/sat-tools/6-puppet-upgrade/debug
Enabled: 0
Repo ID: rhel-7-server-ansible-2.6-rpms
Repo Name: Red Hat Ansible Engine 2.6 RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.6/os
Enabled: 0
Repo ID: rhel-7-server-ansible-2.8-debug-rpms
Repo Name: Red Hat Ansible Engine 2.8 Debug RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.8/debug
Enabled: 0
Repo ID: rhel-7-server-dotnet-beta-rpms
Repo Name: dotNET on RHEL Beta RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/dotnet/1/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.3-rpms
Repo Name: Red Hat Satellite Tools 6.3 (for RHEL 7 Server) (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.3/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.1-rpms
Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.1/os
Enabled: 0
Repo ID: rhel-7-server-eus-supplementary-debuginfo
Repo Name: Red Hat Enterprise Linux 7 Server - Extended Update Support - Supplementary (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/supplementary/debug
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6-beta-rpms
Repo Name: Red Hat Satellite Tools 6 Beta (for RHEL 7 Server) (RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/sat-tools/6/os
Enabled: 0
Repo ID: rhel-7-server-supplementary-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Supplementary Beta (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/supplementary/debug
Enabled: 0
Repo ID: rh-gluster-3-client-for-rhel-7-server-source-rpms
Repo Name: Red Hat Storage Native Client for RHEL 7 (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhs-client/source/SRPMS
Enabled: 0
Repo ID: rhel-sap-for-rhel-7-server-beta-source-rpms
Repo Name: Red Hat Enterprise Linux for SAP (RHEL 7 Server) Beta (Source RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/sap/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.3-debug-rpms
Repo Name: Red Hat Satellite Tools 6.3 (for RHEL 7 Server) (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.3/debug
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.6-rpms
Repo Name: Red Hat Satellite Tools 6.6 (for RHEL 7 Server - EUS) (RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.6/os
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.3-rpms
Repo Name: Red Hat Satellite Tools 6.3 (for RHEL 7 Server - EUS) (RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.3/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.3-puppet4-debug-rpms
Repo Name: Red Hat Satellite Tools 6.3 - Puppet 4 (for RHEL 7 Server) (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.3-puppet4/debug
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.3-source-rpms
Repo Name: Red Hat Satellite Tools 6.3 (for RHEL 7 Server) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.3/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-rhceph-3-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/rhceph-tools/3/os
Enabled: 0
Repo ID: rhel-7-server-optional-fastrack-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Optional Fastrack (RPMs)
Repo URL: https://cdn.redhat.com/content/fastrack/rhel/server/7/$basearch/optional/os
Enabled: 0
Repo ID: rhel-7-server-eus-optional-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extended Update Support - Optional (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/optional/debug
Enabled: 0
Repo ID: rhel-7-server-rh-common-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - RH Common Beta (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/rh-common/debug
Enabled: 0
Repo ID: rhel-7-server-openstack-8-tools-rpms
Repo Name: Red Hat OpenStack Platform 8 Tools for RHEL 7 Server (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/openstack-tools/8/os
Enabled: 0
Repo ID: rhel-7-server-rhceph-1.3-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 1.3 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/ceph-tools/1.3/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.3-puppet4-source-rpms
Repo Name: Red Hat Satellite Tools 6.3 - Puppet 4 (for RHEL 7 Server) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.3-puppet4/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6-beta-debug-rpms
Repo Name: Red Hat Satellite Tools 6 Beta (for RHEL 7 Server) (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/sat-tools/6/debug
Enabled: 0
Repo ID: rhel-7-server-ansible-2.4-debug-rpms
Repo Name: Red Hat Ansible Engine 2.4 Debug RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.4/debug
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.7-source-rpms
Repo Name: Red Hat Satellite Tools 6.7 (for RHEL 7 Server) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.7/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-rhceph-3-tools-debug-rpms
Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/rhceph-tools/3/debug
Enabled: 0
Repo ID: rhel-7-server-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/optional/os
Enabled: 0
Repo ID: rhel-7-server-satellite-tools-6.4-source-rpms
Repo Name: Red Hat Satellite Tools 6.4 (for RHEL 7 Server) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.4/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-eus-rhn-tools-debug-rpms
Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Server - Extended Update Support (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/rhn-tools/debug
Enabled: 0
Repo ID: rhel-7-server-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 7 Server Beta (Source RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.7-rpms
Repo Name: Red Hat Satellite Tools 6.7 (for RHEL 7 Server - EUS) (RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.7/os
Enabled: 0
Repo ID: rhel-7-server-ansible-2.4-source-rpms
Repo Name: Red Hat Ansible Engine 2.4 Source RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.4/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-rhn-tools-source-rpms
Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Server (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhn-tools/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-satellite-maintenance-6-beta-source-rpms
Repo Name: Red Hat Satellite Maintenance 6 Beta (for RHEL 7 Server) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/sat-maintenance/6/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-supplementary-source-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Supplementary (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/supplementary/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server Beta (Debug RPMs)
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/debug
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.3-source-rpms
Repo Name: Red Hat Satellite Tools 6.3 (for RHEL 7 Server - EUS) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.3/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-openstack-7.0-tools-source-rpms
Repo Name: Red Hat OpenStack Tools 7.0 for Red Hat Enterprise Linux 7 Server (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/openstack-tools/7.0/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-eus-satellite-tools-6.3-puppet4-source-rpms
Repo Name: Red Hat Satellite Tools 6.3 - Puppet 4 (for RHEL 7 Server - EUS) (Source RPMs)
Repo URL: https://cdn.redhat.com/content/eus/rhel/server/7/$releasever/$basearch/sat-tools/6.3-puppet4/source/SRPMS
Enabled: 0
Repo ID: rhel-7-server-rhceph-3-tools-source-rpms
Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (Source RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/rhceph-tools/3/source/SRPMS
Enabled: 0
[root@hpe-dl380pgen8-02-vm-4 ~]# subscription-manager repos --enable rhel-7-server-rhceph-3-tools-source-rpms
Traceback (most recent call last):
File "/usr/sbin/subscription-manager", line 9, in <module>
load_entry_point('subscription-manager==1.24.32', 'console_scripts', 'subscription-manager')()
File "/usr/lib64/python2.7/site-packages/subscription_manager/scripts/subscription_manager.py", line 86, in main
return managercli.ManagerCLI().main()
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 3016, in main
ret = CLI.main(self)
File "/usr/lib64/python2.7/site-packages/subscription_manager/cli.py", line 183, in main
return cmd.main()
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 548, in main
return_code = self._do_command()
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 2317, in _do_command
rc = self._set_repo_status(repos, rl, self.options.repo_actions)
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 2409, in _set_repo_status
repo_file.update(repo)
File "/usr/lib64/python2.7/site-packages/subscription_manager/repofile.py", line 514, in update
for (k, v) in self.items(repo.id):
File "/usr/lib/python2.7/site-packages/iniparse/compat.py", line 132, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: u'rhel-7-server-rhceph-3-tools-source-rpms'
Moving the bug to verified as I dont see any traceback while enabling repos and repos are enabled too [root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 2.9.27-1 subscription management rules: 5.37 subscription-manager: 1.24.37 Note that for import traceback there is a new bug open https://bugzilla.redhat.com/show_bug.cgi?id=1834792 [root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. [root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager import --cert /root/cert.pem Successfully imported certificate cert.pem ERROR:dbus.proxies:Introspect error on :1.33:/EntitlementStatus: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying ERROR:subscription_manager.dbus_interface:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.33 was not provided by any .service files Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/subscription_manager/dbus_interface.py", line 64, in _update ignore_reply=self.has_main_loop) File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking message, timeout) DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.33 was not provided by any .service files [root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager repos --list +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-7-server-dotnet-debug-rpms Repo Name: dotNET on RHEL Debug RPMs for Red Hat Enterprise Linux 7 Server Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/dotnet/1/debug Enabled: 0 Repo ID: rhel-7-server-satellite-tools-6.2-rpms Repo Name: Red Hat Satellite Tools 6.2 (for RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.2/os Enabled: 0 Repo ID: rhel-7-server-v2vwin-1-debug-rpms Repo Name: Red Hat Virt V2V Tool for RHEL 7 (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/v2vwin/debug Enabled: 0 Repo ID: rhel-7-server-rhceph-3-tools-source-rpms Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/rhceph-tools/3/source/SRPMS Enabled: 0 [root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager repos --enable rhel-7-server-rhceph-3-tools-source-rpms Repository 'rhel-7-server-rhceph-3-tools-source-rpms' is enabled for this system. [root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager repos --list +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-7-server-dotnet-debug-rpms Repo Name: dotNET on RHEL Debug RPMs for Red Hat Enterprise Linux 7 Server Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/dotnet/1/debug Enabled: 0 Repo ID: rhel-7-server-satellite-tools-6.2-rpms Repo Name: Red Hat Satellite Tools 6.2 (for RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.2/os Enabled: 0 Repo ID: rhel-7-server-v2vwin-1-debug-rpms Repo Name: Red Hat Virt V2V Tool for RHEL 7 (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/v2vwin/debug Enabled: 0 Repo ID: rhel-7-server-rhceph-3-tools-source-rpms Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/rhceph-tools/3/source/SRPMS Enabled: 1 ^^ observe that repo is enabled too 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 (subscription-manager bug fix update), 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:3866 |