Bug 877897

Summary: ovirt-shell can't connect to engine when using pyphon 2.6 (httplib.HTTPSConnection source_address error)
Product: [Retired] oVirt Reporter: Andrey Gordeev <dreyou>
Component: ovirt-engine-sdkAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, dyasny, iheim, ykaul
Target Milestone: ---   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: 3.2.0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 893017 (view as bug list) Environment:
Last Closed: 2013-02-15 06:46:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 893017, 915537    

Description Andrey Gordeev 2012-11-19 08:05:46 UTC
Receive error when trying to connect to engine:

error: __init__() got an unexpected keyword argument 'source_address'

Found in versions 3.2.0.3 and 3.2.0.4

Discover that this happen because "ovirtsdk/web/httpsconnection.py" using Python 2.7 version of httplib.HTTPSConnection (with source_address parameter).

If remove source_address parameter from httplib.HTTPSConnection initialization, ovirt-shell works properly under python 2.6

Comment 1 Michael Pasternak 2012-11-21 09:48:19 UTC
http://gerrit.ovirt.org/#/c/9375/