2013-11-04 47 views
0

我正在用s3设置码头注册表。码头注册表由于无效桶名称而失败

的钥匙一样的东西:

s3_access_key: _env:AWS_KEY 
s3_secret_key: _env:AWS_SECRET 
s3_bucket: some-bucket-name 

然而,它没有忘记,每次说大写现在允许斗的名字。

File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 58, in check_lowercase_bucketname 
    raise BotoClientError("Bucket names cannot contain upper-case " \ 
BotoClientError: BotoClientError: Bucket names cannot contain upper-case characters when using either the sub-domain or virtual hosting calling format. 

任何想法?

回答

0

您还需要设置:

boto_bucket: some-bucket-name 

目前看来,也不要忘记设置

storage_path: <path in the bucket>