cattleio / stampede Goto Github PK
View Code? Open in Web Editor NEWHybrid IaaS/Docker orchestration platform running on CoreOS
License: Apache License 2.0
Hybrid IaaS/Docker orchestration platform running on CoreOS
License: Apache License 2.0
Sep 14 14:35:30 ct-1 systemd[1]: Starting Stampede : Server...
Sep 14 14:35:31 ct-1 bash[5322]: 2014/09/14 14:35:31 Moving pid 5405 to /sys/fs/cgroup/systemd/system.slice/cattle-stampede-server.24e04e-a1f13b.service/cgroup.procs
Sep 14 14:35:31 ct-1 bash[5322]: 2014/09/14 14:35:31 Moving pid 5405 to /sys/fs/cgroup/blkio/system.slice/cattle-stampede-server.24e04e-a1f13b.service/cgroup.procs
Sep 14 14:35:31 ct-1 bash[5322]: 2014/09/14 14:35:31 Moving pid 5405 to /sys/fs/cgroup/freezer/cgroup.procs
Sep 14 14:35:31 ct-1 bash[5322]: 2014/09/14 14:35:31 Moving pid 5405 to /sys/fs/cgroup/devices/system.slice/cattle-stampede-server.24e04e-a1f13b.service/cgroup.procs
Sep 14 14:35:31 ct-1 systemd[1]: cattle-stampede-server.24e04e-a1f13b.service: Supervising process 5405 which is not our child. We'll most likely not notice when it exits.
Sep 14 14:35:31 ct-1 bash[5322]: 2014/09/14 14:35:31 Moving pid 5405 to /sys/fs/cgroup/memory/system.slice/cattle-stampede-server.24e04e-a1f13b.service/cgroup.procs
Sep 14 14:35:31 ct-1 bash[5322]: 2014/09/14 14:35:31 Moving pid 5405 to /sys/fs/cgroup/cpu,cpuacct/system.slice/cattle-stampede-server.24e04e-a1f13b.service/cgroup.procs
Sep 14 14:35:31 ct-1 bash[5322]: Master
Sep 14 14:35:31 ct-1 bash[5322]: Public IP 178.62.254.106
Sep 14 14:35:31 ct-1 bash[5322]: Private IP 10.133.255.234
Sep 14 14:35:31 ct-1 bash[5322]: Failed to determine master
Sep 14 14:37:30 ct-1 systemd[1]: cattle-stampede-server.24e04e-a1f13b.service start operation timed out. Terminating.
Sep 14 14:37:30 ct-1 systemd[1]: Failed to start Stampede : Server.
$ fleetctl list-units Sun Sep 14 14:50:55 2014
UNIT MACHINE ACTIVE SUB
cattle-libvirt.a181a6-960088.service 960088b9.../178.62.248.14 active running
cattle-libvirt.a181a6-a1f13b.service a1f13ba0.../178.62.254.106 active running
cattle-libvirt.a181a6-e73dee.service e73deec2.../178.62.248.13 active running
cattle-stampede-agent.a0a767-960088.service 960088b9.../178.62.248.14 active running
cattle-stampede-agent.a0a767-a1f13b.service a1f13ba0.../178.62.254.106 active running
cattle-stampede-agent.a0a767-e73dee.service e73deec2.../178.62.248.13 active running
cattle-stampede-server.24e04e-960088.service 960088b9.../178.62.248.14 activating start
cattle-stampede-server.24e04e-a1f13b.service a1f13ba0.../178.62.254.106 activating start
cattle-stampede-server.24e04e-e73dee.service e73deec2.../178.62.248.13 activating start
cattle-stampede.service 960088b9.../178.62.248.14 active running
It would be awesome if this could be built and pushed to a private registry. The problem lies in the chain of dependencies through the containers, all of them seem to statically rely on public images such as:
ibuildthecloud/systemd-docker:0.1.1
cattle/agent-instance
cattle/server
cattle/agent
This would need to encompass making the above generic enough to build and host locally as well as the Containers in this repo
Thanks!
I get the message
"Save the username and password above! This is the only time you'll be able to see the password.
If you lose it, you'll have to create a new API key." but the username/password for the API key are blank.
Given how new this is, it might be a known issue or intended functionality, but figured I'd open an issue incase.
Being able to utilize other registries such as quay.io or privately-hosted registries would be very beneficial.
The ability to support many with authentication credentials for each would be a plus as well.
Is there an option to lock this down for servers that are on public facing networks? For example the new CoreOS cluster I have set up seems to be accessible to anyone, is there some sort of way to lock down the admin interface?
I started the cattle script on a fresh coreos installation. The server unit gets stuck at pre-start stage.
sudo netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 50326/dnsmasq
tcp 0 0 100.78.14.99:16001 0.0.0.0:* LISTEN 560/python
tcp6 0 0 :::22 :::* LISTEN 1/systemd
tcp6 0 0 :::7001 :::* LISTEN 641/etcd
tcp6 0 0 :::4001 :::* LISTEN 641/etcd
fleetctl list-units
UNIT MACHINE ACTIVE SUB
cattle-libvirt.1657d1-bf719c.service bf719ce3.../100.78.14.99 active running
cattle-stampede-agent.bfc644-bf719c.service bf719ce3.../100.78.14.99 active running
cattle-stampede-server.22423f-bf719c.service bf719ce3.../100.78.14.99 activating start
cattle-stampede.service bf719ce3.../100.78.14.99 active running
fleetctl status cattle-stampede-server.22423f-bf719c.service
โ cattle-stampede-server.22423f-bf719c.service - Stampede : Server
Loaded: loaded (/run/fleet/units/cattle-stampede-server.22423f-bf719c.service; linked-runtime)
Active: activating (start) since Sat 2014-11-01 17:31:31 UTC; 21s ago
Process: 49695 ExecStartPre=/usr/bin/docker run --rm -v /opt/bin:/opt/bin ibuildthecloud/systemd-docker:0.1.1 (code=exited, status=0/SUCCESS)
Main PID: 50186
CGroup: /system.slice/cattle-stampede-server.22423f-bf719c.service
I've been looking at the stampede API but can't figure out if there is a way to limit the Docker container CPU and Memory usage. Is it possible ?
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.