python attributeError 'SSLTimeoutError' after upgrade
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | pywbem (Ubuntu) |
Medium
|
Louis Bouchard | ||
| | Trusty |
Medium
|
Louis Bouchard | ||
| | Utopic |
Medium
|
Louis Bouchard | ||
| | Vivid |
Medium
|
Louis Bouchard | ||
Bug Description
Description: Ubuntu 14.04.2 LTS
I use use a nagios script called check_esxi_
After last uBuntu upgrade it stopped working giving the following error:
##########
Traceback (most recent call last):
File "/usr/lib/
instance_list = wbemclient.
File "/usr/lib/
**params)
File "/usr/lib/
no_verification = self.no_
File "/usr/lib/
h.endheaders()
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
except ( Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError
AttributeError: 'module' object has no attribute 'SSLTimeoutError'
############
- 'module' here refers to m2crypto. This look like an incompatibility between
the versions of python-m2crypto and python-pywbem.
- python-m2crypto did not exist before the upgrade
Here is the comparison of installed python packages, before and after the upgrade, and
$ diff python-
2d1
< ii libfile-
8d6
< rc libpython3.
19a18
> ii python-m2crypto 0.21.1-3ubuntu5 amd64 a crypto and SSL toolkit for Python
21d19
< ii python-newt 0.52.15-2ubuntu5 amd64 NEWT module for Python
27,28c25,26
< ii python-pywbem 0.7.0-4 all Python WBEM Client and Provider Interface
< ii python-requests 2.2.1-1ubuntu0.1 all elegant and simple HTTP library for Python, built for human beings
---
> ii python-pywbem 0.7.0-4ubuntu1~
> ii python-requests 2.2.1-1ubuntu0.2 all elegant and simple HTTP library for Python, built for human beings
51a50
> ii python3-newt 0.52.15-2ubuntu5 amd64 NEWT module for Python3
56,57d54
< rc python3.3 3.3.2-7ubuntu3.1 amd64 Interactive high-level object-oriented language (version 3.3)
< rc python3.3-minimal 3.3.2-7ubuntu3.1 amd64 Minimal subset of the Python language (version 3.3)
| affects: | python-defaults (Ubuntu) → pywbem (Ubuntu) |
| Brian Murray (brian-murray) wrote : | #2 |
Louis - Could you have a look at this since your did the SRU for pywbem?
| Changed in pywbem (Ubuntu): | |
| assignee: | nobody → Louis Bouchard (louis-bouchard) |
| tags: | added: regression-update trusty |
| Louis Bouchard (louis) wrote : | #3 |
ok, will do
| Louis Bouchard (louis) wrote : | #4 |
Also exists in Vivid as well as in Debian : https:/
| Changed in pywbem (Ubuntu Trusty): | |
| status: | New → Confirmed |
| Changed in pywbem (Ubuntu Utopic): | |
| status: | New → Confirmed |
| Changed in pywbem (Ubuntu Trusty): | |
| assignee: | nobody → Louis Bouchard (louis-bouchard) |
| Changed in pywbem (Ubuntu Utopic): | |
| assignee: | nobody → Louis Bouchard (louis-bouchard) |
| Louis Bouchard (louis) wrote : | #5 |
After looking thoroughly at the upstream code for m2crypto, it looks like this SSLTimeoutError exception never existed. I have pinged the upstream maintainer of M2Crypto go get confirmation.
Then I will get it fixed for all releases & will request a fix for debian as well.
| Changed in pywbem (Ubuntu): | |
| importance: | Undecided → Medium |
| Changed in pywbem (Ubuntu Trusty): | |
| importance: | Undecided → Medium |
| Changed in pywbem (Ubuntu Utopic): | |
| importance: | Undecided → Medium |
| Changed in pywbem (Ubuntu): | |
| status: | Confirmed → In Progress |
| Louis Bouchard (louis) wrote : | #6 |
I have submitted a fix to debian. Waiting to hear from the maintainer
| Claudio Kuenzler (napsty) wrote : | #7 |
I have released a new version of check_esxi_hardware which adds compatibility between the old/unpatched pywbem 0.7.0 and patched pywbem 0.7.0. Other distros (e.g. openSUSE) was also affected by it.
Please check it out on http://
However the whole pywbem upstream and Linux distro patching must be looked at separately and improved. For years now the same version (0.7.0) was used. Upstream seemed dead, came back in September 2014 and seems dead again. Distros started applying own patches without having an official upstream release etc. That's sad :-(
| Rolf Leggewie (r0lf) wrote : | #8 |
utopic has seen the end of its life and is no longer receiving any updates. Marking the utopic task for this ticket as "Won't Fix".
| Changed in pywbem (Ubuntu Utopic): | |
| status: | Confirmed → Won't Fix |


Status changed to 'Confirmed' because the bug affects multiple users.