-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Expected behavior
Joining a Windows node as manager to a Linux swarm manager should work
Actual behavior
After I join a Windows node with the manager token to a Linux swarm running one manager and worker the swarm is then broken, docker node ls does not work on Linux manager:
stefan@lin-01:~$ docker node ls
Error response from daemon: rpc error: code = 4 desc = context deadline exceeded
stefan@lin-01:~$ docker node ls
Error response from daemon: rpc error: code = 2 desc = The swarm does not have a leader. It's possible that too few managers are online. Make sure more than half of the managers are online.
Information
- Linux distro, e.g. Ubuntu Xenial
stefan@lin-01:~$ docker info
Containers: 7
Running: 0
Paused: 0
Stopped: 7
Images: 2
Server Version: 17.06.0-ce-rc4
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 22
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
NodeID: xk2zwsh6w2hs6wtfc48zllwbi
Error: rpc error: code = 2 desc = The swarm does not have a leader. It's possible that too few managers are online. Make sure more than half of the managers are online.
Is Manager: true
Node Address: 10.0.2.5
Manager Addresses:
10.0.2.5:2377
10.0.2.6:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: cfb82a876ecc11b5ca0977d1733adbe58599088a
runc version: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-78-generic
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 6.795GiB
Name: lin-01
ID: KUAV:IAU6:AMZH:JWLL:CAHT:KBS2:Z3IQ:EB74:SRQE:XF23:WKIH:QDJC
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
provider=generic
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
- Docker CE version, can be found from output of
docker vesion
stefan@lin-01:~$ docker version
Client:
Version: 17.06.0-ce-rc4
API version: 1.30
Go version: go1.8.3
Git commit: 29fcd5d
Built: Thu Jun 15 17:28:00 2017
OS/Arch: linux/amd64
Server:
Version: 17.06.0-ce-rc4
API version: 1.30 (minimum version 1.12)
Go version: go1.8.3
Git commit: 29fcd5d
Built: Thu Jun 15 17:25:54 2017
OS/Arch: linux/amd64
Experimental: false
- A reproducible case if this is a bug, Dockerfiles FTW
- Page URL if this is a docs issue or the name of a man page
Steps to reproduce the behavior
- on lin-01 run
docker swarm init - on lin-02 run
docker swarm joinwith worker token - on lin-01 run
docker swarm join-token manager - on win-01 run
docker swawrm joinwith manager token - on lin-01 run
docker node ls-> it will hang
It works when I use 17.03 on the Linux swarm manager node and 17.06.0-ce-rc4 on the Windows node.
But it does not work using 17.06.0-ce-rc4 also on the Linux node.
Metadata
Metadata
Assignees
Labels
No labels