Bug 1737573 - ceph-iscsi: gwcli requests take minutes due to always trying ipv6
Summary: ceph-iscsi: gwcli requests take minutes due to always trying ipv6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: iSCSI
Version: 3.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z1
: 3.3
Assignee: Mike Christie
QA Contact: Madhavi Kasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-05 16:51 UTC by Mike Christie
Modified: 2019-10-22 13:29 UTC (History)
6 users (show)

Fixed In Version: ceph-iscsi-config-2.6-20.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 13:29:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-iscsi pull 129 0 None None None 2019-08-05 18:15:17 UTC
Red Hat Product Errata RHBA-2019:3173 0 None None None 2019-10-22 13:29:42 UTC

Description Mike Christie 2019-08-05 16:51:28 UTC
Description of problem:

When ipv6 was added we added a call:

socket.getaddrinfo(...socket.AF_INET6)

which waits for some timeout in some setups that are only configured for ipv4.

Instead we can use:

socket.getaddrinfo(addr, 0)

and then loop over the returned addrs for ipv4 and ipv6 ones.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 errata-xmlrpc 2019-10-22 13:29:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3173


Note You need to log in before you can comment on or make changes to this bug.