Project

General

Profile

Bug #40063

newer testinfra versions must pass --ssh-config

Added by Alfredo Deza 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Otherwise we end up with errors like:

self = <paramiko.client.SSHClient object at 0x7f81dedc4e10>, hostname = 'osd0'
port = 22

    def _families_and_addresses(self, hostname, port):
        """ 
        Yield pairs of address families and addresses to try for connecting.

        :param str hostname: the server to connect to
        :param int port: the server port to connect to
        :returns: Yields an iterable of ``(family, address)`` tuples
        """ 
        guess = True
        addrinfos = socket.getaddrinfo(
>           hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM
        )
E       gaierror: [Errno -2] Name or service not known

History

#1 Updated by Alfredo Deza 10 months ago

  • Status changed from New to Fix Under Review

#2 Updated by Jan Fajerski 7 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF