[rabbitmq-discuss] ha-sync-mode policy is NOT recognized
Matthias Radestock
matthias at rabbitmq.com
Wed May 8 06:29:01 BST 2013
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.
More information about the rabbitmq-discuss
mailing list