Beast frontend does not allow tuning of maximum backlog of pending connections

Bug #1867386 reported by Tiago Pasqualini da Silva
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Medium
Unassigned
Stein
Fix Released
Medium
Unassigned
Train
Fix Released
Medium
Unassigned
Ussuri
Fix Released
Medium
Unassigned
ceph (Ubuntu)
Fix Released
Medium
Unassigned
Disco
Won't Fix
Undecided
Unassigned
Eoan
Fix Released
Medium
Unassigned
Focal
Fix Released
Medium
Unassigned

Bug Description

[Impact]

Currently, RGW has no option to configure the maximum size for the queue of connections waiting to be accepted when using the Beast frontend. Instead, it uses the value from boost::asio::socket_base::max_connections.

[Test Case]

Add the 'max_connection_backlog' config option to the RGW beast frontend configuration and check that it is ignored and not used.

[Regression Potential]

This change has been reviewed upstream and have been passed through the usual upstream ceph QA tests.

[Other info]

This bug is similar to 1838109, which reports the same issue but for the civetweb frontend.

Ceph tracker bug: https://tracker.ceph.com/issues/43952
Upstream PRs:
https://github.com/ceph/ceph/pull/33053
https://github.com/ceph/ceph/pull/33340
https://github.com/ceph/ceph/pull/33341

CVE References

Revision history for this message
Tiago Pasqualini da Silva (tiago.pasqualini) wrote :
Revision history for this message
Tiago Pasqualini da Silva (tiago.pasqualini) wrote :
description: updated
Revision history for this message
Tiago Pasqualini da Silva (tiago.pasqualini) wrote :
tags: added: sts
tags: added: sts-sru-needed
James Page (james-page)
Changed in ceph (Ubuntu Disco):
status: New → Won't Fix
Revision history for this message
James Page (james-page) wrote :

Included in 15.2.0 so marking fix released for Focal.

Changed in ceph (Ubuntu Eoan):
status: New → Triaged
importance: Undecided → Medium
Changed in cloud-archive:
status: New → Triaged
Changed in ceph (Ubuntu Focal):
importance: Undecided → Medium
status: New → Triaged
Changed in cloud-archive:
importance: Undecided → Medium
Changed in ceph (Ubuntu Focal):
status: Triaged → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Tiago, or anyone else affected,

Accepted ceph into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ceph/14.2.9-0ubuntu0.19.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ceph (Ubuntu Eoan):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-eoan
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Tiago, or anyone else affected,

Accepted ceph into train-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:train-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-train-needed to verification-train-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-train-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-train-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Tiago, or anyone else affected,

Accepted ceph into stein-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:stein-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-stein-needed to verification-stein-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-stein-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-stein-needed
Revision history for this message
Tiago Pasqualini da Silva (tiago.pasqualini) wrote :

Hello all,

Just tested eoan-proposed. Will now start testing train and stein.

Thanks

tags: added: verification-done-eoan
removed: verification-needed-eoan
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 14.2.9-0ubuntu0.19.10.1

---------------
ceph (14.2.9-0ubuntu0.19.10.1) eoan; urgency=medium

  [ Tiago Pasqualini da Silva ]
  * d/p/bug1867386: Cherry pick change that adds new configuration
    option in RGW Beast frontend to allow tuning of maximum backlog
    of pending connections (LP: #1867386).

  [ James Page ]
  * New upstream point release (LP: #1878146) including fixes for:
    - CVE-2020-1759: Fixed nonce reuse in msgr V2 secure mode
    - CVE-2020-1760: Fixed XSS due to RGW GetObject header-splitting

 -- James Page <email address hidden> Thu, 21 May 2020 08:52:43 +0100

Changed in ceph (Ubuntu Eoan):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ceph has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Tiago Pasqualini da Silva (tiago.pasqualini) wrote :

Tested stein and train, all good.

Thanks

tags: added: verification-stein-done verification-train-done
removed: verification-stein-needed verification-train-needed
Revision history for this message
James Page (james-page) wrote :

The verification of the Stable Release Update for ceph has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
James Page (james-page) wrote :

This bug was fixed in the package ceph - 14.2.9-0ubuntu0.19.10.1~cloud0
---------------

 ceph (14.2.9-0ubuntu0.19.10.1~cloud0) bionic-train; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 ceph (14.2.9-0ubuntu0.19.10.1) eoan; urgency=medium
 .
   [ Tiago Pasqualini da Silva ]
   * d/p/bug1867386: Cherry pick change that adds new configuration
     option in RGW Beast frontend to allow tuning of maximum backlog
     of pending connections (LP: #1867386).
 .
   [ James Page ]
   * New upstream point release (LP: #1878146) including fixes for:
     - CVE-2020-1759: Fixed nonce reuse in msgr V2 secure mode
     - CVE-2020-1760: Fixed XSS due to RGW GetObject header-splitting

Revision history for this message
James Page (james-page) wrote :

The verification of the Stable Release Update for ceph has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
James Page (james-page) wrote :

This bug was fixed in the package ceph - 13.2.9-0ubuntu0.19.04.1~cloud0
---------------

 ceph (13.2.9-0ubuntu0.19.04.1~cloud0) bionic-stein; urgency=medium
 .
   * New upstream release (LP: #1879482) including change for new
     configuration option in RGW Beast frontend to allow tuning of
     maximum backport of pending connections (LP: #1867386):
     - d/p/bug1804261.patch: Drop, included upstream.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.