[rabbitmq-discuss] ha-sync-mode policy is NOT recognized

Brett Cameron brett.r.cameron at gmail.com
Wed May 8 06:32:11 BST 2013


Work fine for me too (using 3.1.0 via web UI)



On Wed, May 8, 2013 at 5:29 PM, Matthias Radestock <matthias at rabbitmq.com>wrote:

> On 08/05/13 03:01, Milos Gajdos wrote:
>
>> $ sudo rabbitmqctl set_policy -p my_vhost HA '^(?!amq.).*' '{"ha-mode":
>> "all", "ha-sync-mode": "automatic"}'
>>
>> Setting policy "HA" for pattern "^(?!amq.).*" to "{\"ha-mode\": \"all\",
>> \"ha-sync-mode\": \"automatic\"}" ...
>> Error: Validation failed
>> [{<<"ha-sync-mode">>,<<"**automatic">>}] are not recognised policy
>> settings
>> $
>>
>> I tried the same via management interface ie via WebUI but the result is
>> the same.
>> The version of rabbit I'm using is 3.1 but I noticed the same problem on
>> 3.0
>> Anyone knows how to get this working IF possible ?
>>
>
> The above works fine for me.
>
> ha-sync-mode is a new feature in 3.1. Are you sure you are running the
> latest broker version? Check with 'rabbitmqctl status'.
>
> Matthias.
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130508/a1515198/attachment.htm>


More information about the rabbitmq-discuss mailing list