Search code examples
dockerdocker-swarmdocker-swarm-modedocker-ucp

Docker Swarm: Calico node pod is unhealthy


Details:

OS: RHEL 7.4

uname -r: 3.10.0-693.el7.x86_64

Docker version

Client: Docker Enterprise Edition (EE) 2.0
 Version:       17.06.2-ee-10
 API version:   1.30
 Go version:    go1.8.7
 Git commit:    66261a0
 Built: Fri Apr 27 00:38:41 2018
 OS/Arch:       linux/amd64

Server: Docker Enterprise Edition (EE) 2.0
 Engine:
  Version:      17.06.2-ee-10
  API version:  1.30 (minimum version 1.12)
  Go version:   go1.8.7
  Git commit:   66261a0
  Built:        Fri Apr 27 00:40:03 2018
  OS/Arch:      linux/amd64
  Experimental: false

Error

Calico-node pod is unhealthy: %!s(<nil>)

I am trying to join a node to docker swarm cluster as a worker. But i'm getting the aformntioned error in health status check. As a result, the node is unable to join the swarm cluster.

The desired result must be successful node addition to the swarm cluster.

Regards Aditya


Solution

  • I was able to resolve the issue by cd to /proc/sys/net/ipv4/conf/all. If rp_filter is 2, then modify the value to 1 or 0. Once done, do :wq.

    Now the node must join the network without any issue.

    Regards

    KrisT