Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

keystone endpoint-create 500 error

On Ubuntu 14.04 Server, I run the following command per the instructions:

keystone --debug endpoint-create --service-id $(keystone service-list | awk '/ identity / {print $2}') --publicurl 'http://10.x.x.x:5000/v2.0' --internalurl 'http://10.x.x.x:5000/v2.0' --adminurl 'http://10.x.x.x:35357/v2.0' --region regionOne

And get this result (with --debug):

DEBUG:keystoneclient.session:REQ: curl -i -X GET http://controller:35357/v2.0/OS-KSADM/services/f063e5c1121240b5863d2664e65c5936 -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 68dfb3061ca6e0aef60e" INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller DEBUG:urllib3.connectionpool:Setting read timeout to 600.0 DEBUG:urllib3.connectionpool:"GET /v2.0/OS-KSADM/services/f063e5c1121240b5863d2664e65c5936 HTTP/1.1" 200 158 DEBUG:keystoneclient.session:RESP: [200] {'date': 'Fri, 16 Jan 2015 15:08:37 GMT', 'vary': 'X-Auth-Token', 'content-length': '158', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'} RESP BODY: {"OS-KSADM:service": {"id": "f063e5c1121240b5863d2664e65c5936", "enabled": true, "type": "identity", "name": "keystone", "description": "OpenStack Identity"}}

DEBUG:keystoneclient.session:REQ: curl -i -X POST http://controller:35357/v2.0/endpoints -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: 68dfb3061ca6e0aef60e" -d '{"endpoint": {"adminurl": "http://10.x.x.x:35357/v2.0", "service_id": "f063e5c1121240b5863d2664e65c5936", "region": "regionOne", "internalurl": "http://10.x.x.x:5000/v2.0", "publicurl": "http://10.x.x.x:5000/v2.0"}}' INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller DEBUG:urllib3.connectionpool:Setting read timeout to 600.0 DEBUG:urllib3.connectionpool:"POST /v2.0/endpoints HTTP/1.1" 500 143 DEBUG:keystoneclient.session:RESP: DEBUG:keystoneclient.session:Request returned failure status: 500 An unexpected error prevented the server from fulfilling your request. (HTTP 500)

Any thoughts? All previous instructions completed successfully.

Thanks! Fred

click to hide/show revision 2
No.2 Revision

keystone endpoint-create 500 error

On Ubuntu 14.04 Server, I run the following command per the instructions:

keystone --debug endpoint-create --service-id $(keystone service-list | awk '/ identity / {print $2}') --publicurl 'http://10.x.x.x:5000/v2.0' --internalurl 'http://10.x.x.x:5000/v2.0' --adminurl 'http://10.x.x.x:35357/v2.0' --region regionOne

And get this result (with --debug):

DEBUG:keystoneclient.session:REQ: curl -i -X GET http://controller:35357/v2.0/OS-KSADM/services/f063e5c1121240b5863d2664e65c5936 -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 68dfb3061ca6e0aef60e"
INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller
DEBUG:urllib3.connectionpool:Setting read timeout to 600.0
DEBUG:urllib3.connectionpool:"GET /v2.0/OS-KSADM/services/f063e5c1121240b5863d2664e65c5936 HTTP/1.1" 200 158
DEBUG:keystoneclient.session:RESP: [200] {'date': 'Fri, 16 Jan 2015 15:08:37 GMT', 'vary': 'X-Auth-Token', 'content-length': '158', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'} 
RESP BODY: {"OS-KSADM:service": {"id": "f063e5c1121240b5863d2664e65c5936", "enabled": true, "type": "identity", "name": "keystone", "description": "OpenStack Identity"}}

Identity"}} DEBUG:keystoneclient.session:REQ: curl -i -X POST http://controller:35357/v2.0/endpoints -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: 68dfb3061ca6e0aef60e" -d '{"endpoint": {"adminurl": "http://10.x.x.x:35357/v2.0", "service_id": "f063e5c1121240b5863d2664e65c5936", "region": "regionOne", "internalurl": "http://10.x.x.x:5000/v2.0", "publicurl": "http://10.x.x.x:5000/v2.0"}}' INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller DEBUG:urllib3.connectionpool:Setting read timeout to 600.0 DEBUG:urllib3.connectionpool:"POST /v2.0/endpoints HTTP/1.1" 500 143 DEBUG:keystoneclient.session:RESP: DEBUG:keystoneclient.session:Request returned failure status: 500 An unexpected error prevented the server from fulfilling your request. (HTTP 500)

500)

Any thoughts? All previous instructions completed successfully.

Thanks! Fred