-
Notifications
You must be signed in to change notification settings - Fork 51
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
rabbitmq_user can't determine the version of RabbitMQ server #53
Comments
As an addition: When running the same task with ansible version 2.7.10 everything works like it should. |
Same here |
Environment: 1st pass workbook: 2nd pass workbook: (same workbook no changes and did not reset the target machine to initial state): Attempted fixes:
|
Forgot to attach the testserver01 Rabbitmq log. Testserver01 output:
queues:
RabbitMQ status:
|
Just figured out my issue. This essentially now changes the node name from: So within the rabbitmq_user module, the node option needs to change to match.
Suggestion: Also the silent fail on the 1st pass (when the node option is not specified) needs to be a failure. |
Fix problem with this issue ansible-collections/community.rabbitmq#53
Any update on this issue? I'm encountering exactly the same issue with up to date ansible version. Workaround with USE_LONGNAME and setting the node in playbook are not working. |
same issue. |
For me, adding |
In my case, the problem was that I specified the hostname in uppercase in the inventory. In the module I used the inventory_hostname variable - |
Thanks for your input @ZimnyakovRS @charnet1019 @marc-jan @walidsa3d @EugenFo - are any of you still experiencing issues with this module or have you found the issue/workaround? @tlb1galaxy thanks for your suggestions... I'm was just browsing and saw your suggestions. I might take a look at the code and see if anyone implemented or not. |
I started getting this error after having appended my hostname to
This had the effect that Setting the - community.rabbitmq.rabbitmq_user:
# …
node: "rabbit@{{ ansible_hostname }}" |
Is still here. |
same issue too, kolla-ansible 15.1.0, OpenStack master. |
Hi, have you found any solution? I have the same problem. I'm using |
SUMMARY
I'm trying to create rabbitmq users with the rabbitmq_user module, but this keeps failing with the error message:
Could not determine the version of the RabbitMQ server.
I'm using the Ansible version 2.10.3 and the Rabbitmq Cluster has the version 3.7.13 and Erlang version 21.3.
ISSUE TYPE
COMPONENT NAME
rabbitmq_user
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Host: Mint 19.2
Target: Debian 9 (Docker container)
STEPS TO REPRODUCE
First install the Rabbitmq and Erlang version listed above. Try to create or delete users with the rabbitmq_user module. This will result in a Could not determine the version of the RabbitMQ server. error.
However when you execute
rabbitmqctl status
on one node you will see the output which also contains the rabbitmq version.rabbitmqctl status
output:EXPECTED RESULTS
Users should be created or deleted.
ACTUAL RESULTS
See above.
The text was updated successfully, but these errors were encountered: