Project

General

Profile

Bug #40063

newer testinfra versions must pass --ssh-config

Added by Alfredo Deza almost 5 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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 almost 5 years ago

  • Status changed from New to Fix Under Review

#2 Updated by Jan Fajerski over 4 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF