v3 endpoint create should require url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
wanghong |
Bug Description
When create a endpoint, if I do not specify "service_id" I will get the following reponse:
curl -i -H "X-Auth-
{"error": {"message": "service_id field is required and cannot be empty", "code": 400, "title": "Bad Request"
But, if I do not specify "url" I will get another reponse as following:
curl -i -H "X-Auth-
{"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1048, \"Column 'url' cannot be null\") 'INSERT INTO endpoint (id, legacy_endpoint_id, interface, region, service_id, url, extra) VALUES (%s, %s, %s, %s, %s, %s, %s)' ('57b1f66ed22f4
The url parameter should be required too.
Changed in keystone: | |
assignee: | nobody → wanghong (w-wanghong) |
Changed in keystone: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in keystone: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | icehouse-rc1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/76409
Review: https:/