Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
2.3.7
-
None
-
None
-
rhel6 machine configured with dual network stack (ipv4 and ipv6)
Description
How to repro:
1. setup /etc/resolv.conf with only ipv6 addresses. In this case we had:
nameserver 2620:119:5008:1001::106
|
2. use }}{{dnsSrvEnabled(true) when building the couchbase environment
First the client fails to resolve the dns-srv record:
2017/08/1811:46:01.163WARN [CouchbaseAsyncCluster] [qtp347978868-17] [sharin20] [wRRvPrP+uZ+udn56nbcg4g==] DNS SRV lookup failed, proceeding with normal bootstrap.
|
java.lang.NumberFormatException: For input string: "119:5008:1001::106"
|
|
then it falls back to non dns-srv behavior which fails:
2017/08/18 11:46:01.170 INFO [SeedNodesRequest] [qtp347978868-17] [sharin20] [wRRvPrP+uZ+udn56nbcg4g==] Unknown host HDD-2.in-couchbase.ei-ltx1.stg.linkedin.com in bootstrap list. java.net.UnknownHostException: HDD-2.in-couchbase.ei-ltx1.stg.linkedin.com: unknown error
|