Start duply v1.5.10, time is 2016-04-11 23:19:40.
Using profile '/root/.duply/cloud'.
Using installed duplicity version 0.7.07, python 2.7.6, gpg 1.4.16 (Home: ~/.gnupg), awk 'GNU Awk 4.0.1'.
Test - En/Decryption skipped. (GPG disabled)
--- Start running command STATUS at 23:19:41.142 ---
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1537, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1531, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1369, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1109, in ProcessCommandLine
globals.backend = backend.get_backend(args[0])
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 223, in get_backend
obj = get_backend_object(url_string)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 209, in get_backend_object
return factory(pu)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_multi.py", line 83, in __init__
BotoSingleBackend.__init__(self, parsed_url)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 161, in __init__
self.resetConnection()
File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 191, in resetConnection
self.bucket = self.conn.create_bucket(self.bucket_name)
File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 504, in create_bucket
response.status, response.reason, body)
S3ResponseError: S3ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>IllegalLocationConstraintException</Code><Message>The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.</Message><RequestId>XXXXXXXXX</RequestId><HostId>XXXXXXXXX</HostId></Error>
23:19:41.425 Task 'STATUS' failed with exit code '30'.
--- Finished state FAILED 'code 30' at 23:19:41.425 - Runtime 00:00:00.282 ---
Same problem here after 0.7.07 update. Tried the proposed patch but it doesn't seem to fix it when using EU buckets:
GPG_KEY='disabled' 's3://s3- eu-west- 1.amazonaws. com/my/ bucket' "$DUPL_ PARAMS --full- if-older- than $MAX_FULLBKP_AGE --s3-use- multiprocessing --volsize $VOLSIZE --tempdir /home/cache"
TARGET=
SOURCE='/'
MAX_AGE=1M
MAX_FULL_BACKUPS=2
MAX_FULLBKP_AGE=15D
VOLSIZE=250
DUPL_PARAMS=
VERBOSITY=5
------- ------- ------- ------- ------- ----
Start duply v1.5.10, time is 2016-04-11 23:19:40. .duply/ cloud'.
Using profile '/root/
Using installed duplicity version 0.7.07, python 2.7.6, gpg 1.4.16 (Home: ~/.gnupg), awk 'GNU Awk 4.0.1'.
Test - En/Decryption skipped. (GPG disabled)
--- Start running command STATUS at 23:19:41.142 --- duplicity" , line 1537, in <module> tempdir( main) duplicity" , line 1531, in with_tempdir duplicity" , line 1369, in main ProcessCommandL ine(sys. argv[1: ]) python2. 7/dist- packages/ duplicity/ commandline. py", line 1109, in ProcessCommandLine get_backend( args[0] ) python2. 7/dist- packages/ duplicity/ backend. py", line 223, in get_backend object( url_string) python2. 7/dist- packages/ duplicity/ backend. py", line 209, in get_backend_object python2. 7/dist- packages/ duplicity/ backends/ _boto_multi. py", line 83, in __init__ ackend. __init_ _(self, parsed_url) python2. 7/dist- packages/ duplicity/ backends/ _boto_single. py", line 161, in __init__ resetConnection () python2. 7/dist- packages/ duplicity/ backends/ _boto_single. py", line 191, in resetConnection create_ bucket( self.bucket_ name) python2. 7/dist- packages/ boto/s3/ connection. py", line 504, in create_bucket status, response.reason, body) <Code>IllegalLo cationConstrain tException< /Code>< Message> The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.</Message> <RequestId> XXXXXXXXX< /RequestId> <HostId> XXXXXXXXX< /HostId> </Error>
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
action = commandline.
File "/usr/lib/
globals.backend = backend.
File "/usr/lib/
obj = get_backend_
File "/usr/lib/
return factory(pu)
File "/usr/lib/
BotoSingleB
File "/usr/lib/
self.
File "/usr/lib/
self.bucket = self.conn.
File "/usr/lib/
response.
S3ResponseError: S3ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Error>
23:19:41.425 Task 'STATUS' failed with exit code '30'.
--- Finished state FAILED 'code 30' at 23:19:41.425 - Runtime 00:00:00.282 ---
------- ------- ------- ------- ------- ----