Bug 1249107
Summary: | [targetcli] cannot discover iSCSI target with IPv6 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Martin Hoyer <mhoyer> | ||||||||
Component: | kernel | Assignee: | Andy Grover <agrover> | ||||||||
kernel sub component: | Kernel Target (LIO) | QA Contact: | Bruno Goncalves <bgoncalv> | ||||||||
Status: | CLOSED ERRATA | Docs Contact: | |||||||||
Severity: | unspecified | ||||||||||
Priority: | unspecified | CC: | agrover, bgoncalv, cleech, mhoyer | ||||||||
Version: | 7.2 | Keywords: | Regression | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | kernel-3.10.0-312.el7 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-11-19 23:02:25 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Martin Hoyer
2015-07-31 13:48:14 UTC
kernel-4.1.0-0.12.el7.aarch64 It is not only on aarch64, I've also reproduced it on 7.2 Alpha on x86_64 # iscsiadm -m discovery -I default -p ::1 -t st iscsiadm: Cannot resolve host [::1]. getaddrinfo error: [Name or service not known] iscsiadm: cannot resolve [::1] iscsiadm: failed to add default portal, ignoring target iqn.2009-10.com.redhat:storage-1 iscsiadm: failed to add target record iscsiadm: No portals found # uname -r 3.10.0-302.el7.x86_64 # targetcli-2.1.fb41-2.el7.noarch Setting it as Regression as it works well on kernel -300 and fails on -301, probably due BZ#1136558 Bruno or Martin, can you please attach your target config, '/etc/target/saveconfig.json'? Thanks. netstat -an output would also be great. Created attachment 1064684 [details]
Target config
Created attachment 1064685 [details]
netstat output
Reproduced and diagnosed. Thanks cleech! Working on a fix. Created attachment 1065059 [details]
proposed patch
works for me for :: and ::1 cases.
posted to target-devel. Patch(es) available on kernel-3.10.0-312.el7 Verified by running tests with kernel-3.10.0-312.el7 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://rhn.redhat.com/errata/RHSA-2015-2152.html |