[Bug 1278529] Re: Using S3, "BackendException: No connection to backend"
Kenneth Loafman
kenneth at loafman.com
Fri Oct 27 10:38:00 UTC 2017
Please upgrade to the current version of duplicity. This will assure that
any bugs fixed since your release are available and may fix your issue.
There are three options:
- Release tarball Install - https://launchpad.net/duplicity/+download
- Daily duplicity builds -
https://launchpad.net/~duplicity-team/+archive/ubuntu/daily
- Stable duplicity builds -
https://launchpad.net/~duplicity-team/+archive/ubuntu/ppa
On Thu, Oct 26, 2017 at 11:51 PM, Bug Watch Updater <
1278529 at bugs.launchpad.net> wrote:
> Launchpad has imported 8 comments from the remote bug at
> https://bugzilla.redhat.com/show_bug.cgi?id=1108947.
>
> If you reply to an imported comment from within Launchpad, your comment
> will be sent to the remote bug automatically. Read more about
> Launchpad's inter-bugtracker facilities at
> https://help.launchpad.net/InterBugTracking.
>
> ------------------------------------------------------------------------
> On 2014-06-12T23:55:15+00:00 Eric wrote:
>
> Description of problem: When using Duplicity I receive the error
> "BackendException: No connection to backend" when attempting to backup
> to Amazon S3.
>
>
> Version-Release number of selected component (if applicable):
> 0.6.24-2.fc20
>
> How reproducible: Always
>
>
> Steps to Reproduce:
> 1. Attempt to backup using Deja-Dup to Amazon S3
> 2.
> 3.
>
> Actual results:
> BackendException: No connection to backend
>
> Expected results:
> Backup occurs.
>
> Additional info:
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/28
>
> ------------------------------------------------------------------------
> On 2014-07-01T01:42:34+00:00 Dave wrote:
>
> On F19 I experienced the same behavior. I haven't tested exhaustively,
> but I believe I have it working by *both*:
>
> 1) creating ~/.boto per
> http://boto.readthedocs.org/en/latest/getting_started.html
>
> 2) manually creating the buckets I wanted to use for the backups
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/29
>
> ------------------------------------------------------------------------
> On 2014-07-04T15:35:04+00:00 David wrote:
>
> Experiencing the same issue here
>
> F19 x64 deja-dup-26.0-1.fc19.x86_64
>
> Dave Allan's workaround is functional; to findout the correct bucket
> it's trying to use however run:
>
> DEJA_DUP_DEBUG=1 deja-dup --backup
>
> Pay attention to the
>
> DUPLICITY: . Args: /usr/bin/duplicity collection-status line,
>
> --s3-use-new-style s3+http://deja-dup-auto-XXXXXXXXXXXX/YOUR_FOLDER
>
>
> DUPLICITY: INFO 1
> DUPLICITY: . Backend error detail: Traceback (most recent call last):
> DUPLICITY: . File "/usr/bin/duplicity", line 1502, in <module>
> DUPLICITY: . with_tempdir(main)
> DUPLICITY: . File "/usr/bin/duplicity", line 1496, in with_tempdir
> DUPLICITY: . fn()
> DUPLICITY: . File "/usr/bin/duplicity", line 1345, in main
> DUPLICITY: . do_backup(action)
> DUPLICITY: . File "/usr/bin/duplicity", line 1374, in do_backup
> DUPLICITY: . sync_archive(decrypt)
> DUPLICITY: . File "/usr/bin/duplicity", line 1104, in sync_archive
> DUPLICITY: . remlist = globals.backend.list()
> DUPLICITY: . File "/usr/lib64/python2.7/site-
> packages/duplicity/backend.py", line 429, in list
> DUPLICITY: . return map(tobytes, self._list())
> DUPLICITY: . File "/usr/lib64/python2.7/site-
> packages/duplicity/backends/_boto_single.py", line 297, in _list
> DUPLICITY: . raise BackendException("No connection to backend")
> DUPLICITY: . BackendException: No connection to backend
> DUPLICITY: .
>
> DUPLICITY: ERROR 23 BackendException
> DUPLICITY: . BackendException: No connection to backend
>
>
> 1) The error is miss leading the connection to s3 appears fine; this is
> instead the absense of a bucket being present (additional checking
> required).
> 2) deja _used_ to auto create buckets; but no longer does so (regression?)
> 3) From the gui you may specify the folder but not the bucket compounding
> the issue.
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/31
>
> ------------------------------------------------------------------------
> On 2014-07-04T15:59:09+00:00 David wrote:
>
> ok spoke too soon now seeing:
>
>
> DUPLICITY: WARNING 1
> DUPLICITY: . Upload 's3+http://deja-dup-auto-XXXXXXXXXX/YYYYYYYYYY/
> duplicity-full.20140704T155414Z.vol1.difftar.gpg' failed (attempt #2,
> reason: error: [Errno 104] Connection reset by peer)
>
> DUPLICITY: DEBUG 1
> DUPLICITY: . Backtrace of previous error: Traceback (innermost last):
> DUPLICITY: . File "/usr/lib64/python2.7/site-
> packages/duplicity/backends/_boto_single.py", line 248, in put
> DUPLICITY: . self.upload(source_path.name, key, headers)
> DUPLICITY: . File "/usr/lib64/python2.7/site-
> packages/duplicity/backends/_boto_single.py", line 365, in upload
> DUPLICITY: . num_cb=(max(2, 8 * globals.volsize / (1024 * 1024)))
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/s3/key.py",
> line 1315, in set_contents_from_filename
> DUPLICITY: . encrypt_key=encrypt_key)
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/s3/key.py",
> line 1246, in set_contents_from_file
> DUPLICITY: . chunked_transfer=chunked_transfer, size=size)
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/s3/key.py",
> line 725, in send_file
> DUPLICITY: . chunked_transfer=chunked_transfer, size=size)
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/s3/key.py",
> line 914, in _send_file_internal
> DUPLICITY: . query_args=query_args
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/s3/connection.py",
> line 633, in make_request
> DUPLICITY: . retry_handler=retry_handler
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/connection.py",
> line 1046, in make_request
> DUPLICITY: . retry_handler=retry_handler)
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/connection.py",
> line 919, in _mexe
> DUPLICITY: . request.body, request.headers)
> DUPLICITY: . File "/usr/lib/python2.7/site-packages/boto/s3/key.py",
> line 815, in sender
> DUPLICITY: . http_conn.send(chunk)
> DUPLICITY: . File "/usr/lib64/python2.7/httplib.py", line 805, in send
> DUPLICITY: . self.sock.sendall(data)
> DUPLICITY: . File "/usr/lib64/python2.7/ssl.py", line 229, in sendall
> DUPLICITY: . v = self.send(data[count:])
> DUPLICITY: . File "/usr/lib64/python2.7/ssl.py", line 198, in send
> DUPLICITY: . v = self._sslobj.write(data)
> DUPLICITY: . error: [Errno 104] Connection reset by peer
> DUPLICITY: .
>
> due to the url s3+http whilst attempting SSL write?
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/32
>
> ------------------------------------------------------------------------
> On 2015-02-26T20:53:38+00:00 Fedora wrote:
>
> This package has changed ownership in the Fedora Package Database.
> Reassigning to the new owner of this component.
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/42
>
> ------------------------------------------------------------------------
> On 2015-05-11T21:13:03+00:00 Michael wrote:
>
> According to the Launchpad bug this is fixed in 0.7.01, which is in
> rawhide but not F21 or F22. A backport or version update would be dandy.
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/44
>
> ------------------------------------------------------------------------
> On 2015-05-29T12:06:05+00:00 Fedora wrote:
>
> This message is a reminder that Fedora 20 is nearing its end of life.
> Approximately 4 (four) weeks from now Fedora will stop maintaining
> and issuing updates for Fedora 20. It is Fedora's policy to close all
> bug reports from releases that are no longer maintained. At that time
> this bug will be closed as EOL if it remains open with a Fedora 'version'
> of '20'.
>
> Package Maintainer: If you wish for this bug to remain open because you
> plan to fix it in a currently maintained version, simply change the
> 'version'
> to a later Fedora version.
>
> Thank you for reporting this issue and we are sorry that we were not
> able to fix it before Fedora 20 is end of life. If you would still like
> to see this bug fixed and are able to reproduce it against a later version
> of Fedora, you are encouraged change the 'version' to a later Fedora
> version prior this bug is closed as described in the policy above.
>
> Although we aim to fix as many bugs as possible during every release's
> lifetime, sometimes those efforts are overtaken by events. Often a
> more recent Fedora release includes newer upstream software that fixes
> bugs or makes them obsolete.
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/45
>
> ------------------------------------------------------------------------
> On 2015-06-29T21:05:54+00:00 Fedora wrote:
>
> Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
> no longer maintained, which means that it will not receive any further
> security or bug fix updates. As a result we are closing this bug.
>
> If you can reproduce this bug against a currently maintained version of
> Fedora please feel free to reopen this bug against that version. If you
> are unable to reopen this bug, please file a new report against the
> current release. If you experience problems, please add a comment to this
> bug.
>
> Thank you for reporting this bug and we are sorry it could not be fixed.
>
> Reply at: https://bugs.launchpad.net/duplicity/+bug/1278529/comments/46
>
>
> ** Changed in: fedora
> Status: Unknown => Won't Fix
>
> ** Changed in: fedora
> Importance: Unknown => Undecided
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1278529
>
> Title:
> Using S3, "BackendException: No connection to backend"
>
> Status in Duplicity:
> Fix Released
> Status in python-boto package in Ubuntu:
> Confirmed
> Status in Fedora:
> Won't Fix
>
> Bug description:
> Trying to backup on S3 traces back:
>
> /home/ubuntu# duplicity /tmp/pippo/ s3+http://s3backupvdstmpmongodumpxxx
> -v9
> Using archive dir: /root/.cache/duplicity/b9fbae4eed85b4af0e18b84be3a2e7
> ce
> Using backup name: b9fbae4eed85b4af0e18b84be3a2e7ce
> Import of duplicity.backends.swiftbackend Succeeded
> Import of duplicity.backends.gdocsbackend Succeeded
> Import of duplicity.backends.botobackend Succeeded
> Import of duplicity.backends.ftpbackend Succeeded
> Import of duplicity.backends.hsibackend Succeeded
> Import of duplicity.backends.localbackend Succeeded
> Import of duplicity.backends.ftpsbackend Succeeded
> Import of duplicity.backends.cfbackend Succeeded
> Import of duplicity.backends.tahoebackend Succeeded
> Import of duplicity.backends.rsyncbackend Succeeded
> Import of duplicity.backends.megabackend Succeeded
> Import of duplicity.backends.dpbxbackend Succeeded
> Import of duplicity.backends.webdavbackend Succeeded
> Import of duplicity.backends.u1backend Succeeded
> Import of duplicity.backends.imapbackend Succeeded
> Import of duplicity.backends.sshbackend Succeeded
> Main action: inc
> ============================================================
> ====================
> duplicity 0.6.23 (January 24, 2014)
> Args: /usr/bin/duplicity /tmp/pippo/ s3+http://
> s3backupvdstmpmongodumpxxx -v9
> Linux juju-obs-canonistack-machine-1 3.13.0-5-generic #20-Ubuntu SMP Mon
> Jan 20 19:56:38 UTC 2014 x86_64 x86_64
> /usr/bin/python 2.7.6 (default, Jan 12 2014, 08:16:39)
> [GCC 4.8.2]
> ============================================================
> ====================
> Using temporary directory /tmp/duplicity-FTJcEv-tempdir
> Registering (mkstemp) temporary file /tmp/duplicity-FTJcEv-tempdir/
> mkstemp-p3onX7-1
> Temp has 8320397312 available, backup will use approx 34078720.
> Releasing lockfile <lockfile.LinkFileLock instance at 0x15bff38>
> Removing still remembered temporary file /tmp/duplicity-FTJcEv-tempdir/
> mkstemp-p3onX7-1
> Backend error detail: Traceback (most recent call last):
> File "/usr/bin/duplicity", line 1489, in <module>
> with_tempdir(main)
> File "/usr/bin/duplicity", line 1483, in with_tempdir
> fn()
> File "/usr/bin/duplicity", line 1332, in main
> do_backup(action)
> File "/usr/bin/duplicity", line 1361, in do_backup
> sync_archive(decrypt)
> File "/usr/bin/duplicity", line 1094, in sync_archive
> remlist = globals.backend.list()
> File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line
> 429, in list
> return map(tobytes, self._list())
> File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py",
> line 270, in _list
> raise BackendException("No connection to backend")
> BackendException: No connection to backend
>
> BackendException: No connection to backend
>
> On the same machine, with the same parameter, python boto works
> perfectly.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1278529/+subscriptions
>
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/1278529
Title:
Using S3, "BackendException: No connection to backend"
Status in Duplicity:
Fix Released
Status in python-boto package in Ubuntu:
Confirmed
Status in Fedora:
Won't Fix
Bug description:
Trying to backup on S3 traces back:
/home/ubuntu# duplicity /tmp/pippo/ s3+http://s3backupvdstmpmongodumpxxx -v9
Using archive dir: /root/.cache/duplicity/b9fbae4eed85b4af0e18b84be3a2e7ce
Using backup name: b9fbae4eed85b4af0e18b84be3a2e7ce
Import of duplicity.backends.swiftbackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.ftpsbackend Succeeded
Import of duplicity.backends.cfbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.megabackend Succeeded
Import of duplicity.backends.dpbxbackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Import of duplicity.backends.u1backend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Main action: inc
================================================================================
duplicity 0.6.23 (January 24, 2014)
Args: /usr/bin/duplicity /tmp/pippo/ s3+http://s3backupvdstmpmongodumpxxx -v9
Linux juju-obs-canonistack-machine-1 3.13.0-5-generic #20-Ubuntu SMP Mon Jan 20 19:56:38 UTC 2014 x86_64 x86_64
/usr/bin/python 2.7.6 (default, Jan 12 2014, 08:16:39)
[GCC 4.8.2]
================================================================================
Using temporary directory /tmp/duplicity-FTJcEv-tempdir
Registering (mkstemp) temporary file /tmp/duplicity-FTJcEv-tempdir/mkstemp-p3onX7-1
Temp has 8320397312 available, backup will use approx 34078720.
Releasing lockfile <lockfile.LinkFileLock instance at 0x15bff38>
Removing still remembered temporary file /tmp/duplicity-FTJcEv-tempdir/mkstemp-p3onX7-1
Backend error detail: Traceback (most recent call last):
File "/usr/bin/duplicity", line 1489, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1483, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1332, in main
do_backup(action)
File "/usr/bin/duplicity", line 1361, in do_backup
sync_archive(decrypt)
File "/usr/bin/duplicity", line 1094, in sync_archive
remlist = globals.backend.list()
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 429, in list
return map(tobytes, self._list())
File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 270, in _list
raise BackendException("No connection to backend")
BackendException: No connection to backend
BackendException: No connection to backend
On the same machine, with the same parameter, python boto works
perfectly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1278529/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list