yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37933
[Bug 1466872] Re: v3 - Ambiguous error when no request body is provided for updating service
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => liberty-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/1466872
Title:
v3 - Ambiguous error when no request body is provided for updating
service
Status in Keystone:
Fix Released
Bug description:
Request
~~~~~~~
PATCH /v3/services/42a4f85b93b5445c9c05c1482b25e5f3 HTTP/1.1
Host: {snip}:5000
X-Auth-Token: {snip}
Response
~~~~~~~~
HTTP/1.1 400 Bad Request
Date: Fri, 19 Jun 2015 13:40:54 GMT
Server: Apache/2.4.7 (Ubuntu)
Vary: X-Auth-Token
x-openstack-request-id: req-07d8def5-7ce0-4777-a05f-4159a60c5919
Content-Length: 115
Connection: close
Content-Type: application/json
{"error": {"message": "update_service() takes exactly 4 arguments (3
given)", "code": 400, "title": "Bad Request"}}
---
As an end-user, I have no idea what this error message means - nor
what I am expected to do to fix it.
Also, I don't think we should expose Python errors through the API to
the end-user, who might not have Python experience.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1466872/+subscriptions
References