Merge "s3: set maximum length for s3_bucket_prefix option" into stable/3.1

This commit is contained in:
Jenkins 2017-02-17 22:56:55 +00:00 committed by Gerrit Code Review
commit b1ef3f5946
2 changed files with 4 additions and 1 deletions

View File

@ -40,6 +40,9 @@ OPTS = [
default=os.getenv("AWS_SECRET_ACCESS_KEY"),
help='S3 secret access key'),
cfg.StrOpt('s3_bucket_prefix',
# Max bucket length is 63 and we use "-" as separator
# 63 - 1 - len(uuid) = 26
max_length=26,
default='gnocchi',
help='Prefix to namespace metric bucket.'),
]

View File

@ -1,7 +1,7 @@
pbr
numpy>=1.9.0
iso8601
oslo.config>=2.6.0
oslo.config>=2.7.0
oslo.log>=2.3.0
oslo.policy>=0.3.0
oslo.serialization>=1.4.0