endpoints not show correctly when using "endpoint_filter.sql" as catalog's backend driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Dave Chen |
Bug Description
If the endpoint group project association was created, and set "endpoint_
But currently, those endpoints can *only* be show if using call `list_endpoints
Steps to reproduce this issue.
-Create endpoint group.
$curl -g -i -X POST http://
- Create endpoint_group project association
$curl -g -i -X PUT http://
- Get endpoint for the project, this will return all of the endpoints matched the rule defined in the endpoint group.
$curl -g -i -X GET http://
...
{
"endpoints": [
{
},
"url": "http://
"id": "3f6fb8738db842
},
{
},
"url": "http://
"id": "dd69f161f8a246
},
{
},
"url": "http://
"id": "0d70f9fd5a8544
},
{
},
"url": "http://
"id": "5be3023ddf984f
},
{
},
"url": "http://
"id": "9393be9c7eda41
},
{
},
"url": "http://
"id": "151b9f8b132f4c
},
{
},
"url": "http://
"id": "bff53486b72c44
},
{
},
"url": "http://
"id": "d0ee548da62347
},
{
},
"url": "http://
"id": "44699ffc642746
}
],
"links": {
"self": "http://
"previous": null,
"next": null
}
}
...
- Get a project scoped token, this will only return endpoints from endpoint_project table.
$ curl -i -H "Content-Type: application/json" -d '{ "auth": { "identity": {
"methods": ["password"],
"password": {
"user": {
"name": "admin",
"domain": { "id": "default" },
}
}
},
"scope": {
"project": {
"name": "admin",
"domain": { "id": "default" }
}
}
}
}' http://
...
"catalog": [
{
],
}
],
...
description: | updated |
description: | updated |
Changed in keystone: | |
assignee: | nobody → Dave Chen (wei-d-chen) |
description: | updated |
description: | updated |
Changed in keystone: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → mitaka-1 |
tags: | added: kilo-backport-potential liberty-backport-potential |
Changed in keystone: | |
milestone: | mitaka-1 → mitaka-2 |
Fix proposed to branch: master /review. openstack. org/250032
Review: https:/