I’m having the same nxdomain issue on View creation in both 4.1.1 and 4.5beta.
Document related functions and XDCR appear to work fine.
For me, the issue only occurs when running inside Docker on CoreOS.
Running inside Docker on Ubuntu 15/16 or RHEL7 works fine.
Can anyone provide me with some more info on where the DNS lookup is being directed and what name is being looked up? Perhaps I can manually input an entry somewhere to workaround this issue. Or it may help me identify an issue with my routes or iptables forwarding rules.
Thanks in advance.
Below is a snippet from debug.log
[error_logger:info,2016-06-09T04:28:59.027Z,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
supervisor: {<0.2398.0>,docs_kv_sup}
started: [{pid,<11579.24025.0>},
{name,capi_set_view_manager},
{mfargs,
{capi_set_view_manager,start_link_remote,
['couchdb_ns_1@127.0.0.1',"default"]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
[error_logger:info,2016-06-09T04:28:59.032Z,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
supervisor: {<0.2398.0>,docs_kv_sup}
started: [{pid,<11579.24029.0>},
{name,couch_stats_reader},
{mfargs,
{couch_stats_reader,start_link_remote,
['couchdb_ns_1@127.0.0.1',"default"]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
[error_logger:error,2016-06-09T04:28:59.044Z,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================SUPERVISOR REPORT=========================
Supervisor: {<0.2398.0>,docs_kv_sup}
Context: child_terminated
Reason: **{error,{error,{dcp_socket_connect_failed,nxdomain}}}**
Offender: [{pid,<11579.24025.0>},
{name,capi_set_view_manager},
{mfargs,
{capi_set_view_manager,start_link_remote,
['couchdb_ns_1@127.0.0.1',"default"]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
[error_logger:error,2016-06-09T04:28:59.052Z,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================CRASH REPORT=========================
crasher:
initial call: misc:turn_into_gen_server/4
pid: <11579.24025.0>
registered_name: 'capi_set_view_manager-default'
exception throw: **{error,{error,{dcp_socket_connect_failed,nxdomain}}}**
in function couch_set_view:get_group_server/2 (/home/couchbase/jenkins/workspace/watson-unix/couchdb/src/couch_set_view/src/couch_set_view.erl, line 437)
in call from couch_set_view:define_group/4 (/home/couchbase/jenkins/workspace/watson-unix/couchdb/src/couch_set_view/src/couch_set_view.erl, line 143)
in call from timer:tc/3 (timer.erl, line 194)
in call from capi_set_view_manager:'-maybe_define_group/2-fun-1-'/3 (src/capi_set_view_manager.erl, line 305)
in call from capi_set_view_manager:maybe_define_group/2 (src/capi_set_view_manager.erl, line 305)
in call from capi_set_view_manager:'-init/1-lc$^0/1-0-'/2 (src/capi_set_view_manager.erl, line 182)
in call from capi_set_view_manager:init/1 (src/capi_set_view_manager.erl, line 182)
in call from misc:turn_into_gen_server/4 (src/misc.erl, line 665)
ancestors: [<0.2398.0>,'single_bucket_kv_sup-default',ns_bucket_sup,
ns_bucket_worker_sup,ns_server_sup,ns_server_nodes_sup,
<0.154.0>,ns_server_cluster_sup,<0.88.0>]
messages: []
links: [<0.2398.0>,<11579.24028.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 2586
stack_size: 27
reductions: 5148
neighbours: