Problem with getting a token in keystone [closed]

asked 2014-07-07 04:58:02 -0500

anhdenday gravatar image

Dear All there, I am deploying keystone from the source code. After running keystone by the command : "tools/ bin/keystone-all". I want to get a token following the example at openstack document site: I am using this command: ( curl -i \ -H "Content-Type: application/json" \ -d ' { "auth": { "identity": { "methods": ["password"], "password": { "user": { "name": "admin", "domain": { "id": "default" }, "password": "adminpwd" } } } } }' \ http://localhost:5000/v3/auth/tokens ; echo

But my result is : HTTP/1.1 401 Unauthorized Www-Authenticate: Keystone uri="http://localhost:5000" Vary: X-Auth-Token Content-Type: application/json Content-Length: 114 Date: Mon, 07 Jul 2014 09:54:18 GMT

{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}

I dont know why? Maybe the password for admin is not correct? How can i change the password...? Please help me! Thanks so much

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by smaffulli
close date 2014-07-07 10:51:36.638972