You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@backup1 ~]# z3 backup --full --dry-run
Traceback (most recent call last):
File "/usr/bin/z3", line 9, in <module>
load_entry_point('z3==0.1.14', 'console_scripts', 'z3')()
File "/usr/lib/python2.7/site-packages/z3/snap.py", line 562, in main
bucket = boto.connect_s3(s3_key_id, s3_secret, **extra_config).get_bucket(bucket)
File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 471, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 518, in head_bucket
response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 400 Bad Request
[root@backup1 ~]# export S3_USE_SIGV4="True"
[root@backup1 ~]# z3 backup --full --dry-run
Traceback (most recent call last):
File "/usr/bin/z3", line 9, in <module>
load_entry_point('z3==0.1.14', 'console_scripts', 'z3')()
File "/usr/lib/python2.7/site-packages/z3/snap.py", line 562, in main
bucket = boto.connect_s3(s3_key_id, s3_secret, **extra_config).get_bucket(bucket)
File "/usr/lib/python2.7/site-packages/boto/__init__.py", line 140, in connect_s3
return S3Connection(aws_access_key_id, aws_secret_access_key, **kwargs)
File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 196, in __init__
"When using SigV4, you must specify a 'host' parameter."
boto.s3.connection.HostRequiredError: BotoClientError: When using SigV4, you must specify a 'host' parameter.
EDIT: Actually, just setting HOST= in the [main] section of z3.conf fixes it, no .boto inifile or S3_USE_SIGV4 environment variable necessary. It's like it can't figure out the endpoint address of the bucket if it uses sigv4. And I can't get the s3-accelerate endpoint to work no matter what I try.
With a London bucket:
I believe you are suffering from this bug
boto/boto#2916
boto/boto#2741
The text was updated successfully, but these errors were encountered: