| Summary: | cannot find iscsi targets with ipv6, got "connection refused" error | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | yisun |
| Component: | targetcli | Assignee: | Andy Grover <agrover> |
| Status: | CLOSED NOTABUG | QA Contact: | Storage QE <storage-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-30 06:56:09 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: | |
|
Description
yisun
2016-03-30 02:46:34 UTC
Confirmed with dev, this is a default setting issue. So close this as Not A Bug <bgoncalv> okay, I see the problem <bgoncalv> targetcli by default enables only IPv4 portals <bgoncalv> you need to delete portal "0.0.0.0" and add "::0" <bgoncalv> this will enable connection from IPv4 and IPv6 addresses <yisun> so delete 0.0.0.0 won't effect ipv4, correct? <bgoncalv> it wont <yisun> where to delete the portal setting? or command line? <bgoncalv> targetcli /iscsi/iqn.2016-03.com.virttest:emulated-image.target/tpg1/portals delete 0.0.0.0 3260 <bgoncalv> should do it <bgoncalv> then: targetcli /iscsi/iqn.2016-03.com.virttest:emulated-image.target/tpg1/portals create ::0 <yisun> yes, it works! <bgoncalv> cool <yisun> thx for the guide <bgoncalv> np, can you update the BZ or should I do it? <yisun> I'll update and close it, thx <bgoncalv> yw |