TempAuth fails to instantiate when 'bind_port' is missing in config
Bug #800348 reported by
Joe Arnold
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
swift-proxy-server fails with:
Traceback (most recent call last):
File "/root/
})(FakeApp())
File "/root/
return TempAuth(app, conf)
File "/root/
self.
TypeError: cannot concatenate 'str' and 'int' objects
When using tempauth middleware and the bind_port isn't defined.
Related branches
lp:~joe-arnold/swift/bug800348
- gholt (community): Approve
- John Dickinson: Approve
-
Diff: 40 lines (+19/-1)2 files modifiedswift/common/middleware/tempauth.py (+1/-1)
test/unit/common/middleware/test_tempauth.py (+18/-0)
Changed in swift: | |
milestone: | none → 1.4.2 |
Changed in swift: | |
status: | New → Fix Committed |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.