Package: python-paramiko
Version: 1.15.1-1
Severity: important
Tags: upstream

Dear Maintainer,

while using backupninja I noticed that backups were not completed
after the Update to Debian Jessie.

Errors from backupninja were like this:

Info: Duplicity cleanup finished successfully.
Info: Duplicity remove-older-than finished successfully.
Error: Local and Remote metadata are synchronized, no sync needed.
Error: Last full backup date: Thu Jun 25 04:00:40 2015
Error: sftp put of /tmp/duplicity-vAZYna-tempdir/mktemp-ORQJPa-3 (as
duplicity-inc.20150630T020041Z.to.20150701T020107Z.vol1.difftar.gpg)
failed: (Try 1 of 5) Will retry in 10 seconds.
Error: sftp put of /tmp/duplicity-vAZYna-tempdir/mktemp-ORQJPa-3 (as
duplicity-inc.20150630T020041Z.to.20150701T020107Z.vol1.difftar.gpg)
failed: Socket is closed (Try 2 of 5) Will retry in 10 seconds.
Error: sftp put of /tmp/duplicity-vAZYna-tempdir/mktemp-ORQJPa-3 (as
duplicity-inc.20150630T020041Z.to.20150701T020107Z.vol1.difftar.gpg)
failed: Socket is closed (Try 3 of 5) Will retry in 10 seconds.
Error: sftp put of /tmp/duplicity-vAZYna-tempdir/mktemp-ORQJPa-3 (as
duplicity-inc.20150630T020041Z.to.20150701T020107Z.vol1.difftar.gpg)
failed: Socket is closed (Try 4 of 5) Will retry in 10 seconds.
Error: sftp put of /tmp/duplicity-vAZYna-tempdir/mktemp-ORQJPa-3 (as
duplicity-inc.20150630T020041Z.to.20150701T020107Z.vol1.difftar.gpg)
failed: Socket is closed (Try 5 of 5) Will retry in 10 seconds.
Error: BackendException: Giving up trying to upload
'duplicity-inc.20150630T020041Z.to.20150701T020107Z.vol1.difftar.gpg'
after 5 attempts
Fatal: Duplicity failed.


Debugging this further revealed that the problem is with the sftp
Backend in duplicity which is provided by paramiko. Debugging further
lead to these debug entries from paramiko:

ssh: [chan 1] 
stat('/duplicity/duplicity-full-signatures.20150625T020040Z.sigtar.gpg')
ssh: [chan 1] 
open('/duplicity/duplicity-full-signatures.20150625T020040Z.sigtar.gpg', 'rb')
ssh: [chan 1] 
open('/duplicity/duplicity-full-signatures.20150625T020040Z.sigtar.gpg', 'rb') 
-> 62366531326533303130316132346633
ssh: [chan 1] 
stat('/duplicity/duplicity-full-signatures.20150625T020040Z.sigtar.gpg')
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
ssh: Sending global request "keepal...@lag.net"
^C^C

It hangs at this point until it times out.

This issue was reported / is discussed upstream at
https://github.com/paramiko/paramiko/issues/331

-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.1 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-paramiko depends on:
ii  python-crypto  2.6.1-5+b2
ii  python-ecdsa   0.11-1
pn  python:any     <none>

python-paramiko recommends no packages.

python-paramiko suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to