<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><div>Here's the config that is failing – there are a lot of substitution parameters as you can see, but the hostnames are explicit.</div><div><br></div><div>[</div><div> {rabbitmq_management,[</div><div> {load_definitions, "/etc/rabbitmq/rabbitmq_defs.json"}</div><div> ]},</div><div> {rabbitmq_shovel, [</div><div> {shovels, [</div><div> {feeds_in, [</div><div> {sources, [</div><div> {brokers, [</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_a/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_b/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_c/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_d/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_e/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_f/<META:product>.fabrik<META:environment_domain>.nytimes.com"</div><div> ]},</div><div> {declarations, [</div><div> {'queue.declare', [</div><div> {queue, <<"ha.<FABRIK:info.hostname>-<META:collection>-PULL">>},</div><div> {arguments, [{<<"x-expires">>, long, 3600000}]}</div><div> ]}, </div><div> {'queue.bind', [</div><div> {exchange, <<"<META:collection>">>}, </div><div> {queue, <<"ha.<FABRIK:info.hostname>-<META:collection>-PULL">>},</div><div> {routing_key, <<"#">>}</div><div> ]}</div><div> ]}</div><div> ]}, </div><div> {destinations, [</div><div> {broker, "amqp://<META:amqp_login>:<META:amqp_password>@/<META:product>.fabrik<META:environment_domain>.nytimes.com"}</div><div> ]}, </div><div> {queue, <<"ha.<FABRIK:info.hostname>-<META:collection>-PULL">>}</div><div> ]},</div><div> {postoffice_in, [</div><div> {sources, [</div><div> {brokers, [</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_a/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_b/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_c/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_d/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_e/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_f/<META:product>.fabrik<META:environment_domain>.nytimes.com"</div><div> ]},</div><div> {declarations, [</div><div> {'queue.declare', [</div><div> {queue, <<"ha.<FABRIK:info.hostname>-postoffice-PULL">>},</div><div> {arguments, [{<<"x-expires">>, long, 3600000}]}</div><div> ]}, </div><div> {'queue.bind', [</div><div> {exchange, <<"postoffice">>}, </div><div> {queue, <<"ha.<FABRIK:info.hostname>-postoffice-PULL">>},</div><div> {routing_key, <<"*.*.*.*.*.*.<OPTION:region>.<META:product>.*.<AWS:INSTANCE_ID>.*">>}</div><div> ]}</div><div> ]}</div><div> ]}, </div><div> {destinations, [</div><div> {broker, "amqp://<META:amqp_login>:<META:amqp_password>@/<META:product>.fabrik<META:environment_domain>.nytimes.com"}</div><div> ]}, </div><div> {queue, <<"ha.<FABRIK:info.hostname>-postoffice-PULL">>}</div><div> ]},</div><div> {postoffice_out, [</div><div> {sources, [</div><div> {broker, "amqp://<META:amqp_login>:<META:amqp_password>@/<META:product>.fabrik<META:environment_domain>.nytimes.com"}</div><div> ]}, </div><div> {destinations, [</div><div> {brokers, [</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_a/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_b/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_c/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_d/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_e/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_f/<META:product>.fabrik<META:environment_domain>.nytimes.com"</div><div> ]}</div><div> ]}, </div><div> {queue, <<"postoffice-PUSH">>}</div><div> ]},</div><div> {messagebus_in, [</div><div> {sources, [</div><div> {brokers, [</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_a/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_b/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_c/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_d/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_e/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_f/<META:product>.fabrik<META:environment_domain>.nytimes.com"</div><div> ]},</div><div> {declarations, [</div><div> {'queue.declare', [</div><div> {queue, <<"ha.<FABRIK:info.hostname>-messagebus-PULL">>},</div><div> {arguments, [{<<"x-expires">>, long, 3600000}]}</div><div> ]}, </div><div> {'queue.bind', [</div><div> {exchange, <<"messagebus">>}, </div><div> {queue, <<"ha.<FABRIK:info.hostname>-messagebus-PULL">>},</div><div> {routing_key, <<"#">>}</div><div> ]}</div><div> ]}</div><div> ]}, </div><div> {destinations, [</div><div> {broker, "amqp://<META:amqp_login>:<META:amqp_password>@/<META:product>.fabrik<META:environment_domain>.nytimes.com"}</div><div> ]}, </div><div> {queue, <<"ha.<FABRIK:info.hostname>-messagebus-PULL">>}</div><div> ]},</div><div> {messagebus_out, [</div><div> {sources, [</div><div> {broker, "amqp://<META:amqp_login>:<META:amqp_password>@/<META:product>.fabrik<META:environment_domain>.nytimes.com"}</div><div> ]}, </div><div> {destinations, [</div><div> {brokers, [</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_a/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_b/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_c/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_d/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_e/<META:product>.fabrik<META:environment_domain>.nytimes.com",</div><div> "amqp://<META:amqp_login>:<META:amqp_password>@fabrik_br_f/<META:product>.fabrik<META:environment_domain>.nytimes.com"</div><div> ]}</div><div> ]}, </div><div> {queue, <<"messagebus-PUSH">>}</div><div> ]}</div><div> ]}</div><div> ]}</div><div>].</div></div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Tim Watson <<a href="mailto:tim@rabbitmq.com">tim@rabbitmq.com</a>><br><span style="font-weight:bold">Reply-To: </span> rabbitmq <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>><br><span style="font-weight:bold">Date: </span> Friday, May 10, 2013 8:39 AM<br><span style="font-weight:bold">To: </span> rabbitmq <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>><br><span style="font-weight:bold">Subject: </span> Re: [rabbitmq-discuss] Shovel 3.1.0 - terminates on unknown_host        error instead of seeking another host<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi,
<div><br><div><div>On 10 May 2013, at 13:29, Laing, Michael P. wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><div>Previously the shovel would always find one of the actual instances, or remain in the 'starting' state.</div><div><br></div><div>Now the shovel terminates if a host is not found.</div><div><br></div><div>We can smarten up our configuration but that doesn't address the real problem: if a host has failed, we want the shovel to always seek another host and not terminate.</div><div><br></div></div></div></blockquote><br></div><div>Can you post your configuration (with scrubbed IP addresses if needed) please? This shouldn't happen, viz the shovel should attempt to reconnect. This could be a recurrence of <a href="http://rabbitmq.1065348.n5.nabble.com/Shovels-not-reconnecting-with-RabbitMQ-3-1-0-td26372.html">http://rabbitmq.1065348.n5.nabble.com/Shovels-not-reconnecting-with-RabbitMQ-3-1-0-td26372.html</a>,
but I'd like to take a peek at your config and make sure. We've fixed that bug (see the nightly build) and the fix will out in 3.1.1 shortly (ish).</div><div><br></div><div>Cheers,</div><div>Tim</div><br></div></div></div></span></body></html>