Why does subscription-manager command fail with traceback error "KeyError Unknown feature DBUS_IFACE" ?

Solution Verified - Updated -

Issue

  • The command subscription-manager fails with the traceback as follows.
Traceback (most recent call last):
  File "/usr/sbin/subscription-manager", line 67, in <module>
    inj.require(inj.DBUS_IFACE)
  File "/usr/lib64/python2.7/site-packages/subscription_manager/injection.py", line 103, in require
    return FEATURES.require(feature, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/subscription_manager/injection.py", line 73, in require
    raise KeyError("Unknown feature: %r" % feature)
KeyError: "Unknown feature: 'DBUS_IFACE'"
  • yum is working fine, whereas subscription-manager isn't.

Environment

  • Red Hat Enterprise Linux 7
  • subscription-manager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In