Hi guys,
I re-installed my devstack environment recently on ubuntu 14.04
I try to use openstackclient command with devstack created user:
source devstack/accrc/admin/admin
openstack project list
The command failed with error : The resource could not be found. (HTTP 404).
And, the issue can be solved by change the auth_url with a v2.0 at the end :
export OS_AUTH_URL=http://9.197.45.36:35357/v2.0
I reported a bug https://bugs.launchpad.net/python-keystoneclient/+bug/1519624
and submitted a fix https://review.openstack.org/#/c/249578/.
Because When I run openstackclient command with --debug, and I get log :
http://paste.openstack.org/show/479950/.
From the log, it is easy to see openstackclient already figured out this
command should sent to keystoneclient v2 even there is no v2.0 in the
environment setting.
So, I think this is a bug for keystoneclient.
But, some other guys do not agree with that, because keystoneclient shouldn't
have to check and parse URL bits like that.
I do not really understand why keystoneclient can not do that.
And, for openstack users, do they must explicit set the version of keystone ?
While, I tested, with the same environment settings,
novaclient/glanceclient/neutronclient all can work, the issue only happenes
when we using openstacklcient.
So, anyone can explain a little bit more why to me ?
Thanks.
-chen
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev