Huawei driver failed to connect backend storage in latest python2.7 env

Bug #1733451 reported by Yingzhe Zeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Yingzhe Zeng

Bug Description

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.

Changed in manila:
assignee: nobody → Yingzhe Zeng (zengyingzhe)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/518843
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=683feaef9aa34f65e9ff7cfd93880d3b9e91e046
Submitter: Zuul
Branch: master

commit 683feaef9aa34f65e9ff7cfd93880d3b9e91e046
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: Ia761819a352163176d353f61682cf47a1f429966
    Closes-Bug: #1733451

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 6.0.0.0b2

This issue was fixed in the openstack/manila 6.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/541253

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/pike)

Reviewed: https://review.openstack.org/541253
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=1849ac3fa37b8344f6662f68f0ac01b4a90cd3fe
Submitter: Zuul
Branch: stable/pike

commit 1849ac3fa37b8344f6662f68f0ac01b4a90cd3fe
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: Ia761819a352163176d353f61682cf47a1f429966
    Closes-Bug: #1733451
    (cherry picked from commit 683feaef9aa34f65e9ff7cfd93880d3b9e91e046)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 5.0.2

This issue was fixed in the openstack/manila 5.0.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.