Keystone Authorization Failed: Malformed endpoint [closed]
Hi, I am currently playing with the setup of openstack on an opensuse 13.1 using the official documentation.
I am at the step: Verify the Identity Service installation: 3 - Verify that authorization behaves as expected. And run the command:
keystone --os-username=admin --os-password=ADMIN_PASS \
--os-tenant-name=admin --os-auth-url=http://<controller name>:35357/v2.0 \
token-get
Each time I have the error below: Authorization Failed: Malformed endpoint URL (http://%SERVICE_HOST%:8774/v2/$(tenant_id)s), see ERROR log for details. (HTTP 500)
I do not understand the http://%SERVICE_HOST%:8774 thing since the 8774 is for compute program according to the default_catalog.templates.
Using debug gives me:
#keystone --debug --os-username=admin --os-password=passpass--os-tenant-name=admin --os-auth-url=http://pdroskeystone:35357/v2.0 token-get
REQ: curl -i -X POST http://pdroskeystone:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "passpass"}}}
RESP: [500] CaseInsensitiveDict({'date': 'Wed, 19 Feb 2014 21:33:37 GMT', 'vary': 'X-Auth-Token', 'content-length': '169', 'content-type': 'application/json'})
RESP BODY: {"error": {"message": "Malformed endpoint URL (http://%SERVICE_HOST%:8774/v2/$(tenant_id)s), see ERROR log for details.", "code": 500, "title": "Internal Server Error"}}
Request returned failure status: 500
Authorization Failed: Malformed endpoint URL (http://%SERVICE_HOST%:8774/v2/$(tenant_id)s), see ERROR log for details. (HTTP 500)
At that point I really lost :)
Do you have some hints or advices that could help me to solve this?
Thanks
give me the output of keystone endpont-list.
Thanks :) Here it is: #keystone --os-token=TOKEN--os-endpoint=http://HOSTNAME:35357/v2.0 endpoint-list WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). So not value return at all...
What I don't understand is that I have followed the guide http://docs.openstack.org/trunk/install-guide/install/zypper/content/keystone-services.html and at the step 2 (keystone endpoint-create), it was successful...