Bug 617957

Summary: deployUtil uses deprecated classes
Product: [Retired] oVirt Reporter: Dan Kenigsberg <danken>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: abaron, bazulay, hateya, iheim, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-12 10:31:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Kenigsberg 2010-07-25 09:35:06 UTC
Description of problem:
When running on RHEL6 (python 2.6) we get
 /tmp/deployUtil.py:508:
   DeprecationWarning: socket.ssl() is deprecated.  Use ssl.wrap_socket()
 instead.
 * ERROR - Installation of infra-vdsa.qa.lab.tlv.redhat.com. Error:
 /tmp/deployUtil.py:509:
   DeprecationWarning: FakeSocket is deprecated, and won't be in 3.x.  Use
 the result of
   ssl.wrap_socket() directly instead.

That's pretty harmless for the following 4 years, but not so pretty either.

Comment 1 Dan Kenigsberg 2010-08-01 19:17:49 UTC
We cannot just use ssl.wrap_socket(), as it is not available in python 2.4 which we still support. We could have conditioned the usage of ssl on its availability, but this complexity is a bit of an overkill for hiding a warning.

I suggest pushing this bug to a time where we no longer need to support RHEL5-based hosts.

Comment 2 Dan Kenigsberg 2013-03-12 10:31:57 UTC
with the move to otopi and ovirt-host-deploy, we are not going to fix deployUtil.