Docker Community Forums

Share and learn in the Docker community.

Docker swarm - missing node information


(Jsparkscraycom) #1

I have a unique setup of docker on a system which uses a propriety internal network, the master node is dual-header. Ethernet out, and internal. I’ve setup 6 nodes in the swarm cluster, but “docker info” does not show the individual node attributes, but does list the internal nodes. Is this expected using 1.12.1 or plain wrong?

Client:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built: Thu Aug 18 17:52:38 2016
OS/Arch: linux/amd64

Server:
Version: 1.12.1
API version: 1.24
Go version: go1.6.3
Git commit: 23cf638
Built: Thu Aug 18 17:52:38 2016
OS/Arch: linux/amd64

docker info
Containers: 5
Running: 0
Paused: 0
Stopped: 5
Images: 4
Server Version: 1.12.1
Storage Driver: btrfs
Build Version: Btrfs v3.17
Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null host bridge overlay
Swarm: active
NodeID: 8w3f6lb97w58gfzof7vcqk7j2
Is Manager: true
ClusterID: exs92h7keivu57ka6uqfy0n3w
Managers: 1
Nodes: 6
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Heartbeat Tick: 1
Election Tick: 3
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Node Address: 10.131.0.147
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.12.60-52.49.1_2.2-cray_ari_s
Operating System: SUSE Linux Enterprise Server 12
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 31.46 GiB
Name: saturn-p4
ID: FAQJ:WRTP:OM7W:FXGL:HEAB:Q6CG:G3WN:PWR5:756D:ZJVD:HAYD:RX6C
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 41
Goroutines: 158
System Time: 2016-09-20T14:05:59.355831913-05:00
EventsListeners: 0
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: bridge-nf-call-ip6tables is disabled
Labels:
myhost=saturn-p4
Insecure Registries:
127.0.0.0/8

The master docker start is

DOCKER_RAMDISK=true docker daemon -H unix:///var/run/docker-bootstrap.sock
-H tcp://$(getent hosts hostname | awk ‘{ print $1 }’):2375
-H tcp://$(ifconfig eth0 | grep “inet addr” | cut -d: -f2 | awk {‘print $1}’):2375
-H unix:///var/run/docker.sock
-p /var/run/docker-bootstrap.pid
–graph=/var/lib/docker
–exec-root=/var/run/docker-bootstrap
–debug
–label=myhost=$(hostname)
2>&1 | systemd-cat -t docker
&

The workers are

DOCKER_RAMDISK=true docker daemon -H unix:///var/run/docker-bootstrap.sock
-H tcp://$(getent hosts hostname | awk ‘{ print $1 }’):2375
-H unix:///var/run/docker.sock
-p /var/run/docker-bootstrap.pid
–graph=/var/lib/docker
–exec-root=/var/run/docker-bootstrap
–debug
–label=myhost=$(hostname)
2>&1 | systemd-cat -t docker
&