crewjam / dev Goto Github PK
View Code? Open in Web Editor NEWInfrastructure for building a development and collaboration environment with CoreOS and Docker.
Infrastructure for building a development and collaboration environment with CoreOS and Docker.
We had a cluster of six machines, 3 master and 3 worker. But fleetctl list-machines showed only one worker. This came recently after the failure described in #1, so it is possible that fleet died in reaction to the etcd failure.
Regardless there are classes of failure where we should reboot/terminate/bail:
The chain of events:
$ fleetctl list-units
2014/10/11 02:38:21 ERROR fleetctl.go:171: error attempting to check latest fleet version in Registry: timeout reached
2014/10/11 02:38:21 INFO client.go:278: Failed getting response from http://127.0.0.1:4001/: cancelled
Error retrieving list of units from repository: timeout reached
$ ssh 10.10.126.61 etcdctl ls /
Error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
systemctl restart etcd
on master #2$ fleetctl list-units
UNIT MACHINE ACTIVE SUB
[email protected] 268251a3.../10.10.126.61 inactive dead
[email protected] 4e283163.../10.10.146.25 inactive dead
[email protected] 836de616.../10.10.1.191 inactive dead
[email protected] 268251a3.../10.10.126.61 inactive dead
[email protected] 4e283163.../10.10.146.25 inactive dead
[email protected] 836de616.../10.10.1.191 activating start-pre
[email protected] 268251a3.../10.10.126.61 activating start-pre
[email protected] 4e283163.../10.10.146.25 activating start-pre
[email protected] 836de616.../10.10.1.191 active running
[email protected] 836de616.../10.10.1.191 active running
[email protected] 4e283163.../10.10.146.25 activating start-pre
[email protected] 268251a3.../10.10.126.61 activating start-pre
[email protected] 268251a3.../10.10.126.61 activating start-pre
[email protected] 4e283163.../10.10.146.25 activating start-pre
[email protected] 836de616.../10.10.1.191 active running
[email protected] 836de616.../10.10.1.191 active running
[email protected] 4e283163.../10.10.146.25 active running
[email protected] 268251a3.../10.10.126.61 active running
[email protected] 836de616.../10.10.1.191 activating start-pre
[email protected] 4e283163.../10.10.146.25 inactive dead
[email protected] 268251a3.../10.10.126.61 failed failed
[email protected] 268251a3.../10.10.126.61 active running
[email protected] 4e283163.../10.10.146.25 active running
[email protected] 836de616.../10.10.1.191 active running
nginx-presence-dns.service 4e283163.../10.10.146.25 activating start-pre
[email protected] 268251a3.../10.10.126.61 inactive dead
[email protected] 4e283163.../10.10.146.25 inactive dead
[email protected] 4e283163.../10.10.146.25 inactive dead
[email protected] 268251a3.../10.10.126.61 activating start-pre
[email protected] 4e283163.../10.10.146.25 activating start-pre
[email protected] 4e283163.../10.10.146.25 activating start-pre
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.