Comments (7)
Please paste the output of cluster-lab health
.
Does eth0.200 exist?
from cluster-lab.
Hi,
$ sudo cluster-lab health
Internet Connection
[PASS] eth0 exists
[PASS] eth0 has an ip address
[PASS] Internet is reachable
[PASS] DNS works
Networking
[FAIL] eth0.200 exists
[FAIL] eth0.200 has correct IP from vlan network
[FAIL] Cluster leader is reachable
[FAIL] eth0.200 has exactly one IP
[PASS] eth0.200 has no local link address
[PASS] Avahi process exists
[FAIL] Avahi is using eth0.200
Cannot find device "eth0.200"
[FAIL] Avahi cluster-leader.service file exists
Cannot find device "eth0.200"
DNSmasq
[PASS] dnsmasq process exists
[FAIL] /etc/dnsmasq.conf backup file exists
Docker
[PASS] Docker is running
[FAIL] Docker is configured to use Consul as key-value store
[FAIL] Docker is configured to listen via tcp at port 2375
[FAIL] Docker listens on via tcp at port 2375 (Docker-Engine)
Consul
[PASS] Consul Docker image exists
[FAIL] Consul Docker container is running
[FAIL] Consul is listening on port 8300
[FAIL] Consul is listening on port 8301
[FAIL] Consul is listening on port 8302
[FAIL] Consul is listening on port 8400
[FAIL] Consul is listening on port 8500
[FAIL] Consul is listening on port 8600
[FAIL] Consul API works
[PASS] No Cluster-Node is in status 'failed'
[FAIL] Consul is able to talk to Docker-Engine on port 7946 (Serf)
Swarm
[FAIL] Swarm-Join Docker container is running
[FAIL] Swarm-Manage Docker container is running
[PASS] Number of Swarm and Consul nodes is equal which means our cluster is healthy
As output of ifconfig
, eth0.200
no longer exists :(
Thanks,
Nicolas
from cluster-lab.
If I do a cluster-lab stop
and then cluster-lab start
, then eth0.200
exists but consul still fails to start.
My master is now 192.168.200.31
but consul tries to connect on 192.168.200.1
. It seems to be now my "worker 4".
I stopped cluster-lab on all nodes, then restarted cluster-lab from master node. From this point it worked well.
Is there any difference between systemctl cluster-lab start|stop
and cluster-lab start|stop
?
from cluster-lab.
The important thing is that you first start what will become your leader
node... It will announce its presence via Avahi. After one or two minutes
you can start the follower nodes which then should join the leader to form
a cluster.
Stopping the Cluster-Lab on all nodes was the right thing to do as it
resets the configuration on all nodes.
Am 28.05.2016 22:20 schrieb "Nicolas Steinmetz" [email protected]:
If I do a cluster-lab stop and then cluster-lab start, then eth0.200 exists
but consul still fails to start.
My master is now 192.168.200.31 but consul tries to connect on 192.168.200.1.
It seems to be now my "worker 4".
I stopped cluster-lab on all nodes, then restarted cluster-lab from master
node. From this point it worked well.
Is there any difference between systemctl cluster-lab start|stop and
cluster-lab
start|stop ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#42 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAkiJtzUOM0pV89GEN6T6sso-HkZOh7Gks5qGKN8gaJpZM4Io46x
.
from cluster-lab.
Hmm thanks, in fact, my issue happened due to an electrical issue at home. So all nodes restarted when electricity was back.
I thought that the 2mn issue was only for the 1st run and that for 2nd and later run, there were not this 2mn delay. I understand better now ; thanks !
But I tried to restart it (but not with shutting down all nodes indeed) with systemctl cluster-lab stop and start
but seems that I had the docker issue (cf #36) and the eth0.200
issue that was no longer working.
from cluster-lab.
Seems this issue is solved.
from cluster-lab.
Yes indeed ; I forgot to close it - I was only expecting a answer on the difference between systemctl cluster-lab stop/start
vs cluster-lab stop/start
.
from cluster-lab.
Related Issues (20)
- Add additional delay in startup sequence HOT 4
- Consul container not starting HOT 9
- Node registers himself as master but should be slave HOT 5
- Refactor Cluster Lab HOT 2
- Move deployment to Travis CI HOT 1
- Avahi (and avahi browse) delay HOT 1
- Docker Daemon HOT 2
- Allow docker swarm token to work HOT 3
- Add options to secure Consul and Swarm communication
- Systemd Enhancements HOT 1
- Move config from daemon.json to docker.service HOT 1
- Allow additional labels HOT 2
- Fix false failing test HOT 2
- Deb issue on vagrant up HOT 3
- sed command failing with vagrant and Docker 1.11 HOT 3
- Is it possible for Cluster Lab on wlan0 instead of eth0? HOT 3
- Not able to run the command: docker -H tcp://192.168.200.1:2378 info
- Example for docker vagrant provider ? HOT 1
- Not Working on Pi 3B HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-lab.