Bug 1468991

Summary: Connection exception when trying to connect to the vdsm client
Product: [oVirt] vdsm Reporter: Nelly Credi <ncredi>
Component: CoreAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.19.20CC: bugs, lsvaty, mperina, pkliczew, stirabos
Target Milestone: ovirt-4.1.4Keywords: AutomationBlocker, Regression
Target Release: 4.19.22Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.19.22 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-28 14:09:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nelly Credi 2017-07-10 08:04:43 UTC
Description of problem:
There is an connection exception when trying to connect to vdsm client 

Version-Release number of selected component (if applicable):
4.19.21

How reproducible:
100%

Steps to Reproduce:
1.execute on the hosts: python -c "from vdsm import client;client.connect('localhost', 54321,
use_tls=True)"
2.
3.

Actual results:
connect fails
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/vdsm/client.py", line 121, in connect
    raise ConnectionError(host, port, use_tls, timeout, e)
vdsm.client.ConnectionError: Connection to localhost:54321 with use_tls=True, timeout=60 failed: an integer is required

Expected results:
we should be able to connect

Additional info:

Comment 1 Lukas Svaty 2017-07-19 15:14:20 UTC
verified in vdsm-4.19.22-1.el7ev.x86_64

[root@moonmoon ~]$ python -c "from vdsm import client;client.connect('localhost', 54321, use_tls=True)"

ergo success