Error: Deleting the keystone endpoint

asked 2016-02-13 06:24:26 -0600

aparnav gravatar image

updated 2016-02-29 15:28:46 -0600

Hi, I am trying to delete a keystone endpoint but I am getting the error message saying "Unable to delete endpoint."

ubuntu@aparna-vm:~$keystone --debug endpoint-delete a65218b9bdba4fcdb1da92661ebe0764 DEBUG:keystoneclient.auth.identity.v2:Making authentication request to INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): DEBUG:requests.packages.urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 2767 DEBUG:keystoneclient.session:REQ: curl -g -i -X DELETE -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5e9a9a58c7d1a510b76b461d67c7e689f6f8fda8" INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): DEBUG:requests.packages.urllib3.connectionpool:"DELETE /v2.0/endpoints/a65218b9bdba4fcdb1da92661ebe0764 HTTP/1.1" 404 118 DEBUG:keystoneclient.session:RESP: [404] Content-Length: 118 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Sat, 13 Feb 2016 11:46:00 GMT Content-Type: application/json x-openstack-request-id: req-72035708-e323-4072-a516-f48e12823aca RESP BODY: {"error": {"message": "Could not find endpoint: a65218b9bdba4fcdb1da92661ebe0764", "code": 404, "title": "Not Found"}}  DEBUG:keystoneclient.session:Request returned failure status: 404 Unable to delete endpoint.

But keystone endpoint-create and keystone service-list are working.

I am able to delete the endpoint I tried creating from CLI. But the endpoints created using the stacking process is not getting deleted.


Can anyone help me with this problem? Thank you in advance.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2016-11-30 13:33:10 -0600

Ali Solangi gravatar image

updated 2016-11-30 13:34:06 -0600

keystone endpoint-list and keystone endpoint-delete commands are not available in Newton, how to delete it in Ubuntu 16.04.1?

edit flag offensive delete link more


See here: Stricly speaking though, this has nothing to do with the Ubuntu version.

Bernd Bausch gravatar imageBernd Bausch ( 2016-11-30 17:54:47 -0600 )edit

yup, nothing to do with ubuntu, I meant to get a way to delete these endpoints URLs in Newton release, but no luck.

Ali Solangi gravatar imageAli Solangi ( 2016-12-02 03:45:06 -0600 )edit

answered 2016-07-05 23:34:18 -0600

mhban gravatar image

It depends on keystone version. Since keystone v3.0 it is not possible to delete legacy endpoint-id with v2.0 API. Try to use v3.0 API or you can edit DB directly though it is not recommended.

edit flag offensive delete link more

answered 2016-02-15 01:14:40 -0600

Vinoth gravatar image

The log shows that the endpoint ID you are trying to delete is not in the DB.

{"error": {"message": "Could not find endpoint: a65218b9bdba4fcdb1da92661ebe0764"

So try to list the endpoint first using the command

keystone endpoint-list

Then copy the UUID of the keystone endpoint listed.

Then execute the command keystone endpoint-delete <Keystone-endpoint-UUID>

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-02-13 06:24:26 -0600

Seen: 1,725 times

Last updated: Nov 30 '16