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 1834792 - traceback while registering , unregistering and importing certs
Summary: traceback while registering , unregistering and importing certs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.9
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
: 1838446 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-12 12:36 UTC by Shwetha Kallesh
Modified: 2020-09-29 19:24 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 19:24:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2263 0 None closed 1834792: Try to terminate rhsmd after timeout; ENT-2368 2020-11-20 13:40:23 UTC
Red Hat Product Errata RHBA-2020:3866 0 None None None 2020-09-29 19:24:30 UTC

Description Shwetha Kallesh 2020-05-12 12:36:53 UTC
Description of problem:
traceback while registering , clean,unregistering and importing certs

Version-Release number of selected component (if applicable):
[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


How reproducible:


Steps to Reproduce:
[root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager register --serverurl subscription.rhsm.stage.redhat.com
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_auto_syspurpose001
Password: 
The system has been registered with ID: 2cc88fcb-c5b6-490d-9e67-636d1d748c55
The registered system name is: hpe-dl380pgen8-02-vm-1.hpe2.lab.eng.bos.redhat.com
ERROR:dbus.proxies:Introspect error on :1.24:/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.24 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.24 was not provided by any .service files


[root@hpe-dl380pgen8-02-vm-1 ~]# subscription-manager clean
All local data removed
ERROR:dbus.proxies:Introspect error on :1.31:/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.31 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.31 was not provided by any .service files


[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


Actual results:
traceback 

Expected results:
there shouldnot be any traceback

Additional info:

Comment 5 Rehana 2020-05-21 08:15:46 UTC
*** Bug 1838446 has been marked as a duplicate of this bug. ***

Comment 9 Shwetha Kallesh 2020-05-28 07:27:51 UTC
verification:

[root@intel-chiefriver-02 ~]# 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.38-1.el7

Dont see any traceback while performing various actions using various sub-man coomand , hence moving bug to verified

[root@intel-chiefriver-02 ~]# subscription-manager register --serverurl subscription.rhsm.stage.redhat.com
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: stage_auto_syspurpose001
Password: 
The system has been registered with ID: 4d3e9b11-03ae-487f-b984-22a3aceb80be
The registered system name is: intel-chiefriver-02.khw2.lab.eng.bos.redhat.com
[root@intel-chiefriver-02 ~]# subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64 High Touch Beta
Status:       Subscribed


[root@intel-chiefriver-02 ~]# subscription-manager clean
All local data removed
[root@intel-chiefriver-02 ~]# subscription-manager import --cert /root/cert.pem 
Successfully imported certificate cert.pem
[root@intel-chiefriver-02 ~]# subscription-manager repos --list
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-lb-for-rhel-7-server-htb-rpms
Repo Name: Red Hat Enterprise Linux Load Balancer (for RHEL 7 Server) HTB (RPMs)
Repo URL:  https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/loadbalancer/os
Enabled:   0

Repo ID:   rhel-7-server-rt-htb-source-rpms
Repo Name: Red Hat Enterprise Linux for Real Time HTB (RHEL 7 Server) (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/rt/source/SRPMS
Enabled:   0

Repo ID:   rhel-7-server-extras-htb-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras HTB (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/extras/debug
Enabled:   0

Repo ID:   rhel-7-server-htb-rpms
Repo Name: Red Hat Enterprise Linux 7 Server HTB (RPMs)
Repo URL:  https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/os
Enabled:   1

[root@intel-chiefriver-02 ~]# subscription-manager repos --enable rhel-7-server-extras-htb-debug-rpms
Repository 'rhel-7-server-extras-htb-debug-rpms' is enabled for this system.

Comment 11 errata-xmlrpc 2020-09-29 19:24:22 UTC
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


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