Swift broken when headers exceed 8k
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alex Schultz | ||
puppet-swift |
Fix Released
|
Undecided
|
Matthew Mosesohn |
Bug Description
This is related to deployments that using PKI/PKIZ for tokens and have more than 1 region.
Due to token becomes large (> 8k) swift can't process such requests and breaks with:
EBUG:iso8601.
INFO:urllib3.
DEBUG:urllib3.
DEBUG:urllib3.
INFO:swiftclien
INFO:swiftclien
INFO:swiftclien
ERROR:swiftclie
Traceback (most recent call last):
File "/usr/lib/
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/lib/
http_
ClientException: Account HEAD failed: http://
Traceback (most recent call last):
File "/usr/bin/swift", line 10, in <module>
sys.
File "/usr/lib/
globals(
File "/usr/lib/
stat_result = swift.stat()
File "/usr/lib/
raise SwiftError('Account not found', exc=err)
swiftclient.
This can be fixed by adding to swift.conf:
[swift-constraints]
max_header_
And restarting services.
Changed in fuel: | |
milestone: | none → 7.0 |
assignee: | nobody → Fuel Library Team (fuel-library) |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: low-hanging-fruit |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Nikita Koshikov (nkoshikov) |
status: | Triaged → In Progress |
Changed in fuel: | |
assignee: | Nikita Koshikov (nkoshikov) → Matthew Mosesohn (raytrac3r) |
Changed in puppet-swift: | |
assignee: | nobody → Matthew Mosesohn (raytrac3r) |
status: | New → In Progress |
Changed in fuel: | |
assignee: | Matthew Mosesohn (raytrac3r) → Alex Schultz (alex-schultz) |
Changed in puppet-swift: | |
milestone: | none → 6.0.0 |
Changed in puppet-swift: | |
status: | Fix Committed → Fix Released |
Changed in fuel: | |
status: | In Progress → Fix Committed |
tags: | added: on-verification |
puppet-swift was resolved as part of https:/ /review. openstack. org/#/c/ 198057/