arielb135 / RabbitMQ-with-istio-MTLS

RabbitMQ stateful deployment with istio service mesh, and with MTLS enabled.
The Unlicense
56 stars 8 forks source link

StatefulSets Peer Discovery #4

Open Yiadh opened 2 years ago

Yiadh commented 2 years ago

I have a RabbitMQ cluster running in Kubernetes, deployed using this helm chart. It works as expected without the Istio injection enabled. Unfortunately, the cluster crashes when the istio-injection is enabled. This is caused by the peer discovery failure during the startup process. I got the following error in the pod logs:

2022-06-23 12:39:59.907 [error] <0.249.0> CRASH REPORT Process <0.249.0> with 0 neighbours exited with reason: no match of right hand value {error,eacces} in rabbit_peer_discovery_k8s:make_request/0 line 110 in application_master:init/4 line 138

Please bear in mind that:

Version

$ istioctl version
client version: 1.14.0
control plane version: 1.14.0
data plane version: 1.14.0 (3 proxies)
$ kubectl version --short
Client Version: v1.21.5
Server Version: v1.22.4

Additional Information Analysis Report with the command istioctl bug-report

Error [IST0106] (ServiceEntry rabbitmq-istio-test/rabbitmq) Schema validation error: multiple hosts provided with non-HTTP, non-TLS ports