New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

novaclient auth plugins that are not keystone are deprecated #14

Closed
clayg opened this Issue Dec 22, 2015 · 3 comments

Comments

Projects
None yet
4 participants
@clayg

clayg commented Dec 22, 2015

I installed rackspace-novaclient in a fresh virtualenv and get an error trying to run nova list

ERROR (AttributeError): ImpImporter instance has no attribute 'load_module'

More detail:

https://gist.github.com/clayg/b6d924fbca46b2eb8ebf

Probably broke here:

openstack/python-novaclient@88ef054

@iangcarroll

This comment has been minimized.

Show comment
Hide comment
@iangcarroll

iangcarroll Dec 30, 2015

Running into this issue as well on OS X 10.11.

iangcarroll commented Dec 30, 2015

Running into this issue as well on OS X 10.11.

jimrollenhagen added a commit to jimrollenhagen/rackspace-novaclient that referenced this issue Dec 30, 2015

Pin python-novaclient<3.0.0
For whatever reason, plugin loading in novaclient 3 fails with:
AttributeError: ImpImporter instance has no attribute 'load_module'.

That code in novaclient hasn't changed in a while, and pkgutil is a
stdlib thing, so I have no clue why that's breaking. However!
If I work around this by munging that code to work, we fail later
because os_diskconfig_python_novaclient_ext imports the v1_1 module from
novaclient, which doesn't exist beginning in novaclient 3.

So, pin novaclient to <3.0.0 to allow the rackspace extensions to
continue working for now.

Fixes #14.
@supermari0

This comment has been minimized.

Show comment
Hide comment
@supermari0

supermari0 Dec 31, 2015

This is an upstream bug being fixed by https://review.openstack.org/#/c/262632/

supermari0 commented Dec 31, 2015

This is an upstream bug being fixed by https://review.openstack.org/#/c/262632/

@0x91

This comment has been minimized.

Show comment
Hide comment
@0x91

0x91 Jun 18, 2018

Collaborator

fixed upstream.

Collaborator

0x91 commented Jun 18, 2018

fixed upstream.

@0x91 0x91 closed this Jun 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment