No way to prevent duplicates in endpoints
Bug #1376937 reported by
Vish Ishaya
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Keystone doesn't provide a way to ensure that we do not create duplicate endpoints. Imagine two concurrent workers attempting to create a keystone endpoint. There are no unique constraints for endpoints besides the id, but the id cannot be set externally, so there isn't an easy way to ensure only one gets created without a global lock
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
assignee: | Raildo Mascena de Sousa Filho (raildo) → Henrique Truta (henriquetruta) |
Changed in keystone: | |
assignee: | Henrique Truta (henriquetruta) → Raildo Mascena de Sousa Filho (raildo) |
Changed in keystone: | |
assignee: | Henrique Truta (henriquetruta) → Raildo Mascena de Sousa Filho (raildo) |
tags: | added: validation |
Changed in keystone: | |
milestone: | none → mitaka-3 |
Changed in keystone: | |
milestone: | mitaka-3 → mitaka-rc1 |
Changed in keystone: | |
assignee: | Raildo Mascena de Sousa Filho (raildo) → David Stanek (dstanek) |
To post a comment you must log in.
What would you expect the unique constraint to be based on? I could see url, url/enabled, and a few other combinations.