socket.getaddrinfo can fail on some systems

Bug #1652371 reported by Claudiu Belu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-win
Fix Released
Medium
Claudiu Belu

Bug Description

On some systems, socket.getaddrinfo can fail if socket has been monkey patched by eventlet ("Exception during mounting [Errno 11001] No address found"). This method is used by os_win._utils.get_ips.

In order to prevent this, the unpatched socket module should be used instead.

Claudiu Belu (cbelu)
Changed in os-win:
importance: Undecided → Medium
assignee: nobody → Claudiu Belu (cbelu)
Changed in os-win:
status: New → In Progress
Revision history for this message
Claudiu Belu (cbelu) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-win (master)

Reviewed: https://review.openstack.org/414622
Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=131ddf2fd5eb381f326af36a993ccaa1da86d176
Submitter: Jenkins
Branch: master

commit 131ddf2fd5eb381f326af36a993ccaa1da86d176
Author: Claudiu Belu <email address hidden>
Date: Fri Dec 23 18:25:10 2016 +0200

    use unpatched socket module to get addresses

    The function os_win._utils.get_ips can fail on some
    environments if the socket module is monkey patched by
    eventlet. Using the unpatched module fixes the issue.

    Closes-Bug: #1652371

    Change-Id: Ib145f5b216d39d1e49231522f7d32d1ec2c63272

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

This issue was fixed in the openstack/os-win 1.3.0 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.