I recently joined an org that is running Consul v0.6.4 which brings on a host of issues. I’ve been tasked to upgrade Consul to the latest version and bring our Docker Swarm environment up to speed with Consul and Vault upgrades.
Upon upgrade to v1.5.3 I was able to get a 3 node cluster up and running and I can see all three members of the cluster have joined. Vault was able to connect and I can see the client as part of the consul members list. Other Docker containers however complain with:
Error connecting to Consul agent: dial tcp XX.XX.XX.XX:8400: getsockopt: connection refused
I noticed that the RPC Protocol was deprecated in v0.8 onwards and our applications might be looking to connect with RPC on port 8400. To resolve this would we have to upgrade the consul agent across all our applications causing an outage while we upgrade?
Is there a workaround to get this up and running quickly. We’re using smebberson/alpine-consul-nodejs (Docker hub) images for our node based apps and seems like we would have to rebuild (worst-case) with the latest images that are compatible with our consul v1.5.3 servers.