-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
VerneMQ cluster not working in Ipv6 only environment on Kubernetes #350
Comments
There's an open issue: vernemq/vernemq#1664 I'm not sure here whether your nodes still cluster. Can you access the status page on port 8888 for one of the nodes, and check whether it shows a full cluster? We need to find a way to fix the script issue. 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
@ioolkos Thanks for your response. So, I have two scenarios:
[rocky@ip-10-220-150-249 ~]$ kubectl logs vernemq-1 -n messaging
|
The reason is that the node tries to cluster automatically. And I don't see what's wrong with scenario 2. Any logs from the nodes? 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Note to self: find a way to inject EDIT: we can add 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Yeah I do have logs. Node 1: Node 2: $ kubectl logs vernemq-1 -n messaging |
There is no connectivity on the Erlang distribution level, judging from that log line. 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
@ioolkos Can you please tell me which endpoint this tries to connect to? I will verify if the connection is successful. As I said, this is an ipv6 only cluster where I had to change the listeners to get it to this point. |
I see, then all listeners are IPv6 but the Erlang distribution is not enabled for IPv6. For an idea on the ports involved (IPv4) see: https://docs.vernemq.com/vernemq-clustering/communication But in any case really need to enable IPv6 in the noderunner script (see my remark above); otherwise the join command will not work. 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
@ioolkos Does this mean that we will have to wait for vernemq/vernemq#1664 to be fixed first? Is there an expected release date for this so we can plan accordingly? Thanks for your help once again |
@avinakollu yes, that's the context. I count on having this fixed in the next release, but I have no ETA. 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
@avinakollu here's the PR that builds the nodetool/vmq-admin script dynamically to adapt for ipv4 or ipv6: vernemq/vernemq#2134 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Hi,
We have two environments where we are trying to deploy VerneMQ using the helm chart. One is dual stack and the other ipv6.
The dual stack environment works fine with the latest chart version. The issue however is the ipv6.
Firstly, vmq admin does not work and I see the same issue with vernemq ping.
Here is the same on the dual stack cluster:
I feel Im missing some listener for the ipv6 setup. But I have exhausted all my options. I have tried most of the things I could find. Please help me figure out what I might be missing.
I can provide more logs/configs if required.
The text was updated successfully, but these errors were encountered: