Object controller accidentally overwrites headers list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Not sure how we haven't seen this before, but
ERROR Unhandled exception in request:
Traceback (most recent call last):
File ".../swift/
return handler(req)
File ".../swift/
return func(*a, **kw)
File ".../swift/
return self.GETorHEAD(req)
File ".../swift/
resp = self._get_
File ".../swift/
headers.
AttributeError: 'HeaderKeyDict' object has no attribute 'extend'
The trouble is a few lines earlier: https:/
This came in with https:/
Reviewed: https:/ /review. opendev. org/723736 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=4c8512afb16 c831f9d58b58457 aa9b2adfda88df
Committed: https:/
Submitter: Zuul
Branch: master
commit 4c8512afb16c831 f9d58b58457aa9b 2adfda88df
Author: Tim Burke <email address hidden>
Date: Mon Apr 27 14:04:51 2020 -0700
Use separate name for HeaderKeyDict var vs list of response headers
Closes-Bug: #1875538 29f6978f7380bf7 293aa1ca65e 948f01bc50aa8a6 1974ce189fb
Change-Id: I1bcef611575943
Related-Change: Ia832e9bab13167