malformed endpoint URLs are destroying the API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
David Stanek |
Bug Description
When creating an endpoint using a malformed URL (in my case a URL with a missing type identifier of a used variable) the whole API is broken afterwards. The only way to fix the issue is to use SERVICE_ENDPOINT and SERVICE_TOKEN to remove the affected endpoint. After removing the affected endpoint everything is working like before.
I think it should be tested if a used URL is malformed or not before creating an endpoint.
stack@devstack0
[...] (Everything is working fine in this case.)
stack@devstack0
+------
| Property | Value |
+------
| adminurl | http://
| id | 1e4df8989cd648b
| internalurl | http://
| publicurl | http://
| region | RegionTesting |
| service_id | 5c026f3ea65b42c
+------
stack@devstack0
Authorization Failed: Malformed endpoint URL (http://
stack@devstack0
Authorization Failed: Malformed endpoint URL (http://
stack@devstack0
ERROR: Malformed endpoint URL (http://
stack@devstack0
Authorization Failed: Malformed endpoint URL (http://
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
assignee: | nobody → David Stanek (dstanek) |
Changed in keystone: | |
status: | In Progress → Fix Committed |
Changed in keystone: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-1 → 2014.2 |
The internal URL is malformed in this case. The 's' is missing. It should be $(tenant_id)s instead of $(tenant_id).