Unable to obtain admin token: Unable to communicate with keystone
1) I'm trying to learn openstack installation step by step, using the 2012.2 releases.
Right now I'm trying to set up the imaging component (glance).
I believe I have the keystone component installed correctly and I have filled the keystone database with the minimal set of records as proposed "in docs, faqs and scripts".
2) In glance, I've modified the *paste.ini files with the pipelines:
pipeline = versionnegotiation authtoken context apiv1app
and with the admin_* lines, like this (identical in both *paste.ini files):
admin_user = glance
admin_tenant_name = service
admin_password = adminpass
admin_token = ADMIN
3) Now, the 'glance --version' works ("2012.2-dev"). So I'm moving to the 'glance index'.
I have obtained the fresh auth token for the 'glance' user. And now, I'm trying this script:
#! /bin/sh
export SERVICE_TOKEN=ADMIN
export SERVICE_ENDPOINT=http://
glance \
--os_
--os_
-A 60ada3b599a4454
index
But I'm getting:
Failed to show index. Got error:
The request returned 503 Service Unavilable. This generally occurs on service overload or other transient outage.
And in glance-api debug, I'm getting:
2012-11-24 10:57:33 17143 DEBUG glance.
2012-11-24 10:57:33 17143 DEBUG glance.
2012-11-24 10:57:33 17143 DEBUG glance.
2012-11-24 10:57:33 17143 DEBUG glance.
2012-11-24 10:57:33 17143 ERROR keystone.
2012-11-24 10:57:33 17143 CRITICAL keystone.
What am I doing wrong?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Yury
- Solved:
- Last query:
- Last reply: