Project

General

Profile

Actions

Bug #7544

closed

Bad File Descriptor from Paramiko

Added by Alfredo Deza about 10 years ago. Updated over 9 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

when teuthology is having issues attempting to get an address for a peer it fails with the following:

Traceback (most recent call last):
  File "/home/teuthworker/teuthology-firefly/teuthology/run_tasks.py", line 84, in run_tasks
    suppress = manager.__exit__(*exc_info)
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/teuthworker/teuthology-firefly/teuthology/task/internal.py", line 480, in syslog
    wait=False,
  File "/home/teuthworker/teuthology-firefly/teuthology/orchestra/cluster.py", line 61, in run
    return [remote.run(**kwargs) for remote in remotes]
  File "/home/teuthworker/teuthology-firefly/teuthology/orchestra/remote.py", line 106, in run
    r = self._runner(client=self.ssh, **kwargs)
  File "/home/teuthworker/teuthology-firefly/teuthology/orchestra/run.py", line 265, in run
    r = execute(client, args)
  File "/home/teuthworker/teuthology-firefly/teuthology/orchestra/run.py", line 77, in execute
    (host, port) = client.get_transport().getpeername()
  File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 1371, in getpeername
    return gp()
  File "<string>", line 1, in getpeername
  File "/usr/lib/python2.7/dist-packages/gevent/socket.py", line 268, in _dummy
    raise error(EBADF, 'Bad file descriptor')

It needs to better handle this case and report back nicely that it had issues trying to determine the IP of the peer.

Actions #1

Updated by Sage Weil over 9 years ago

  • Status changed from New to Can't reproduce
Actions

Also available in: Atom PDF