Swift max header size too small
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi,
After enabling swift and follow the guide.
I have ann error
Error: Unable to get the Swift container listing via Horizon
via CLI
[root@controller01 ~]# openstack container list
Bad Request (HTTP 400) (Request-ID: tx0ec699f30c454
==> horizon.log <==
[Thu Jun 14 01:19:04.232688 2018] [:error] [pid 80] REQ: curl -i http://
[Thu Jun 14 01:19:04.232825 2018] [:error] [pid 80] RESP STATUS: 401 Unauthorized
[Thu Jun 14 01:19:04.233119 2018] [:error] [pid 80] RESP HEADERS: {u'Content-Length': u'114', u'WWW-Authentic
[Thu Jun 14 01:19:04.233413 2018] [:error] [pid 80] RESP BODY: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
[Thu Jun 14 01:19:04.245298 2018] [:error] [pid 81] REQ: curl -i http://
[Thu Jun 14 01:19:04.245414 2018] [:error] [pid 81] RESP STATUS: 400 Header Line Too Long
[Thu Jun 14 01:19:04.245680 2018] [:error] [pid 81] RESP HEADERS: {u'Date': u'Thu, 14 Jun 2018 05:19:04 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-
[Thu Jun 14 01:19:04.282315 2018] [:error] [pid 79] REQ: curl -i http://
[Thu Jun 14 01:19:04.282418 2018] [:error] [pid 79] RESP STATUS: 400 Header Line Too Long
[Thu Jun 14 01:19:04.282570 2018] [:error] [pid 79] RESP HEADERS: {u'Date': u'Thu, 14 Jun 2018 05:19:04 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-
Changed in kolla-ansible: | |
assignee: | nobody → Chason Chan (chen-xing) |
summary: |
- Swift + Swift max header size too small |
Changed in kolla-ansible: | |
assignee: | Chason Chan (chen-xing) → nobody |
status: | In Progress → Confirmed |
tags: | added: swift |
This is caused because keystone v3 tokens exceeds the max header size allowed in swift.
We need to add into swift.conf with a higher value than default (8192)
[swift-constraints] size=32768
max_header_
Regards