Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Plugin policies are not imported on node boot: their keys are "not recognised policy settings" #39

Closed
ebuildy opened this issue Jul 1, 2020 · 4 comments

Comments

@ebuildy
Copy link

ebuildy commented Jul 1, 2020

We moved from 3.7 to 3.8.5, and got this error at startup:

"Validation failed\n\n[{<<\"shards-per-node\">>,1}] are not recognised policy settings

Our rabbitmq.definitions.json :

...
"policies": [
    {
      "vhost": "/",
      "name": "esx-shard",
      "pattern": "^esx$",
      "definition": {
        "shards-per-node": 1
      }
    },
...

This was working fine with RabbitMQ 3.7. Plugin is enabled.

@lukebakken
Copy link
Contributor

@michaelklishin
Copy link
Contributor

Duplicate of rabbitmq/rabbitmq-server#2384.

@michaelklishin
Copy link
Contributor

Another example: rabbitmq/rabbitmq-server#2381, all with the same root cause. Starting with 3.8.4 this has only become more visible (affected custom exchange plugins, for example), otherwise, the problem was not new and affected other plugins in 3.7.

@michaelklishin
Copy link
Contributor

Addressed in rabbitmq/rabbitmq-server#2384 which will ship in 3.8.6. Those on earlier versions can always import definitions after node startup.

@michaelklishin michaelklishin changed the title Policy definition not working from RabbitMQ 3.8 Plugin policies are not imported on node boot: their keys are "not recognised policy settings" Jul 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants