Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0.0-dp.7
-
None
-
None
-
1
-
SDK32
Description
When populating the node hostname from the cluster config the SDK is currently attempting to strip the port from the hostname. The logic to remove the port from the hostname causes an issue when the hostname is an IPv6 address as it will remove the last segment in the IPv6 address. With the last segment in the IPv6 removed the hostname becomes invalid and therefore the SDK cannot connect to the cluster.
Since the SDK reads the hostname from the `nodesExt` section of the config map, the port does not need to be stripped as it is not provided. Removing the port stripping logic will solve this issue.