-
Notifications
You must be signed in to change notification settings - Fork 11
Needs more documentation or information please! #12
Comments
Thank you for your time. Team RabbitMQ uses GitHub issues for specific actionable items engineers can work on. This assumes two things:
We get at least a dozen of questions through various venues every single day, often quite light on details. Getting all the details necessary to reproduce an issue, make a conclusion or even form a hypothesis about what's happening can take a fair amount of time. Our team is multiple orders of magnitude smaller than the RabbitMQ community. Please help others help you by providing a way to reproduce the behavior you're
Feel free to edit out hostnames and other potentially sensitive information. When/if we have enough details and evidence we'd be happy to file a new issue. Thank you. |
The plugin is covered in the Cluster Formation and Peer Discovery guide. If something isn't clear there, please post your feedback to the mailing list. This plugin logs a reasonable amount of information at the info log level and a lot more (including HTTP requests it performs to EC2 APIs) at the debug level. |
This plugin is not meaningfully different from the AWS part of rabbitmq-autocluster. Just like rabbitmq-autocluster, it is not a replacement for understanding of how RabbitMQ clusters are formed (e.g. how nodes authenticate to each other or how to inspect cluster state). One important different from the original version of rabbitmq-autocluster is that this plugin will not reset the node on boot. This means that a node that previously started as a standalone one will not attempt to perform discovery, which is documented. If you see absolutely no log entries related to peer discovery at the info level, that's probably what's happening. See Clustering and CLI tools guides for related topics. |
and link to rabbitmq.conf.example. References rabbitmq/rabbitmq-peer-discovery-aws#12.
I added a rudimentary troubleshooting section to the cluster formation guide and some specific examples to the logging guide. The plan is to add some specific examples of what various log messages around peer discovery mean once I get a bit more time. |
Hey @michaelklishin I very much appreciate it. The issues I'm having is I have logging set to debug and do not see any ec2 api requests or anything other than
And only those showed up once I turned on:
Example of my rabbitmq.conf
DNS lookups work between nodes.
And it works fine. But I can't seem to get the AWS automatic discovery to work. Are there any specific tags that need to be added to the autoscaling group? Thanks again! |
That means the node is not a new one and it doesn't perform peer discovery. It considers itself to be a member of a cluster, confirming my hypothesis above. From the docs:
This is not a support forum, please move this to the list. |
I'm setting up a new cluster on AWS and trying to use the aws auto discovery module in 3.7.2.
I've setup the rabbitmq.conf with the information from the documentation:
I can see the backend starting in the logs:
Past that everything is a black box. None of my nodes seem to be joining each other and I have no logs describing any kind of behavior.
Are there commands I can run to test the cluster configuration? Is there a specific cluster log command like there was for autocluster?
Just needs more clarity on "how" to ensure the plugin is doing what it's supposed to.
Thanks!
The text was updated successfully, but these errors were encountered: