Project

General

Profile

Actions

Bug #36293

closed

InvalidBucketName expected in more cases: uppercase, adjacent chars, underscores

Added by Robin Johnson over 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
rgw, s3
Backport:
nautilus
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Reported for v12.2.8 Luminous here:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2018-October/030207.html

With rgw_relaxed_s3_bucket_names=false, the following bucket names are presently permitted by RGW and should be disallowed.

bucketname-UPPERCASE
bucketname-.adjacent-period-dot
bucketname.-adjacent-dot-period
bucketname_underscore

Note that AWS S3 has moved to stricter enforcement of bucket names for all regions as of 2018/03/01.
us-east-1 now disallows creation of a bucket unless it matches the strict naming requirements.
us-west-1 still allows access to an existing bucket that only matched the relaxed requirements.


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #46392: nautilus: InvalidBucketName expected in more cases: uppercase, adjacent chars, underscoresRejectedActions
Actions

Also available in: Atom PDF