Public bug reported:
Seems like duplicity is invoked multiple times for a backup, with --dry-
run and whatnot. In the course of that, it does multiple calls to list
the contents of the backup folder. For a single incremental backup:
grep -c
"https://one.ubuntu.com/api/file_storage/v1/~/deja-dup/
Confirmed that this fixes the problem. When rewinding the file handle on
retry the subsequent PUT request *does* succeed.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/1161599
Title:
Actually it might be more obvious than it seems.
When the PUT request is done, an open file handle is passed as the
'body' argument to httplib2 request(). Since there was a timeout and
retry, the file handle was read from so the current position in the file
has moved. There's no seek() back to the
Looking at the way that httplib2 catches exceptions, if there's for
example a socket.timeout the conn object is not closed
(https://code.google.com/p/httplib2/source/browse/python2/httplib2/__init__.py#1257)
I suspect that might leave the conn object in a semi-broken state.
Since duplicity instant
We've managed to rule out an application error. Those '400 Bad Request'
are being returned by Apache, so we have great confidence than somehow a
malformed request is being sent, which Apache then rejects.
Here's a breakdown of Status 400 failures from the Apache logs over the
course of ~24h:
Pyth
Tested 22.0-0ubuntu4 on precise by enabling -proposed.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/1154920
Title:
Backup schedule should be spread over the day
Status in Déjà Dup
Seems to fix the problem as expected.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/1154920
Title:
Backup sche
7 matches
Mail list logo