← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1468597] [NEW] v3 - Ambiguous error when no request body is provided

 

Public bug reported:

This bug is basically the same issue as the bug described here: https://bugs.launchpad.net/keystone/+bug/1466872.
But this bug is expected to be a blanket bug as there are many entities/API have the same issue. Instead of filed a lot of bugs in the lp,let's take this as a blanket.

Example:
dave@openstack-dev:~$ curl -g -i -X POST http://localhost:35357/v3/services -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 3ec87e90d60c4a318acf7b2bc6e55300"
HTTP/1.1 400 Bad Request
Date: Thu, 25 Jun 2015 03:37:52 GMT
Server: Apache/2.4.7 (Ubuntu)
Vary: X-Auth-Token
x-openstack-request-id: req-70c66170-271c-4e69-b5e6-67fa9ff91f59
Content-Length: 115
Content-Type: application/json
Via: 1.1 shzintpr02.sh.intel.com
Proxy-Connection: Keep-Alive
Connection: Keep-Alive

{"error": {"message": "create_service() takes exactly 3 arguments (2
given)", "code": 400, "title": "Bad Request"}}

** Affects: keystone
     Importance: Undecided
     Assignee: Dave Chen (wei-d-chen)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Dave Chen (wei-d-chen)

** Description changed:

- This bug is basically the same issue as the bug descriped here: https://bugs.launchpad.net/keystone/+bug/1466872.
+ This bug is basically the same issue as the bug described here: https://bugs.launchpad.net/keystone/+bug/1466872.
  But this bug is expected to be a blanket bug as there are many entities/API has the same issue.
  
  example:
  dave@openstack-dev:~$ curl -g -i -X POST http://localhost:35357/v3/services -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 3ec87e90d60c4a318acf7b2bc6e55300"
  HTTP/1.1 400 Bad Request
  Date: Thu, 25 Jun 2015 03:37:52 GMT
  Server: Apache/2.4.7 (Ubuntu)
  Vary: X-Auth-Token
  x-openstack-request-id: req-70c66170-271c-4e69-b5e6-67fa9ff91f59
  Content-Length: 115
  Content-Type: application/json
  Via: 1.1 shzintpr02.sh.intel.com
  Proxy-Connection: Keep-Alive
  Connection: Keep-Alive
  
  {"error": {"message": "create_service() takes exactly 3 arguments (2
  given)", "code": 400, "title": "Bad Request"}}

** Description changed:

  This bug is basically the same issue as the bug described here: https://bugs.launchpad.net/keystone/+bug/1466872.
- But this bug is expected to be a blanket bug as there are many entities/API has the same issue.
+ But this bug is expected to be a blanket bug as there are many entities/API have the same issue. Instead of filed a lot of bugs in the lp,let's take this as a blanket.
  
  example:
  dave@openstack-dev:~$ curl -g -i -X POST http://localhost:35357/v3/services -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 3ec87e90d60c4a318acf7b2bc6e55300"
  HTTP/1.1 400 Bad Request
  Date: Thu, 25 Jun 2015 03:37:52 GMT
  Server: Apache/2.4.7 (Ubuntu)
  Vary: X-Auth-Token
  x-openstack-request-id: req-70c66170-271c-4e69-b5e6-67fa9ff91f59
  Content-Length: 115
  Content-Type: application/json
  Via: 1.1 shzintpr02.sh.intel.com
  Proxy-Connection: Keep-Alive
  Connection: Keep-Alive
  
  {"error": {"message": "create_service() takes exactly 3 arguments (2
  given)", "code": 400, "title": "Bad Request"}}

** Description changed:

  This bug is basically the same issue as the bug described here: https://bugs.launchpad.net/keystone/+bug/1466872.
  But this bug is expected to be a blanket bug as there are many entities/API have the same issue. Instead of filed a lot of bugs in the lp,let's take this as a blanket.
  
- example:
+ Example:
  dave@openstack-dev:~$ curl -g -i -X POST http://localhost:35357/v3/services -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 3ec87e90d60c4a318acf7b2bc6e55300"
  HTTP/1.1 400 Bad Request
  Date: Thu, 25 Jun 2015 03:37:52 GMT
  Server: Apache/2.4.7 (Ubuntu)
  Vary: X-Auth-Token
  x-openstack-request-id: req-70c66170-271c-4e69-b5e6-67fa9ff91f59
  Content-Length: 115
  Content-Type: application/json
  Via: 1.1 shzintpr02.sh.intel.com
  Proxy-Connection: Keep-Alive
  Connection: Keep-Alive
  
  {"error": {"message": "create_service() takes exactly 3 arguments (2
  given)", "code": 400, "title": "Bad Request"}}

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1468597

Title:
  v3 - Ambiguous error when no request body is provided

Status in OpenStack Identity (Keystone):
  New

Bug description:
  This bug is basically the same issue as the bug described here: https://bugs.launchpad.net/keystone/+bug/1466872.
  But this bug is expected to be a blanket bug as there are many entities/API have the same issue. Instead of filed a lot of bugs in the lp,let's take this as a blanket.

  Example:
  dave@openstack-dev:~$ curl -g -i -X POST http://localhost:35357/v3/services -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 3ec87e90d60c4a318acf7b2bc6e55300"
  HTTP/1.1 400 Bad Request
  Date: Thu, 25 Jun 2015 03:37:52 GMT
  Server: Apache/2.4.7 (Ubuntu)
  Vary: X-Auth-Token
  x-openstack-request-id: req-70c66170-271c-4e69-b5e6-67fa9ff91f59
  Content-Length: 115
  Content-Type: application/json
  Via: 1.1 shzintpr02.sh.intel.com
  Proxy-Connection: Keep-Alive
  Connection: Keep-Alive

  {"error": {"message": "create_service() takes exactly 3 arguments (2
  given)", "code": 400, "title": "Bad Request"}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1468597/+subscriptions


Follow ups

References