List of all nodes:
kontena node ls
output:
NAME VERSION STATUS INITIAL LABELS
⊛ Ubuntu-1604-xenial-64-minimal 1.3.3 online 1 / 1 - <-------- master & node
⊝ (initializing) offline -
⊛ roquie-kvm-1 1.3.4 online - -
⊛ Fluorine 1.3.4 online - -
- first node
kontena etcd health roquie-kvm-1
output:
⊗ Node roquie-kvm-1 is unhealthy: proxy: zero endpoints currently available
docker logs kontena-etcd
on node roquie-kvm-1
output:
2017-07-24 14:18:50.844356 W | etcdmain: proxy: could not retrieve cluster information from the given urls
2017-07-24 14:18:52.845226 W | etcdserver: could not get cluster response from http://10.81.0.1:2380: Get http://10.81.0.1:2380/members: dial tcp 10.81.0.1:2380: i/o timeout
2017-07-24 14:18:52.845285 W | etcdmain: proxy: could not retrieve cluster information from the given urls
- second node
kontena etcd health Fluorine
output:
⊗ Node Fluorine is unhealthy: proxy: zero endpoints currently available
docker logs kontena-etcd
on node Fluorine
output:
2017-07-24 14:22:07.421304 W | etcdmain: proxy: could not retrieve cluster information from the given urls
2017-07-24 14:22:09.422150 W | etcdserver: could not get cluster response from http://10.81.0.1:2380: Get http://10.81.0.1:2380/members: dial tcp 10.81.0.1:2380: i/o timeout
2017-07-24 14:22:09.422197 W | etcdmain: proxy: could not retrieve cluster information from the given urls
- latest node (master server & node too)
kontena etcd health Ubuntu-1604-xenial-64-minimal
Output
⊛ Node Ubuntu-1604-xenial-64-minimal is healthy
docker logs kontena-etcd
on node Ubuntu-1604-xenial-64-minimal
output (it's normal logs, withot critical messages):
...
2017-07-24 14:17:24.913734 I | etcdserver: start to snapshot (applied: 1760176, lastsnap: 1750175)
2017-07-24 14:17:24.931127 I | etcdserver: saved snapshot at index 1760176
2017-07-24 14:17:24.933222 I | etcdserver: compacted raft log at 1755176
2017-07-24 14:17:26.962190 I | fileutil: purged file /var/lib/etcd/member/snap/0000000000000005-00000000001a185b.snap successfull