Open platomaniac opened 5 years ago
hello @platomaniac thank you for giving a try of using my stack files. Seems that it can be any network connectivity problem because I noticed timeout in your attached logs.
* Failed to join 10.0.2.12: dial tcp 10.0.2.12:8301: i/o timeout
So maybe that it is the case why cluster can be created. I would suggest disabling UFW and than starting from scratch once again. Make sure that your volumes are created also from scratch.
However, I've updated the repo with the latest stack files where consul is running as a separate stack.
You should expect the following output:
/ # consul members
Node Address Status Type Build Protocol DC Segment
3fc5fa01fde4 10.0.38.10:8301 alive server 1.5.3 2 dc1 <all>
483b7a6c600d 10.0.38.3:8301 alive server 1.5.3 2 dc1 <all>
8043b85f0081 10.0.38.4:8301 alive server 1.5.3 2 dc1 <all>
f8cc0f5388bb 10.0.38.5:8301 alive server 1.5.3 2 dc1 <all>
I am facing a problem when I adapted the stack file just a bit.
I consistently see that the consul replicas can not connect to the consul leader. What did I do wrong here? Is it because of the UFW firewall but I really doubt that. Any ideas will be really appreciated.
Traefik error
Traefik service gives this error:
My stack file (adapted from this repo)
Consul log (Leader)
Here is consul log:
Consul Replica log