Comment 10 for bug 1213106

Revision history for this message
JPascal (eshurmin) wrote : Re: [Bug 1213106] Re: TypeError: an integer is required

I work with git usung tag 2013.2.b2, not master branch.
Looking at current keystone/common/utils.py,
https://github.com/openstack/keystone/blob/master/keystone/common/utils.py#L261
,
line 268 is not a read()... there's a read at line 293. Why would it be
so far off?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1213106

Title:
  TypeError: an integer is required

Status in OpenStack Identity (Keystone):
  New

Bug description:
  2013-08-16 13:20:10 ERROR [keystone.common.wsgi] an integer is required
  Traceback (most recent call last):
    File "/opt/keystone/keystone/common/wsgi.py", line 372, in __call__
      response = self.process_request(request)
    File "/opt/keystone/keystone/middleware/core.py", line 111, in
process_request
      params_json = request.body
    File "/usr/lib/python2.7/dist-packages/webob/request.py", line 677, in
_body__get
      self.make_body_seekable() # we need this to have content_length
    File "/usr/lib/python2.7/dist-packages/webob/request.py", line 922, in
make_body_seekable
      self.copy_body()
    File "/usr/lib/python2.7/dist-packages/webob/request.py", line 938, in
copy_body
      self.body = self.body_file_raw.read()
    File "/opt/keystone/keystone/common/utils.py", line 261, in read
      result = self.data.read(i)
  TypeError: an integer is required

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