Ask Your Question

Revision history [back]

ImportError: cannot import name v1_1

Before I begin, this is my first error report, as such if I am doing thing incorrectly it is not intentional and I will do my best to fix what I did incorrectly. I am using a script to run the setup and it has worked several times up until yesterday and now I keep getting the following error after I did a clean install. Before that though here is what I do to install nova (a lot of code excluded for brevity): add-apt-repository ppa:nova-core/release apt-get install -y nova-common nova-doc python-nova nova-api nova-network nova-objectstore nova-scheduler

now when I try to run any kind of list from nova manage I get the error stated in the title, for example: nova-manage project list returns Traceback (most recent call last): File "/usr/bin/nova-manage", line 90, in <module> from nova.cloudpipe import pipelib File "/usr/lib/pymodules/python2.7/nova/cloudpipe/pipelib.py", line 39, in <module> from nova.api.ec2 import cloud File "/usr/lib/pymodules/python2.7/nova/api/ec2/cloud.py", line 35, in <module> from nova import compute File "/usr/lib/pymodules/python2.7/nova/compute/__init__.py", line 19, in <module> from nova.compute.api import API File "/usr/lib/pymodules/python2.7/nova/compute/api.py", line 36, in <module> from nova import volume File "/usr/lib/pymodules/python2.7/nova/volume/__init__.py", line 19, in <module> from nova.volume.api import API File "/usr/lib/pymodules/python2.7/nova/volume/api.py", line 36, in <module> flags.DECLARE('storage_availability_zone', 'nova.volume.manager') File "/usr/lib/pymodules/python2.7/nova/flags.py", line 245, in DECLARE __import__(module_string, globals(), locals()) File "/usr/lib/pymodules/python2.7/nova/volume/manager.py", line 50, in <module> from nova import manager File "/usr/lib/pymodules/python2.7/nova/manager.py", line 60, in <module> from nova.scheduler import api File "/usr/lib/pymodules/python2.7/nova/scheduler/api.py", line 20, in <module> from novaclient import v1_1 as novaclient ImportError: cannot import name v1_1