ceph/qa/suites/rgw/multifs/tasks/rgw_user_quota.yaml
Soumya Koduri eb6eddbe8d Validate bucket names as per revised s3 spec
As per amazon s3 spec -
https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html

* The s3 bucket names should not contain upper case letters or underscore.
* Name cannot end with dash or have consecutive periods, or dashes adjacent
  to periods.
* Each label in the bucket name must start and end with a lowercase
  letter or a number.
* Name cannot exceed 63 characters.

This change is to enforce these rules if rgw_relaxed_s3_bucket_names is set to
'false' which is by default.

Fixes: https://tracker.ceph.com/issues/36293

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2019-08-08 16:54:12 +05:30

16 lines
263 B
YAML

# Amazon/S3.pm (cpan) not available as an rpm
os_type: ubuntu
tasks:
- install:
- ceph:
- rgw: [client.0]
- workunit:
clients:
client.0:
- rgw/s3_user_quota.pl
overrides:
ceph:
conf:
client:
rgw relaxed s3 bucket names: true