No module named openstack.common
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I install the latest python-novaclient using pip and when I run the nova list I get a ERROR (ImportError): No module named openstack.common.
I am on the latest Mac OS.
Here is the full output with debug.
DEBUG (shell:1077) No module named openstack.common
Traceback (most recent call last):
File "/Library/
OpenStackCo
File "/Library/
self.extensions = client.
File "/Library/
return [ext.Extension(
File "/Library/
module = module_
File "/Library/
mod = imp.load_
File "/Library/
from novaclient.
ImportError: No module named openstack.common
ERROR (ImportError): No module named openstack.common
Here is the pip version install info:
pip show python-novaclient
---
Metadata-Version: 2.0
Name: python-novaclient
Version: 4.0.0
Summary: Client library for OpenStack Compute API
Home-page: https:/
Author: OpenStack
Author-email: <email address hidden>
Installer: pip
License: Apache License, Version 2.0
Location: /Library/
Requires: oslo.i18n, oslo.serialization, requests, oslo.utils, iso8601, keystoneauth1, pbr, six, PrettyTable, simplejson, Babel
Classifiers:
Development Status :: 5 - Production/Stable
Environment :: Console
Environment :: OpenStack
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Entry-points:
[console_scripts]
nova = novaclient.
pip list
Babel (2.3.4)
debtcollector (1.3.0)
funcsigs (1.0.2)
ip-associations
iso8601 (0.1.11)
keystoneauth1 (2.6.0)
monotonic (1.1)
msgpack-python (0.4.7)
netaddr (0.7.18)
netifaces (0.10.4)
os-diskconfig-
os-networksv2-
os-virtual-
oslo.i18n (3.6.0)
oslo.serialization (2.4.0)
oslo.utils (3.8.0)
pbr (1.9.1)
pip (8.1.1)
positional (1.1.0)
prettytable (0.7.2)
python-novaclient (4.0.0)
pytz (2016.4)
rackspace-
rax-default-
rax-scheduled-
requests (2.10.0)
setuptools (18.2)
simplejson (3.8.2)
six (1.10.0)
stevedore (1.12.0)
wrapt (1.10.8)
description: | updated |
description: | updated |
Changed in python-novaclient: | |
assignee: | nobody → venkatamahesh (venkatamaheshkotha) |
Changed in python-novaclient: | |
assignee: | venkatamahesh (venkatamaheshkotha) → nobody |
Ok after researching this and digging through source code it looks like it is actually an issue with the Rackspace extensions. There are pull requests out to already fix this here:
https:/ /github. com/rackerlabs/ rax_default_ network_ flags_python_ novaclient_ ext/pull/ 13 /github. com/rackerlabs/ os_virtual_ interfacesv2_ ext/pull/ 4 /github. com/rackerlabs/ os_networksv2_ python_ novaclient_ ext/pull/ 13 /github. com/rackerlabs/ ip_associations _python_ novaclient_ ext/pull/ 2
https:/
https:/
https:/
I just made the changes to the files manually to get it working on my local which was novaclient. openstack. common. utils class is now just novaclient.utils if you are getting the same error.