Project

General

Profile

Bug #40872

rgw: when usring radosgw-admin to list bucket, can set --max-entries excessively high

Added by Eric Ivancich about 1 month ago. Updated 20 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
Start date:
07/22/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

When listing a bucket with radosgw-admin, the user can specify the
maximum number of entries. That number can be unreasonably large, and
can affect the performance and memory availability. For example:

radosgw-admin bucket list --bucket mybucket1 --max-entries=10000000

This has the potential for creating large data structures at multiple
levels in the the call stack of the radosgw(-admin) process,
potentially causing the process to run out of memory. This change
limits the maximum number of entries requested in all but the high
level code to help mitigate this issue.


Related issues

Copied to rgw - Backport #41102: nautilus: rgw: when usring radosgw-admin to list bucket, can set --max-entries excessively high In Progress
Copied to rgw - Backport #41103: mimic: rgw: when usring radosgw-admin to list bucket, can set --max-entries excessively high New
Copied to rgw - Backport #41104: luminous: rgw: when usring radosgw-admin to list bucket, can set --max-entries excessively high New

History

#1 Updated by Casey Bodley 28 days ago

  • Status changed from In Progress to Testing

#2 Updated by Eric Ivancich 20 days ago

  • Status changed from Testing to Pending Backport

#3 Updated by Patrick Donnelly 16 days ago

  • Copied to Backport #41102: nautilus: rgw: when usring radosgw-admin to list bucket, can set --max-entries excessively high added

#4 Updated by Patrick Donnelly 16 days ago

  • Copied to Backport #41103: mimic: rgw: when usring radosgw-admin to list bucket, can set --max-entries excessively high added

#5 Updated by Patrick Donnelly 16 days ago

  • Copied to Backport #41104: luminous: rgw: when usring radosgw-admin to list bucket, can set --max-entries excessively high added

Also available in: Atom PDF