proliantutils does not work with urllib3 1.9.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
proliantutils |
New
|
Undecided
|
Unassigned |
Bug Description
When using self signed certificate on iLOs of HP Proliant Servers with urllib3, the following error is seen:
>>> from proliantutils.ilo import client
>>> ilo_client = client.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/stack/
self.model = self.ribcl.
File "/opt/stack/
'GET_
File "/opt/stack/
d = self._request_
File "/opt/stack/
raise exception.
proliantutils.
>>>
After updating the ribcl.py with the following code, it works.
import urllib2
import ssl
ctx = ssl.create_
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
urllib2.urlopen("https:/
I haven't looked into this yet, but just a quick question. Which version of proliantutils are you using ? We moved to requests library in ribcl and ris in 2.1.2.
https:/ /github. com/openstack/ proliantutils/ blob/master/ proliantutils/ ilo/ribcl. py#L114