OpenStack CLI returns ImportError: No module named oslo_log

Solution Verified - Updated -


  • After installing the python-openstackclient, I get the following error:

    # openstack endpoint list
    Traceback (most recent call last):
      File "/usr/bin/openstack", line 6, in <module>
        from import main
      File "/usr/lib/python2.7/site-packages/openstackclient/", line 30, in <module>
        from openstackclient.common import clientmanager
      File "/usr/lib/python2.7/site-packages/openstackclient/common/", line 256, in <module>
      File "/usr/lib/python2.7/site-packages/openstackclient/common/", line 223, in get_plugin_modules
      File "/usr/lib/python2.7/site-packages/saharaclient/osc/", line 17, in <module>
        from oslo_log import log as logging
    ImportError: No module named oslo_log


  • Red Hat Enterprise Linux 7
  • python-openstackclient

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