[openstack-dev] [keystone]keystone v2 bug

Kenny Ji-work jenkins-sdg at qq.com
Mon Jul 25 01:19:06 UTC 2016


Hi all,


In the mitaka version, I used v2 RESTful API of keystone as following:
curl -i   -H "Content-Type: application/json"   -d '
{ "auth": {
    "tenantName": "admin",
    "passwordCredentials": {
        "username": "admin",
        "password": "password"
    }
}
}'   http://10.240.227.7:35357/v2.0/tokens ; echo



But the result shows: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}. But the v3 of keystone works normaly.
Is v2 of keystone not supported in mitaka or something else config I config wrong?


Sincerely!
Kenny Ji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160725/a7ccd09c/attachment.html>


More information about the OpenStack-dev mailing list