--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/8f184b97-4a47-4df2-ac31-868281afa702%40googlegroups.com.
this is error message im getting now
{"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,\"{failed_connect,[{to_address,{\\"kubernetes.postgres.svc.cluster.local\\",443}},\n
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/c0c938da-879e-491c-9ebe-259f02f865eb%40googlegroups.com.
kubectl exec -ti busybox -- nslookup rabbitmq-op-developing
Server: 10.96.0.10
Address 1: 10.96.0.10 kube-dns.kube-system.svc.cluster.local
Name: rabbitmq-op-developing
Address 1: 10.106.38.198 rabbitmq-op-developing.default.svc.cluster.local"rabbitmq-op-developing" part is the service name and you should have the same value on:K8S_SERVICE_NAME = rabbitmq-op-developingName: "RABBITMQ_NODENAME",
Value: fmt.Sprintf("rabbit@%s.%s.%s.svc.cluster.local", "$(MY_POD_NAME)", "$(K8S_SERVICE_NAME)", "$(MY_POD_NAMESPACE)"),
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/c0c938da-879e-491c-9ebe-259f02f865eb%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/c8fb3001-a561-4179-9e9e-fcaeab963971%40googlegroups.com.
Hi,
We have deployed rabbitMQ as statefulsets method. 3 pods are running as below
rabbitmq-0 1/1 Running 0 11m rabbitmq-1 1/1 Running 0 10m rabbitmq-2 1/1 Running 0 10m
============================================
please find sample log below from one of POD
. 2019-12-18 01:59:43.451 [info] <0.33.0> Application rabbitmq_management started on node 'rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local' completed with 5 plugins. 2019-12-18 01:59:43.685 [info] <0.5.0> Server startup complete; 5 plugins started.
==============================================
My concern is each POD is showing cluster status. but other 2 pods is not listing in cluster status. for example i logged on POD rabbitmq-0 and i could see below status however other POD's rabbitmq-1 and 2 is not listing in cluster status. rabbitmq@rabbitmq-0:/$ rabbitmqctl cluster_status Cluster status of node rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local ... [{nodes,[{disc,['rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local']}]}, {running_nodes,['rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local']}, {cluster_name,<"rab...@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local">}, {partitions,[]}, {alarms,[{'rab...@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local',[]}]}] still we have any issue to join the nodes . can any one help me to understand this?
Hi,Thanks for your response.i have updated the ENV variable cluster_formation.k8s.host and cluster_formation.k8s.port with kubernetes end point(kubectl get ep) and port. now pod is up and running.like as belowcluster_formation.k8s.host = <ip address of kubernetes end point>==> will get it using kubectl get ep
cluster_formation.k8s.port = 6443cluster_formation.k8s.address_type = ipbut below cluster status showing on rabbitmq-0 POD only even though rabbitmq-1 and rabbitmq-2.===========================================================
kubectl exec $FIRST_POD rabbitmq-diagnostics cluster_status
Cluster status of node rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local ...
[{nodes,[{disc,['rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local']}]},
{running_nodes,['rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local']},
{cluster_name,<<"rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local">>},
{partitions,[]},
{alarms,[{'rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local',[]}]}]
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
Hi
on 2019/12/18 10:31, mohan m wrote:
> rabbitmq@rabbitmq-0:/$ rabbitmqctl cluster_status Cluster status of node
> rab...@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local ...
> [{nodes,[{disc,['rabbit@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local']}]},
> {running_nodes,['rabbit@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local']},
> {cluster_name,<"rabbit@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local"
> <mailto:%3C%22rabbit@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local%22>>}, {partitions,[]},
> {alarms,[{'rabbit@rabbitmq-0.rabbitmq.defaulf.svc
2019-12-17 09:16:05.987 [info] <0.215.0> Setting up a table for connection tracking on this node: 'tracked_connecti...@rabbitmq-0.rabbitmq.default.svc.cluster.local'2019-12-17 09:16:05.989 [info] <0.215.0> Setting up a table for per-vhost connection counting on this node: 'tracked_connection_pe...@rabbitmq-0.rabbitmq.default.svc.cluster.local'
2019-12-17 09:16:05.991 [info] <0.549.0> Peer discovery: enabling node cleanup (will only log warnings). Check interval: 30 seconds.2019-12-17 09:16:06.037 [info] <0.558.0> Management plugin: HTTP (non-TLS) listener started on port 156722019-12-17 09:16:06.037 [info] <0.664.0> Statistics database started.2019-12-17 09:16:06.216 [info] <0.8.0> Server startup complete; 5 plugins started.* rabbitmq_peer_discovery_k8s* rabbitmq_management* rabbitmq_web_dispatch* rabbitmq_peer_discovery_common* rabbitmq_management_agentcompleted with 5 plugins.
On Wednesday, 18 December 2019 08:06:15 UTC+5:30, Wesley Peng wrote:
Hi
on 2019/12/18 10:31, mohan m wrote:
> rabbitmq@rabbitmq-0:/$ rabbitmqctl cluster_status Cluster status of node
> rab...@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local ...
> [{nodes,[{disc,['rab...@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local']}]},
> {running_nodes,['rab...@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local']},
> {cluster_name,<"rab...@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local"
> <mailto:%3C%22ra...@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local%22>>}, {partitions,[]},
> {alarms,[{'rab...@rabbitmq-0.rabbitmq.defaulf.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.defaulf.svc>.cluster.local',[]}]}]
From info above, the cluster is not created successfully. Have you
followed the guide to do it?
https://www.rabbitmq.com/clustering.html
regards.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d47315c6-30c8-4dac-8de5-e3f868aea7de%40googlegroups.com.
There is a section on troubleshooting discovery [1].There's another message in one of the log snippets that says that a readiness probe has failed. The peer discovery plugin will only considernodes in Ready state (that is, their readiness probe succeeded) for clustering, the rest will be filtered out.I honestly don't think using curl and the extremely basic aliveness probe is necessary. Consider one of the basic health checks [2]and add more if you need them ([2] explains the methodology).
2019-12-17 09:16:05.987 [info] <0.215.0> Setting up a table for connection tracking on this node: 'tracked_connection_on_node_rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local'2019-12-17 09:16:05.989 [info] <0.215.0> Setting up a table for per-vhost connection counting on this node: 'tracked_connection_per_vhost_on_node_rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local'
2019-12-17 09:16:05.991 [info] <0.549.0> Peer discovery: enabling node cleanup (will only log warnings). Check interval: 30 seconds.2019-12-17 09:16:06.037 [info] <0.558.0> Management plugin: HTTP (non-TLS) listener started on port 156722019-12-17 09:16:06.037 [info] <0.664.0> Statistics database started.2019-12-17 09:16:06.216 [info] <0.8.0> Server startup complete; 5 plugins started.* rabbitmq_peer_discovery_k8s* rabbitmq_management* rabbitmq_web_dispatch* rabbitmq_peer_discovery_common* rabbitmq_management_agentcompleted with 5 plugins.
On Wednesday, 18 December 2019 08:06:15 UTC+5:30, Wesley Peng wrote:
Hi
on 2019/12/18 10:31, mohan m wrote:
> rabbitmq@rabbitmq-0:/$ rabbitmqctl cluster_status Cluster status of node
> rab...@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local ...
> [{nodes,[{disc,['rabbit@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local']}]},
> {running_nodes,['rabbit@rabbitmq-0.rabbitmq.default.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.default.svc>.cluster.local']},
> {cluster_name,<"rabbit@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local"
> <mailto:%3C%22rabbit@rabbitmq-0.rabbitmq.defaulf.svc.cluster.local%22>>}, {partitions,[]},
> {alarms,[{'rabbit@rabbitmq-0.rabbitmq.defaulf.svc
> <mailto:rab...@rabbitmq-0.rabbitmq.defaulf.svc>.cluster.local',[]}]}]
From info above, the cluster is not created successfully. Have you
followed the guide to do it?
https://www.rabbitmq.com/clustering.html
regards.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/d47315c6-30c8-4dac-8de5-e3f868aea7de%40googlegroups.com.