[Openstack] Keystone Token Issue

Damon Wang damon.devops at gmail.com
Sat Feb 15 08:16:47 UTC 2014


Hi Thomas,

Keystone's token has time limit by default, you need to curl to
http://localhost:35357/v2.0/token and post your username and password first.

you can see the table "token" in database "keystone", and there is one
column is "valid"

Damon




2014-02-15 9:19 GMT+08:00 Thomas McLaughlin <mclaughi at adobe.com>:

>  All,
>
>
>
> Ran into an issue.
>
>
>
> Background: Installed Keystone Version: 1:2014.1~b1-0ubuntu1. Got busy
> with other things and came back to project. I am testing the install which
> was suppose to be successful but now I have a token issue.
>
> This was working in early to mid December.
>
>
>
> curl -H "X-Auth-Token:XXXXXXXXXXXXXXXXXXX"
> http://localhost:5000/v2.0/tenants
> {"error": {"message": "The request you have made requires
> authentication.", "code": 401, "title": "Unauthorized"/etc/keystone<%7D%7Droot@:/etc/keystone>#
> curl -H "X-Aup://localhost:5000/v2.0/tenants
>
>
>
> I am a little confused because I thought I did not think I set up a time
> limit on the token. Now Keystone token is breaking.
>
>
>
> I am looking for suggestions as to why the token expired and has no
> authentication now.  Also I need a better testing plan for the time
> lapse so I am open to suggestions. Thanks in advance.
>
>
>
> Sincerely
>
>
>
> Thomas McLaughlin
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140215/a70a7ef6/attachment.html>


More information about the Openstack mailing list