Comment 9 for bug 1568677

Revision history for this message
Marcos BL (marcosbl) wrote :

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'
TARGET='s3://s3-eu-west-1.amazonaws.com/my/bucket'
SOURCE='/'
MAX_AGE=1M
MAX_FULL_BACKUPS=2
MAX_FULLBKP_AGE=15D
VOLSIZE=250
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE --s3-use-multiprocessing --volsize $VOLSIZE --tempdir /home/cache"
VERBOSITY=5

---------------------------------------

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 ---

---------------------------------------