yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00599
[Bug 1097747] Re: V2: Endpoint creation with missing URL returns 500
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => grizzly-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1097747
Title:
V2: Endpoint creation with missing URL returns 500
Status in OpenStack Identity (Keystone):
Fix Released
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 6920e3f02bfd4bc89e06539818c83cdc
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)' ('8622653655e545e8b86876ce7badafe4', 'admin', 'regionOne', '6920e3f02bfd4bc89e06539818c83cdc', None, '{\"legacy_endpoint_id\": \"f59f7a01857147a39c4caf5a6a7d0ef0\"}')", "code": 500, "title": "Internal Server Error"}}. (HTTP 500)
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1097747/+subscriptions