Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have made the necessary changes you have mentioned. But it didn't work.. I have executed the following command: $ curl -H "X-Auth-Token:11121314151617181920" http://localhost:35357/v2.0/tokens/7f3618d9-668e-40f4-afe3-178d5f0f1ac0 |python -mjson.tool


{ "access": { "token": { "expires": "2012-05-26T01:20:27", "id": "7f3618d9-668e-40f4-afe3-178d5f0f1ac0", "tenant": { "id": "1", "name": "openstackDemo" } }, "user": { "id": "3", "roles": [ { "id": "1", "name": "Admin", "tenantId": "1" }, { "id": "1", "name": "Admin" } ], "username": "adminUser" } } }

But if I use the same auth_token for nova service purpose I got error.


$ curl -H "X-Auth-Token:11121314151617181920" http:/ost:8774/v1.0/


<head> <title>401 Unauthorized</title> </head> <body>

401 Unauthorized

This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.

Still now I am not able to resolve the issue. Please help me to resole it.