Ask Your Question

Revision history [back]


I bumped into this today.

It looks like some packages got moved around in the python-novaclient package and some other rackspace libraries are referencing old package paths.

There's a pull request to get this fixed: https://github.com/rackerlabs/ip_associations_python_novaclient_ext/pull/2

If you run your command in debug mode you'll see which files have issues and you can patch them by hand yourself:

openstack --debug server list

(side note: many command-line utilities include a "debug mode" that allows you to see more detailed information in the terminal. This could provide you with a more specific issue to research or give you more detialed information for a support forum like this one.)

In my case I saw issues with:

1) /usr/local/lib/python2.7/dist-packages/ip_associations_python_novaclient_ext.py

comment out line 16 and add the correct include:

#from novaclient.openstack.common import cliutils as utils
from novaclient import utils

2) /usr/local/lib/python2.7/dist-packages/os_networksv2_python_novaclient_ext.py again, line 16:

# from novaclient.openstack.common import cliutils as utils
from novaclient import utils

3) /usr/local/lib/python2.7/dist-packages/os_virtual_interfacesv2_python_novaclient_ext.py line 16:

# from novaclient.openstack.common import cliutils
from novaclient import utils
from novaclient import utils as cliutils

4) /usr/local/lib/python2.7/dist-packages/rax_default_network_flags_python_novaclient_ext/__init__.py line 20:

# from novaclient.openstack.common import cliutils
from novaclient import utils as cliutils