Ask Your Question

pirlouit's profile - activity

2015-08-29 09:53:36 -0500 commented question error in code for creating identity service API endpoints

Hello Have you solved your problem? I ran into the same issue.

2015-08-29 08:45:25 -0500 answered a question error in code for creating identity service API endpoints

Hello Have you solved your problem? I ran into the same.

2015-07-07 15:55:24 -0500 received badge  Famous Question (source)
2015-06-20 13:38:10 -0500 commented answer keystone: error 500 when creating identity endpoint

does anyone can help me? I am totally stuck he

2015-06-20 13:36:06 -0500 commented answer keystone: error 500 when creating identity endpoint

does anyone can help me? I am totally stuck here.

2015-06-15 23:50:49 -0500 received badge  Notable Question (source)
2015-06-15 13:16:01 -0500 received badge  Editor (source)
2015-06-15 13:14:50 -0500 commented answer keystone: error 500 when creating identity endpoint

When entering into mariadb, with sql commands into the keystone database, I can see the "service" table has one record, and the user table has two. Does that mean the keystone db is correctly synchronized?

2015-06-15 03:56:53 -0500 received badge  Popular Question (source)
2015-06-15 03:45:07 -0500 answered a question keystone: error 500 when creating identity endpoint

To Raul,>it does not seem to work:

openstack@controller:~$ more source.src 
export OS_SERVICE_TOKEN=f000c6975f9c93d5cb5e
export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0
openstack@controller:~$ unset OS_SERVICE_TOKEN
openstack@controller:~$ unset OS_SERVICE_ENDPOINT
openstack@controller:~$ echo OS_SERVICE_TOKEN
OS_SERVICE_TOKEN
openstack@controller:~$ echo $OS_SERVICE_TOKEN

openstack@controller:~$ echo $OS_SERVICE_ENDPOINT

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
Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]
2015-06-14 11:31:19 -0500 asked a question 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 ...
(more)
2015-06-10 05:25:16 -0500 answered a question keystone endpoint-create 500 error

Hello

I have the exact same issue. 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 ]     SEQPACKET  LISTENING     8584     /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     9822     @ISCSIADM_ABSTRACT_NAMESPACE
unix  2      [ ACC ]     STREAM     LISTENING     10441    /var/run/acpid.socket

openstack@controller:~$ more /var/log/keystone ...
(more)