Bug 1654126

Summary: The 'dbus-python' distribution was not found and is required by subscription-manager
Product: Red Hat Enterprise Linux 8 Reporter: Han Han <hhan>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: csnyder, dyuan, jsefler, xuzhang
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-10 15:48:32 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:

Description Han Han 2018-11-28 05:56:21 UTC
Description of problem:
As subject

Version-Release number of selected component (if applicable):
subscription-manager-1.23.8-2.el8.x86_64
platform-python-3.6.7-3.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. /usr/libexec/rhsmcertd-worker        
Traceback (most recent call last):
  File "/usr/libexec/rhsmcertd-worker", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'dbus-python' distribution was not found and is required by subscription-manager

Actual results:
As above

Expected results:
no error

Additional info:
dbus-python is not contained in rhel8. Please check pkg python3-dbus instead.

Comment 2 Chris Snyder 2018-12-10 15:48:32 UTC

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