V2: Endpoint creation with missing URL returns 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Tushar Patil |
Bug Description
Branch: master
Steps to repro:
1. Create an endpoint without specifying either or all of adminurl, internalurl or publicurl as follows:
$ keystone endpoint-create --service-id 6920e3f02bfd4bc
2. Observe the response.
Expected Behavior:
API should return a 400 Bad Request with appropriate message.
Actual Response:
API returns a 500 Internal Server Error with the following response body:
Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1048, \"Column 'url' cannot be null\") 'INSERT INTO endpoint (id, interface, region, service_id, url, extra) VALUES (%s, %s, %s, %s, %s, %s)' ('8622653655e54
Changed in keystone: | |
assignee: | nobody → Unmesh Gurjar (unmesh-gurjar) |
Changed in keystone: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/19431
Review: https:/