Utilize requests lib for Huawei storage connection
For the latest Python 2.7 release, urllib uses the SSL certification
while launching URL connection by default, which causes Huawei driver
failed to connect backend storage because it doesn't support SSL
certification.
This patch fixes this issue by updating Huawei driver logic to use
requests lib for Huawei storage connection, and specifying no use of
SSL certification.
Change-Id: Ia761819a352163176d353f61682cf47a1f429966
Closes-Bug: #1733451
(cherry picked from commit 683feaef9aa34f65e9ff7cfd93880d3b9e91e046)
Reviewed: https:/ /review. openstack. org/541253 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=1849ac3fa37 b8344f6662f68f0 ac01b4a90cd3fe
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 1849ac3fa37b834 4f6662f68f0ac01 b4a90cd3fe
Author: zengyingzhe <email address hidden>
Date: Fri Nov 10 14:27:25 2017 +0800
Utilize requests lib for Huawei storage connection
For the latest Python 2.7 release, urllib uses the SSL certification
while launching URL connection by default, which causes Huawei driver
failed to connect backend storage because it doesn't support SSL
certification.
This patch fixes this issue by updating Huawei driver logic to use
requests lib for Huawei storage connection, and specifying no use of
SSL certification.
Change-Id: Ia761819a352163 176d353f61682cf 47a1f429966 5e9ff7cfd93880d 3b9e91e046)
Closes-Bug: #1733451
(cherry picked from commit 683feaef9aa34f6