-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Definitions import of bad json goes unnoticed #2610
Comments
To clarify, this happened using the 3.8.2-1.el7 RPM on CentOS 7. Also I noticed that normally there's a specific sequence of log messages produced during the import:
When the file is bad, this list of log messages stops but the node keeps starting up:
|
encountered this today as well, had json that worked fine in the 3.10 release, but because the json serializer changed in 3.11, the import failed suddenly. There was a comma at the end of a value that shouldn't be there... Would be nice to have a log message! |
To reproduce:
definitions-bad.json
: definitions-bad.json.txtrabbitmq.conf
:Observed: RabbitMQ starts fine, nothing is logged to indicate the invalid JSON in that file.
Expected: log message(s) indicating bad JSON
Loading invalid definitions without using
rabbitmq_management
inmaster
prevents RabbitMQ from starting.The text was updated successfully, but these errors were encountered: