[openstack-dev] [openstackclient][keystoneclient][devstack] Openstackclient do not work with auth_url without v2.0

Andrey Pavlov andrey.mp at gmail.com
Mon Nov 30 05:53:08 UTC 2015


I use 'unset OS_AUTH_TYPE' to get it work after sourcing crdentials.

On Mon, Nov 30, 2015 at 6:13 AM, lichen.hangzhou <lichen.hangzhou at gmail.com>
wrote:

> 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: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Kind regards,
Andrey Pavlov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151130/9d65f4cf/attachment.html>


More information about the OpenStack-dev mailing list