Public bug reported:

The program installed correctly and the service is running, bound to
127.0.0.1. I also set `auth-url` to
`https://auth.api.rackspacecloud.com/v1.0` in the default conf file. I
restarted the service to get these changes.

I can authenticate with my username and API key, and see an `sftp>`
prompt. Any attempt to navigate the remote filesystem fails, `ls`, `cd`,
etc.

The log shows these types of errors:

ERR [20161125-01:24:36.080] thr=3   paramiko: unexpected error: 
list_folder('/',) from ('127.0.0.1', 50266): request() got an unexpected 
keyword argument 'body'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sftpcloudfs/server.py", line 56, in 
wrapper
    rc = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/sftpcloudfs/server.py", line 92, in 
list_folder
    for leaf, stat in self.fs.listdir_with_stat(path) ]
  File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 102, in wrapper
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 750, in 
listdir_with_stat
    return [(unicode(name, 'utf-8)'), stat) for name, stat in 
self._listdir_cache.listdir_with_stat(path)]
  File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 522, in 
listdir_with_stat
    self.listdir(path)
  File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 499, in listdir
    self.listdir_root(cache)
  File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 472, in 
listdir_root
    _, objects = self.conn.get_account()
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1239, in 
get_account
    full_listing=full_listing)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1189, in 
_retry
    rv = func(self.url, self.token, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 423, in 
get_account
    conn.request(method, full_path, '', headers)
  File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 66, in 
request_x_forwarded_for
    fn(method, url, body=body, headers=headers)
TypeError: request() got an unexpected keyword argument 'body'

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: sftpcloudfs 0.12.2-1
ProcVersionSignature: Ubuntu 3.13.0-101.148-generic 3.13.11-ckt39
Uname: Linux 3.13.0-101-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Fri Nov 25 01:37:03 2016
PackageArchitecture: all
ProcEnviron:
 TERM=screen-256color
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 XDG_RUNTIME_DIR=<set>
SourcePackage: sftpcloudfs
UpgradeStatus: Upgraded to trusty on 2014-09-25 (791 days ago)

** Affects: sftpcloudfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Description changed:

- The program installed correctly and service is running, bound to
+ The program installed correctly and the service is running, bound to
  127.0.0.1. I also set `auth-url` to
  `https://auth.api.rackspacecloud.com/v1.0` in the default conf file. I
  restarted the service to get these changes.
  
- I can authenticate using my username and API key, and see an `sftp>`
- prompt. Any attempt to navigate the remote filesysem fail, `ls`, `cd`,
+ I can authenticate with my username and API key, and see an `sftp>`
+ prompt. Any attempt to navigate the remote filesystem fails, `ls`, `cd`,
  etc.
  
  The log shows these types of errors:
  
  ERR [20161125-01:24:36.080] thr=3   paramiko: unexpected error: 
list_folder('/',) from ('127.0.0.1', 50266): request() got an unexpected 
keyword argument 'body'
  Traceback (most recent call last):
-   File "/usr/lib/python2.7/dist-packages/sftpcloudfs/server.py", line 56, in 
wrapper
-     rc = func(*args, **kwargs)
-   File "/usr/lib/python2.7/dist-packages/sftpcloudfs/server.py", line 92, in 
list_folder
-     for leaf, stat in self.fs.listdir_with_stat(path) ]
-   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 102, in 
wrapper
-     return fn(*args, **kwargs)
-   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 750, in 
listdir_with_stat
-     return [(unicode(name, 'utf-8)'), stat) for name, stat in 
self._listdir_cache.listdir_with_stat(path)]
-   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 522, in 
listdir_with_stat
-     self.listdir(path)
-   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 499, in 
listdir
-     self.listdir_root(cache)
-   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 472, in 
listdir_root
-     _, objects = self.conn.get_account()
-   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1239, 
in get_account
-     full_listing=full_listing)
-   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1189, 
in _retry
-     rv = func(self.url, self.token, *args, **kwargs)
-   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 423, in 
get_account
-     conn.request(method, full_path, '', headers)
-   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 66, in 
request_x_forwarded_for
-     fn(method, url, body=body, headers=headers)
+   File "/usr/lib/python2.7/dist-packages/sftpcloudfs/server.py", line 56, in 
wrapper
+     rc = func(*args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/sftpcloudfs/server.py", line 92, in 
list_folder
+     for leaf, stat in self.fs.listdir_with_stat(path) ]
+   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 102, in 
wrapper
+     return fn(*args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 750, in 
listdir_with_stat
+     return [(unicode(name, 'utf-8)'), stat) for name, stat in 
self._listdir_cache.listdir_with_stat(path)]
+   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 522, in 
listdir_with_stat
+     self.listdir(path)
+   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 499, in 
listdir
+     self.listdir_root(cache)
+   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 472, in 
listdir_root
+     _, objects = self.conn.get_account()
+   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1239, 
in get_account
+     full_listing=full_listing)
+   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1189, 
in _retry
+     rv = func(self.url, self.token, *args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 423, in 
get_account
+     conn.request(method, full_path, '', headers)
+   File "/usr/lib/python2.7/dist-packages/ftpcloudfs/fs.py", line 66, in 
request_x_forwarded_for
+     fn(method, url, body=body, headers=headers)
  TypeError: request() got an unexpected keyword argument 'body'
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: sftpcloudfs 0.12.2-1
  ProcVersionSignature: Ubuntu 3.13.0-101.148-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-101-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.21
  Architecture: amd64
  Date: Fri Nov 25 01:37:03 2016
  PackageArchitecture: all
  ProcEnviron:
-  TERM=screen-256color
-  SHELL=/bin/bash
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  XDG_RUNTIME_DIR=<set>
+  TERM=screen-256color
+  SHELL=/bin/bash
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: sftpcloudfs
  UpgradeStatus: Upgraded to trusty on 2014-09-25 (791 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644682

Title:
  Can authenticate but unable to read remote filesytem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sftpcloudfs/+bug/1644682/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to