Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

does the latest nova / openstackclient work with rackspace? #110

Open
kzap opened this issue Apr 13, 2016 · 5 comments
Open

does the latest nova / openstackclient work with rackspace? #110

kzap opened this issue Apr 13, 2016 · 5 comments
Assignees

Comments

@kzap
Copy link

kzap commented Apr 13, 2016

im trying to use supernova with rackspace but after i upgraded the clients i always get 401's
but rack-cli works fine, thus i cant use novaclient / supernova anymore or openstackclient with rackspace cloud....

cant find any bug reports about this also


Using parameters {'username': '_', 'project_id': '_', 'password': '***', 'auth_url': 'https://identity.api.rackspacecloud.com/v2.0/'}
Get auth_ref
REQ: curl -g -i -X GET https://identity.api.rackspacecloud.com/v2.0/ -H "Accept: application/json" -H "User-Agent: python-openstackclient keystoneauth1/2.5.0 python-requests/2.9.1 CPython/2.7.11"
RESP: [200] Content-Length: 307 Content-Encoding: gzip vary: Accept, Accept-Encoding, X-Auth-Token X-NewRelic-App-Data: PxQGUF9aDwETVlhSBQgFVUYdFGQHBDcQUQxLA1tMXV1dORYzVBJHNQFUZAQUFVFQVThOAVhcGRQFUl1AEgcABx4LXA8WWURbHRdcEl4UQQEBGFQNCRZcHUZWUUx0XVgTAAMGZQcUEAtfDGoHS1dBQFAAZU5WBEchCFlCBVRTblZCFwgNWXhZAAsTGgNMVk9SHlIJVA0JBR4eVBVDBQUDUwFSAldWUl0BUwAHVBVs Server: nginx Connection: keep-alive Front-End-Https: on Date: Wed, 13 Apr 2016 13:27:36 GMT Content-Type: application/json
RESP BODY: {"version":{"id":"v2.0","updated":"2012-01-21T11:33:21-06:00","status":"CURRENT","links":[{"rel":"self","href":"https://identity.api.rackspacecloud.com/v2.0"},{"rel":"describedby","type":"application/pdf","href":"http://docs.rackspacecloud.com/auth/api/v2.0/auth-client-devguide-latest.pdf"},{"rel":"describedby","type":"application/vnd.sun.wadl+xml","href":"http://docs.rackspacecloud.com/auth/api/v2.0/auth.wadl"}],"media-types":{"values":[{"base":"application/xml","type":"application/vnd.openstack.identity+xml;version=2.0"},{"base":"application/json","type":"application/vnd.openstack.identity+json;version=2.0"}]}}}

Making authentication request to https://identity.api.rackspacecloud.com/v2.0/tokens
Request returned failure status: 401
Unauthorized (HTTP 401)

clean_up ListServer: Unauthorized (HTTP 401)

@major
Copy link
Owner

major commented Apr 13, 2016

There are some bugs somewhere in novaclient and the rackspace-novaclient packages. There's not much I can do within supernova to get around that. I'm looking for a workaround in the clients now.

@major major self-assigned this Apr 13, 2016
@kzap
Copy link
Author

kzap commented Apr 14, 2016

Ok thanks guess its not just me then :)
On Apr 13, 2016 9:45 PM, "Major Hayden" [email protected] wrote:

There are some bugs somewhere in novaclient and the rackspace-novaclient
packages. There's not much I can do within supernova to get around that.
I'm looking for a workaround in the clients now.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#110 (comment)

@kzap
Copy link
Author

kzap commented Apr 14, 2016

i was able to get it working again by installing python-novaclient 2.30.2 , any version >= 3.0 causes 401's

first i uninstalled python-novaclient, then installed it at version 2.30.2

pip uninstall python-novaclient
pip install -I python-novaclient==2.30.2

i could not install rackspace-novaclient normally since it kept installing the latest python-novaclient
is it even needed if im using supernova?
i could install rackspace-novaclient by ignoring the dependencies

pip install --no-dependencies rackspace-novaclient

now supernova works again with rackspace

funny thing is the openstackclient still gets 401's,
im wondering what is special about the rackspace authentication that makes it different from regular openstack?

also 2.35 has issues also, so i used 2.30.2 to work both with rackspace and other openstacks

also does supernova use rackspace-novaclient if installed and then python-novaclient next?

@0x91
Copy link

0x91 commented Jan 23, 2018

This is being addressed in https://github.com/rackerlabs/rackspace-novaclient/issues/22

@hkmaly
Copy link

hkmaly commented May 27, 2019

Note that there is another unrelated reason why latest nova may not work with rackspace ... or rather, will not work until they handle rackerlabs/rackspace-novaclient#23 ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants