Red Hat Bugzilla – Bug 617957
deployUtil uses deprecated classes
Last modified: 2013-03-12 06:31:57 EDT
Description of problem:
When running on RHEL6 (python 2.6) we get
DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket()
* ERROR - Installation of infra-vdsa.qa.lab.tlv.redhat.com. Error:
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.
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.
with the move to otopi and ovirt-host-deploy, we are not going to fix deployUtil.