Open ezaton opened 4 years ago
Actually I don't get why we cannot use both IPv4 and IPv6 ... After all our systems can do like that, thus the resource should be able to cope with it.
I have suggested a patch (see here my pull request: https://github.com/ClusterLabs/resource-agents/pull/1427) which will ignore this directive if the portal is not defined for 0.0.0.0 (all interfaces). This way - the original behavior will not change, and if the cluster owner wants to make use of IPv6, then the portal IP defined should be v6 by nature in the "parent" resource iSCSITarget.
The following lines fail to start the agent when a custom target group portal exists:
As you can see - I am using two target portals, however - I do not attach to all existing network interfaces. This allows for a very precise control over the paths clients will use. The following block fails, however:
The script fails on start due to failure to delete the portal 0.0.0.0. We need to either modify the script to translate to IPv6 the existing IP addresses of all relevant portals, or to ignore this part entirely. I believe that IPv6 is hardly being used in iSCSI networks. What do you think about it?