Configure max_request_body_size

Bug #1835161 reported by Johan Guldmyr on 2019-07-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-aodh
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-barbican
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-cinder
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-glance
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-gnocchi
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-heat
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-ironic
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-keystone
Undecided
Johan Guldmyr
Train
Undecided
Johan Guldmyr
puppet-manila
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-mistral
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-neutron
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-nova
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-panko
Undecided
zhongshengping
Train
Undecided
zhongshengping
puppet-vitrage
Undecided
zhongshengping
Train
Undecided
zhongshengping

Bug Description

If I am HTTP PUT/PATCHing OS-Federation mapping rules to keystone that are larger than 114688 bytes I need to increase max_request_body_size under [oslo_middlware] or the client will receive a 413 Entity Too Large error.

puppet-keystone already allows setting enable_proxy_headers_parsing.

While looking through the puppet-* modules we use (nova, neutron, heat, glance, cinder) that call oslo::middleware none of them allow setting "max_request_body_size".

Perhaps I'm missing something?

This is a request to also allow setting the only other remaining setting from oslo::middlware which is max_request_body_size

Fix proposed to branch: master
Review: https://review.opendev.org/668812

Changed in puppet-keystone:
assignee: nobody → Johan Guldmyr (jguldmyr)
status: New → In Progress

Reviewed: https://review.opendev.org/668812
Committed: https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=a60980f3da715b5d4ac986ae515e5aed88b35b74
Submitter: Zuul
Branch: master

commit a60980f3da715b5d4ac986ae515e5aed88b35b74
Author: Johan Guldmyr <email address hidden>
Date: Wed Jul 3 09:52:44 2019 +0300

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached keystone will return a 413 Entity Too Large
    and not log anything to keystone.log.

    Closes-Bug: #1835161

    Change-Id: If9fc5c0bb5d6216b8656ee1673e1812c543de305
    Signed-off-by: Johan Guldmyr <email address hidden>

Changed in puppet-keystone:
status: In Progress → Fix Released
zhongshengping (chdzsp) on 2019-07-04
Changed in puppet-aodh:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-barbican:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-cinder:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-glance:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-gnocchi:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-heat:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-ironic:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-manila:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-mistral:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-neutron:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-nova:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-panko:
assignee: nobody → zhongshengping (chdzsp)
Changed in puppet-vitrage:
assignee: nobody → zhongshengping (chdzsp)

Fix proposed to branch: master
Review: https://review.opendev.org/669031

Changed in puppet-ironic:
status: New → In Progress
Changed in puppet-heat:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669032

Changed in puppet-mistral:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669034

Changed in puppet-manila:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669033

Changed in puppet-barbican:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669035

Changed in puppet-nova:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669036

Changed in puppet-aodh:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669038

Changed in puppet-glance:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669037

Changed in puppet-gnocchi:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669039

Changed in puppet-panko:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669040

Changed in puppet-neutron:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669042

Changed in puppet-vitrage:
status: New → In Progress

Fix proposed to branch: master
Review: https://review.opendev.org/669043

Changed in puppet-cinder:
status: New → In Progress

Reviewed: https://review.opendev.org/669033
Committed: https://git.openstack.org/cgit/openstack/puppet-manila/commit/?id=9fb1805e1b16e44bfa9402eaaf22aba2a4449bde
Submitter: Zuul
Branch: master

commit 9fb1805e1b16e44bfa9402eaaf22aba2a4449bde
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:43 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached manila will return a 413 Entity Too Large
    and not log anything to manila.log.

    Change-Id: I69a790df4774fa4010c356033b8a8167569321c1
    Closes-Bug: #1835161

Changed in puppet-manila:
status: In Progress → Fix Released
Changed in puppet-vitrage:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669043
Committed: https://git.openstack.org/cgit/openstack/puppet-vitrage/commit/?id=d6cc940b6762e9a9d2ae6b33fc6a191ead64c7de
Submitter: Zuul
Branch: master

commit d6cc940b6762e9a9d2ae6b33fc6a191ead64c7de
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:44 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached vitrage will return a 413 Entity Too Large
    and not log anything to vitrage.log.

    Change-Id: I93f10e095da309301bede49e2259e553618fbc04
    Closes-Bug: #1835161

Changed in puppet-gnocchi:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669039
Committed: https://git.openstack.org/cgit/openstack/puppet-gnocchi/commit/?id=9ae01ae5ee922206a1fe08a39e951b8f6632228b
Submitter: Zuul
Branch: master

commit 9ae01ae5ee922206a1fe08a39e951b8f6632228b
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:42 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached gnocchi will return a 413 Entity Too Large
    and not log anything to gnocchi.log.

    Change-Id: Icef45885a9089360bfb7cd414581c4b04809e4f7
    Closes-Bug: #1835161

Changed in puppet-aodh:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669038
Committed: https://git.openstack.org/cgit/openstack/puppet-aodh/commit/?id=31b4547b05ae38846a9874115d3e803944512c6c
Submitter: Zuul
Branch: master

commit 31b4547b05ae38846a9874115d3e803944512c6c
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:41 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached aodh will return a 413 Entity Too Large
    and not log anything to aodh.log.

    Change-Id: I3ce3523f00a88dece33657a583d661eea58e90a4
    Closes-Bug: #1835161

Changed in puppet-barbican:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669035
Committed: https://git.openstack.org/cgit/openstack/puppet-barbican/commit/?id=def436a021fe877d498d9152e2893d9a5d493865
Submitter: Zuul
Branch: master

commit def436a021fe877d498d9152e2893d9a5d493865
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:41 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached barbican will return a 413 Entity Too Large
    and not log anything to barbican.log.

    Change-Id: I2beb72f1ab37130eca340e691ca2dfd15cb5aa61
    Closes-Bug: #1835161

Changed in puppet-panko:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669040
Committed: https://git.openstack.org/cgit/openstack/puppet-panko/commit/?id=dfdb5f7d5370f24d77b25d5dd81040700aa4aeb2
Submitter: Zuul
Branch: master

commit dfdb5f7d5370f24d77b25d5dd81040700aa4aeb2
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:44 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached panko will return a 413 Entity Too Large
    and not log anything to panko.log.

    Change-Id: Ifc011b5a261b7dfd13edf606c8f3cc711ca53489
    Closes-Bug: #1835161

Reviewed: https://review.opendev.org/669034
Committed: https://git.openstack.org/cgit/openstack/puppet-mistral/commit/?id=8a28a993c98cbeb3328eadbb3c0b63e3e60e2e25
Submitter: Zuul
Branch: master

commit 8a28a993c98cbeb3328eadbb3c0b63e3e60e2e25
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:43 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached mistral will return a 413 Entity Too Large
    and not log anything to mistral.log.

    Change-Id: I3a658d4426689ba09188b0889082b63a744065fc
    Closes-Bug: #1835161

Changed in puppet-mistral:
status: In Progress → Fix Released
Changed in puppet-glance:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669037
Committed: https://git.openstack.org/cgit/openstack/puppet-glance/commit/?id=643f342304f6ed704202f065a9794e397d12e5b9
Submitter: Zuul
Branch: master

commit 643f342304f6ed704202f065a9794e397d12e5b9
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:42 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached glance will return a 413 Entity Too Large
    and not log anything to glance.log.

    Change-Id: If15f7cc9cef9a3bca855a3cd02068d45eedd171f
    Closes-Bug: #1835161

Reviewed: https://review.opendev.org/669032
Committed: https://git.openstack.org/cgit/openstack/puppet-heat/commit/?id=1d6872a85672eac87019dea95b8e8983ab4d0c22
Submitter: Zuul
Branch: master

commit 1d6872a85672eac87019dea95b8e8983ab4d0c22
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:43 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached heat will return a 413 Entity Too Large
    and not log anything to heat.log.

    Change-Id: I90f15091088db67e6d33ef6272e59de69c4fe601
    Closes-Bug: #1835161

Changed in puppet-heat:
status: In Progress → Fix Released
Changed in puppet-ironic:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669031
Committed: https://git.openstack.org/cgit/openstack/puppet-ironic/commit/?id=cd37458f67f33f8424fdb3bbeab2a4c58f915ad5
Submitter: Zuul
Branch: master

commit cd37458f67f33f8424fdb3bbeab2a4c58f915ad5
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:43 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached ironic will return a 413 Entity Too Large
    and not log anything to ironic.log.

    Change-Id: Icd4f0e41da2917ae9e0411ad774fe9b0bec2849f
    Closes-Bug: #1835161

Changed in puppet-neutron:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669036
Committed: https://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=bb4afe7d3d725334f0976de9c69c4a7d8be453b0
Submitter: Zuul
Branch: master

commit bb4afe7d3d725334f0976de9c69c4a7d8be453b0
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:44 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached nova will return a 413 Entity Too Large
    and not log anything to nova.log.

    Change-Id: I772046f81fe5570a68512c2607ca9cbf8b1fe8c7
    Closes-Bug: #1835161

Changed in puppet-nova:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669041
Committed: https://git.openstack.org/cgit/openstack/puppet-cinder/commit/?id=85b2b1ff67eeb6f8e977ed5a84b8e4748637b78a
Submitter: Zuul
Branch: master

commit 85b2b1ff67eeb6f8e977ed5a84b8e4748637b78a
Author: ZhongShengping <chdzsp@163.com>
Date: Thu Jul 4 11:34:42 2019 +0800

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached cinder will return a 413 Entity Too Large
    and not log anything to cinder.log.

    Change-Id: I4364ef41400ea6c66c843318119f24ef7c47434b
    Closes-Bug: #1835161

Changed in puppet-cinder:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/669044
Committed: https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=972ba8729dd3e0617eb74371fb72f546777fd3b2
Submitter: Zuul
Branch: stable/stein

commit 972ba8729dd3e0617eb74371fb72f546777fd3b2
Author: Johan Guldmyr <email address hidden>
Date: Wed Jul 3 09:52:44 2019 +0300

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached keystone will return a 413 Entity Too Large
    and not log anything to keystone.log.

    Closes-Bug: #1835161

    Change-Id: If9fc5c0bb5d6216b8656ee1673e1812c543de305
    Signed-off-by: Johan Guldmyr <email address hidden>
    (cherry picked from commit a60980f3da715b5d4ac986ae515e5aed88b35b74)

tags: added: in-stable-stein
tags: added: in-stable-queens

Reviewed: https://review.opendev.org/669046
Committed: https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=913c2431aba44bae8aa67e71dcb0a2645729d9ae
Submitter: Zuul
Branch: stable/queens

commit 913c2431aba44bae8aa67e71dcb0a2645729d9ae
Author: Johan Guldmyr <email address hidden>
Date: Wed Jul 3 09:52:44 2019 +0300

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached keystone will return a 413 Entity Too Large
    and not log anything to keystone.log.

    Closes-Bug: #1835161

    Change-Id: If9fc5c0bb5d6216b8656ee1673e1812c543de305
    Signed-off-by: Johan Guldmyr <email address hidden>
    (cherry picked from commit a60980f3da715b5d4ac986ae515e5aed88b35b74)

Reviewed: https://review.opendev.org/669045
Committed: https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=2586eaf55a873a2dfd9f0740eafa65aee424e46d
Submitter: Zuul
Branch: stable/rocky

commit 2586eaf55a873a2dfd9f0740eafa65aee424e46d
Author: Johan Guldmyr <email address hidden>
Date: Wed Jul 3 09:52:44 2019 +0300

    Manage oslo_middleware/max_request_body_size

    So that we can increase it from the default 114688

    Useful in case for example the OS-Federation mapping is too large.

    If this limit is breached keystone will return a 413 Entity Too Large
    and not log anything to keystone.log.

    Closes-Bug: #1835161

    Change-Id: If9fc5c0bb5d6216b8656ee1673e1812c543de305
    Signed-off-by: Johan Guldmyr <email address hidden>
    (cherry picked from commit a60980f3da715b5d4ac986ae515e5aed88b35b74)

tags: added: in-stable-rocky

This issue was fixed in the openstack/puppet-aodh 15.1.0 release.

This issue was fixed in the openstack/puppet-barbican 15.1.0 release.

This issue was fixed in the openstack/puppet-cinder 15.1.0 release.

This issue was fixed in the openstack/puppet-glance 15.1.0 release.

This issue was fixed in the openstack/puppet-gnocchi 15.1.0 release.

This issue was fixed in the openstack/puppet-heat 15.1.0 release.

This issue was fixed in the openstack/puppet-ironic 15.1.0 release.

This issue was fixed in the openstack/puppet-keystone 15.1.0 release.

This issue was fixed in the openstack/puppet-manila 15.1.0 release.

This issue was fixed in the openstack/puppet-mistral 15.1.0 release.

This issue was fixed in the openstack/puppet-neutron 15.1.0 release.

This issue was fixed in the openstack/puppet-nova 15.1.0 release.

This issue was fixed in the openstack/puppet-panko 15.1.0 release.

This issue was fixed in the openstack/puppet-vitrage 5.1.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers