summaryrefslogtreecommitdiff
path: root/bugs/sftp-access-to-live-data-crashes.mdwn
blob: d2806c3c5798e9dcdbde0b67f41fde2a0d68f4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Mysterious logging errors with sftp access to live data.

    sftp-root and sftp-repo run on xander: mysterious logging errors
    Traceback (most recent call last):
      File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit
        msg = self.format(record)
      File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
        return fmt.format(record)
      File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
        record.message = record.getMessage()
      File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
        msg = msg % self.args
    TypeError: not enough arguments for format string

* happened with repo on localfs, live data on sftp (sftp2)
* running with both on localfs (sftp3): worked fine
* so there's something wrong, possibly in paramiko
* tried a script to transfer 140 gigs of data with paramiko, but this failed,
  the transfer speed is very slow (less than 1 MiB/s)

--liw

---

Removing 1.0 blocker tag: access to live data over sftp is limited enough
that it's not something I want to guarantee for 1.0. Fixing the limitations
may require patching paramiko or replacing it with another sftp 
implementation. --liw



---

I can't reproduce this with the current version of paramiko on Debian wheezy
(1.7.7.1-3.1) and the current obnam (1.3). [[done]] --liw