Skip to content

Instantly share code, notes, and snippets.

@alambike
Created December 26, 2016 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alambike/549dfe9e24643d830ba9aa5c7053f92c to your computer and use it in GitHub Desktop.
Save alambike/549dfe9e24643d830ba9aa5c7053f92c to your computer and use it in GitHub Desktop.
#================
Start Swarm setup
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ROLE=MANAGER
PRIVATE_IP=10.0.0.6
DOCKER_FOR_IAAS_VERSION=azure-v1.13.0-rc4-beta14
ACCOUNT_ID=0aff12f8-9fd1-467b-b90a-5979b2aabf60
REGION=northeurope
AZURE_HOSTNAME=e4b4e1ca87f5
#================
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
container-logs
kick off logger container
cf1198c58b14c32f2199ecf1cd4bdf77324ce03cbe2394138157b1c439c79963
kick off guide container
11be88f57e13645c3dbe2fc039c1b421864f23df47965163d20a417b62102741
kick off meta container
a0803d87c29a0b0c125fb046ca11a5373331677080dc79104175b5f7a2f39975
kick off l4controller container
fafd2c0adea83e3440b5ebe186ba4321b2eafddf399e2b58c10fe383131bff1d
It's a Manager, run setup
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
Setup Manager
PRIVATE_IP=10.0.0.6
PRIMARY_MANAGER_IP=
Primary Manager IP not set yet, lets try and set it.
PRIMARY_RESULT=1
Error is normal, it is because we already have a primary node, lets setup a secondary manager instead.
Secondary Manager
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
PRIMARY_MANAGER_IP=
Primary manager Not ready yet, sleep for 60 seconds.
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
PRIMARY_MANAGER_IP=
Primary manager Not ready yet, sleep for 60 seconds.
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
PRIMARY_MANAGER_IP=
Primary manager Not ready yet, sleep for 60 seconds.
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
PRIMARY_MANAGER_IP=
Primary manager Not ready yet, sleep for 60 seconds.
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
PRIMARY_MANAGER_IP=
Primary manager Not ready yet, sleep for 60 seconds.
MANAGER_IP=
MANAGER_TOKEN=
SWARM_ID:
NODE:
Can't connect to primary manager, sleep and try again
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
SWARM_ID:
NODE:
Can't connect to primary manager, sleep and try again
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
SWARM_ID:
NODE:
Can't connect to primary manager, sleep and try again
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
SWARM_ID:
NODE:
Can't connect to primary manager, sleep and try again
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
SWARM_ID:
NODE:
Can't connect to primary manager, sleep and try again
Get MANAGER IP from Azure Table
MANAGER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
WORKER_TOKEN can't be found yet. MANAGER_IP isn't set yet.
Secondary Manager complete
#================ docker info ===
Containers: 6
Running: 5
Paused: 0
Stopped: 1
Images: 7
Server Version: 1.13.0-rc4
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: syslog
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 51371867a01c467f08af739783b8beafc154c4d7
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.0-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.354 GiB
Name: swarm-manager000000
ID: YULZ:GCBT:AHCF:NO3O:ZW2S:YE7J:4IF5:3QOS:IKOT:WUE4:QMVK:Z5J3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 44
Goroutines: 45
System Time: 2016-12-26T13:21:02.699147242Z
EventsListeners: 0
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
#================ docker node ls ===
#===================================
Complete Swarm setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment