← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1305537] [NEW] get endpoints associated with a project will return 404 error if endpoint isnot exist

 

Public bug reported:

This is a bug about OS-EP-FILTER extension.

First, I let an endpoint associated with a project via command:
curl -i -H "X-Auth-Token:admin" http://127.0.0.1:35357/v3/OS-EP-FILTER/projects/baafa1ac3d1340a59b6f2500f3071c24/endpoints/bf14cf0a1bec4304945f5025e3a74f6f -X PUT

Then, I delete the endpoint. When I list all the endpoints associated with the project I get a 404 error response:
{"error": {"message": "Could not find endpoint, bf14cf0a1bec4304945f5025e3a74f6f.", "code": 404, "title": "Not Found"}}

Also, if I let an endpoint associated with a project, and then delete
the project. I get the 404 response too when I get projects associated
with the endpoint.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1305537

Title:
  get endpoints associated with a project will return 404 error if
  endpoint isnot exist

Status in OpenStack Identity (Keystone):
  New

Bug description:
  This is a bug about OS-EP-FILTER extension.

  First, I let an endpoint associated with a project via command:
  curl -i -H "X-Auth-Token:admin" http://127.0.0.1:35357/v3/OS-EP-FILTER/projects/baafa1ac3d1340a59b6f2500f3071c24/endpoints/bf14cf0a1bec4304945f5025e3a74f6f -X PUT

  Then, I delete the endpoint. When I list all the endpoints associated with the project I get a 404 error response:
  {"error": {"message": "Could not find endpoint, bf14cf0a1bec4304945f5025e3a74f6f.", "code": 404, "title": "Not Found"}}

  Also, if I let an endpoint associated with a project, and then delete
  the project. I get the 404 response too when I get projects associated
  with the endpoint.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1305537/+subscriptions


Follow ups

References