Bug 617957 - deployUtil uses deprecated classes
Summary: deployUtil uses deprecated classes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-25 09:35 UTC by Dan Kenigsberg
Modified: 2013-03-12 10:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-12 10:31:57 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.