moby: Unable to Join a Docker Swarm
Description
Steps to reproduce the issue: 1.run: docker swarm init --advertise-addr “MANAGER-IP” on Manager Node. 2.run: docker swarm join-token worker to show the join command 3.On Another node(Worker), run the join command
Describe the results you received: Error response from daemon: remote CA does not match fingerprint. Expected: e90670e77a50fdc77f3169ff0b1d314a3d4954baff73947f73c754fbe9c695a8
Describe the results you expected: This node joined a swarm as a worker.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
**Manager Node**
Client:
Version: 1.13.0
API version: 1.25
Go version: go1.7.3
Git commit: 49bf474
Built: Tue Jan 17 09:55:28 2017
OS/Arch: linux/amd64
Server:
Version: 1.13.0
API version: 1.25 (minimum version 1.12)
Go version: go1.7.3
Git commit: 49bf474
Built: Tue Jan 17 09:55:28 2017
OS/Arch: linux/amd64
Experimental: false
**Worker Node**
Client:
Version: 1.13.0
API version: 1.25
Go version: go1.7.3
Git commit: 49bf474
Built: Tue Jan 17 09:55:28 2017
OS/Arch: linux/amd64
Server:
Version: 1.13.0
API version: 1.25 (minimum version 1.12)
Go version: go1.7.3
Git commit: 49bf474
Built: Tue Jan 17 09:55:28 2017
OS/Arch: linux/amd64
Experimental: false
Output of docker info:
**Manager Node**
Containers: 10
Running: 1
Paused: 0
Stopped: 9
Images: 324
Server Version: 1.13.0
Storage Driver: devicemapper
Pool Name: docker-8:16-3932275-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 16.17 GB
Data Space Total: 107.4 GB
Data Space Available: 31.8 GB
Metadata Space Used: 20.97 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.127 GB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /u01/HomeDir/hadoop/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
Metadata loop file: /u01/HomeDir/hadoop/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.135-RHEL7 (2016-11-16)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: active
NodeID: onz791qlievuu3ud697qq7a0y
Is Manager: true
ClusterID: trz1fzwdo00mlb7aec31nk4u5
Managers: 1
Nodes: 1
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 3
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Node Address: 172.18.228.235
Manager Addresses:
172.18.228.235:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 2f7393a47307a16f8cee44a37b262e8b81021e3e
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-327.36.1.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.3 (Maipo)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 5.829 GiB
Name: mydomain
ID: UXEJ:VUXY:BUDI:7X7Q:GJUS:YLFM:E6Q3:FYLI:BV5P:HJHO:7IUV:5BWC
Docker Root Dir: /u01/HomeDir/hadoop/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: http://myproxy.com/
Username: kalaga20
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
**Worker Node**
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 4
Server Version: 1.13.0
Storage Driver: devicemapper
Pool Name: docker-8:17-3670114-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 3.282 GB
Data Space Total: 107.4 GB
Data Space Available: 70.25 GB
Metadata Space Used: 3.457 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.144 GB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /u01/Homedir/devops/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
Metadata loop file: /u01/Homedir/devops/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.135-RHEL7 (2016-11-16)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 2f7393a47307a16f8cee44a37b262e8b81021e3e
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-327.36.1.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.3 (Maipo)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.797 GiB
Name: mymachine
ID: URAX:JLIX:MMJM:J6QN:NC43:VFHM:2RPQ:24UL:P5A2:6MBV:7AJ4:BJ5U
Docker Root Dir: /u01/Homedir/devops/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: http://myproxy.com/
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Additional environment details (AWS, VirtualBox, physical, etc.):
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Reactions: 8
- Comments: 15 (5 by maintainers)
@MrGoodfix @thaJeztah make sure to use the output from the command that you run in the terminal in the
node2and not the example snippet that you see in the documentationCheck the sentence that states:
You’re probably using the
docker swarm joincommand that’s listed in the doc which is just an example.