<div dir="ltr">Work fine for me too (using 3.1.0 via web UI)<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 5:29 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/05/13 03:01, Milos Gajdos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$ sudo rabbitmqctl set_policy -p my_vhost HA '^(?!amq.).*' '{"ha-mode":<br>
"all", "ha-sync-mode": "automatic"}'<br>
<br>
Setting policy "HA" for pattern "^(?!amq.).*" to "{\"ha-mode\": \"all\",<br>
\"ha-sync-mode\": \"automatic\"}" ...<br>
Error: Validation failed<br>
[{<<"ha-sync-mode">>,<<"<u></u>automatic">>}] are not recognised policy settings<br>
$<br>
<br>
I tried the same via management interface ie via WebUI but the result is<br>
the same.<br>
The version of rabbit I'm using is 3.1 but I noticed the same problem on 3.0<br>
Anyone knows how to get this working IF possible ?<br>
</blockquote>
<br>
The above works fine for me.<br>
<br>
ha-sync-mode is a new feature in 3.1. Are you sure you are running the latest broker version? Check with 'rabbitmqctl status'.<br>
<br>
Matthias.<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</blockquote></div><br></div>