← Back to team overview

registry team mailing list archive

[Bug 617788] Re: Cannot make EC2 API requests with empty arguments

 

** Description changed:

  EC2 API requests with empty arguments fail, because the signature check
  on the request fails.
  
- Each EC2 request must include a Signature header.  This is generated by
- the client using, amongst other things, a canonicalized list of the
- other headers in the request.  The specification states that parameters
- should be included "even if the parameter value is empty".
+ Each EC2 request must include a Signature parameter.  This is generated
+ by the client using, amongst other things, a canonicalized list of the
+ other parameters in the request.  The specification states that
+ parameters should be included "even if the parameter value is empty".
  
  http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html
  ?using-query-api.html
  
  Requests signed in this way with empty parameter values fail the
  signature check by Nova.  This is because Tornado is throwing away empty
  arguments.  In this thread, Bret Taylor states that this is a deliberate
  decision by Tornado.
  
  http://groups.google.com/group/python-
  tornado/browse_thread/thread/d4ec8d798f93c286/99049857d0a85f29?lnk=gst&q=How+does+Tornado+handle+blank+POST#99049857d0a85f29

-- 
Cannot make EC2 API requests with empty arguments
https://bugs.launchpad.net/bugs/617788
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



References