Project

General

Profile

Bug #39322

check SSH connections with 'true'

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

Description

There is a small utility function that checks connections that is not working with Python3 and Ubuntu Bionic:

        command = ['ssh', '-CT', '-o', 'BatchMode=yes', hostname]

This hangs, except when an actual command is used, like:

        command = ['ssh', '-CT', '-o', 'BatchMode=yes', hostname, 'true']

History

#1 Updated by Alfredo Deza almost 5 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF