keystone: error 500 when creating identity endpoint
Hello
I have the exact same issue than in this thread but I don't understand the resolution process: https://ask.openstack.org/en/question/58557/keystone-endpoint-create-500-error/?answer=68254#post-id-68254 (https://ask.openstack.org/en/question...)
When creating the identity endpoint following the guide http://docs.openstack.org/juno/install-guide/install/apt/content/keystone-services.html (http://docs.openstack.org/juno/instal...), I get a "An unexpected error prevented the server from fulfilling your request. (HTTP 500)" error. My cloud design runs openstack (Juno) over 3 Virtual Machines (Ubuntu server 14.04), but at that point (keystone install and setup) I am only working on the controller node.
openstack@controller:~$ more source.src
export OS_SERVICE_TOKEN=f000c6975f9c93d5cb5e
export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0
openstack@controller:~$ source source.src
openstack@controller:~$ keystone --debug endpoint-create --service-id fcb0d0f94e19474fad673041534a902c --publicurl http://controller:5000/v2.0 --internalurl http://controller:5000/v2.0 --adminurl http://controller:35357/v2.0 --region nantes
DEBUG:keystoneclient.session:REQ: curl -i -X GET http://controller:35357/v2.0/OS-KSADM/services/fcb0d0f94e19474fad673041534a902c -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: f000c6975f9c93d5cb5e"
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/fcb0d0f94e19474fad673041534a902c HTTP/1.1" 200 158
DEBUG:keystoneclient.session:RESP: [200] {'date': 'Tue, 09 Jun 2015 20:42:02 GMT', 'vary': 'X-Auth-Token', 'content-length': '158', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'}
RESP BODY: {"OS-KSADM:service": {"id": "fcb0d0f94e19474fad673041534a902c", "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: f000c6975f9c93d5cb5e" -d '{"endpoint": {"adminurl": "http://controller:35357/v2.0", "service_id": "fcb0d0f94e19474fad673041534a902c", "region": "nantes", "internalurl": "http://controller:5000/v2.0", "publicurl": "http://controller: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)
openstack@controller:~$
openstack@controller:~$
openstack@controller:~$ netstat -an | grep -i listen
tcp 0 0 10.0.2.15:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:35357 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 11817 /var/run/libvirt/libvirt-sock
unix 2 [ ACC ] STREAM LISTENING 11819 /var/run/libvirt/libvirt-sock-ro
unix 2 [ ACC ] STREAM LISTENING 9263 /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 8269 @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 11913 /var/run/mysqld/mysqld.sock
unix 2 [ ACC ...
The response in your referenced question was to unset both OS_SERVICE_ENDPOINT OS_SERVICE_TOKEN. Did you attempt to do this after sourcing "source.src"?