<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello folks,
<div><br>
</div>
<div>I would like to configure olso.messaging to work with an HA Rabbit cluster and was curious about the correct configuration to use.</div>
<div><br>
</div>
<div>I am setting the following values in my private network:</div>
<div><br>
</div>
<div>
<div>ampq_durable_queues = True</div>
<div><span style="font-size: 10pt;">rabbit_userid=guest</span></div>
<div>rabbit_password=guest</div>
<div>rabbit_hosts=192.168.50.8:5672, 192.168.50.9:5672</div>
<div>rabbit_ha_queues = True</div>
<div>rabbit_port=5672</div>
<div>transport_url = rabbit://guest@192.168.50.8:5672,guest@192.168.50.9:5672/</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>...but when I try to remove the <span style="font-size: 10pt;">192.168.50.8 </span><span style="font-size: 10pt;">Rabbit node I get this error:</span></div>
<div><br>
</div>
<div>
<div>2013-12-20 16:12:18.014 24700 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on 192.168.50.8:5672 is unreachable: [Errno 113] No route to host. Trying again in 1 seconds.</div>
<div>2013-12-20 16:12:19.016 24700 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on 192.168.50.8:5672</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I was expecting the node at <span style="font-size: 10pt;">192.168.50.9 to be used if </span><span style="font-size: 10pt;">192.168.50.8 became unavailable.</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Another note is that it appears the transport_url configs are not utilized by the impl_rabbit.py module, hence setting the 'rabbit_hosts' separately. </span></div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>John</div>
<div><br>
</div>
</div>
</body>
</html>