Code and functionality are now in flynn/flynn
Learn more about Flynn
Archived -- see https://github.com/flynn/flynn
License: Other
Learn more about Flynn
Vagrant up fails with mismatched checksum:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'flynn-precise64' was not found. Fetching box from specified URL f
or
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading box from URL: https://s3.amazonaws.com/flynn/flynn-virtualbox-ubuntu
_12.04.3-amd64.box
Calculating and comparing box checksum...time remaining: 0:00:01)
The checksum of the dowloaded box did not match the expected
value. Please verify that you have the proper URL setup and that
you're downloading the proper file.
Expected: d222d515e83e0d8a547c55f9e5cbaec703fd414f0d761193d9fee1c6066504cf
Received: 5442243c66b0fa048bd5d1e8fa25b76254da3c53bfeb10582ca3d7a19afe5956
Hey,
I've setup layer0 and tried to bootstrap layer1. I lost the output of that command, unfortunately, and it was supposed to tell my to fire another command. Is there any way to either
When I try to run bootstrap command again I get this error:
TASK: [be sure that flynn is bootstrapped] ************************************
failed: [mydomain.com] => {"changed": true, "cmd": "CLUSTER_DOMAIN=mydomain.com flynn-host bootstrap /etc/flynn/bootstrap-manifest.json", "delta": "0:00:03.507581", "end": "2014-12-23 01:12:20.575165", "rc": 1, "start": "2014-12-23 01:12:17.067584", "warnings": []}
stderr: 01:12:17.076276 check online-hosts
01:12:17.079062 require-env require-env
01:12:17.079419 run-app postgres
01:12:18.595682 gen-random controller-key
01:12:18.595763 gen-random controller-key c1926624e42908967c55bb5ccb0b141e
01:12:18.595768 gen-random dashboard-session-secret
01:12:18.595793 gen-random dashboard-session-secret 73b47fb66814ffd446c7660da3ecef0d
01:12:18.595796 gen-random dashboard-login-token
01:12:18.595821 gen-random dashboard-login-token 969bd0134a012b9c9a336e51a3727e96
01:12:18.595825 gen-random name-seed
01:12:18.595858 gen-random name-seed 245c1a6b2d0470288b90
01:12:18.595862 wait postgres-wait
01:12:18.603807 run-app controller
01:12:20.570402 wait controller-wait
01:12:20.571637 add-app controller-inception
01:12:20.574457 add-app controller-inception error: POST http://flynn-controller/apps: controller: unexpected status 401
(I use ansible, hence the output format [and the problem with lost output]).
Using the Flynn vagrant demo box, I:
flynn scale web=1
flynn run rake db:migrate
, which I know has completed because it doesn't throw a database connection error, although it does complain about stdin not being in gzip formatBut when I try to access localhost:8080, I get 'Service unavailable' errors, and on occasion 'Bad gateway' errors. Running flynn log
on the web process yields nothing. What am I (or Flynn) doing wrong?
Since you are saving ssh pub key needed by gitreceive under /tmp directory, the key will disappear when you reboot the machine.
This will lead Permission denied (publickey)
error when you try to push coes after rebooting because gitreceive can't load the key.
I don't know the expectation of gitreceive, but can't we save the key in different place?
E:>vagrant box add coreos-alpha coreos_production_vagrant_494_5_0.box -f
==> box: Adding box 'coreos-alpha' (v0) for provider:
box: Downloading: file://E:/coreos_production_vagrant_494_5_0.box
box: Progress: 100% (Rate: 369M/s, Estimated time remaining: --:--:--)
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
version 1.7.2
When attempting to run packer build -only digitalocean cloud.json
, it fails:
==> digitalocean: Creating temporary ssh key for droplet...
==> digitalocean: Creating droplet...
==> digitalocean: Error creating droplet: Received error from DigitalOcean (404): You specified an invalid image for Droplet creation.
==> digitalocean: Deleting temporary ssh key...
Build 'digitalocean' errored: Error creating droplet: Received error from DigitalOcean (404): You specified an invalid image for Droplet creation.
==> Some builds didn't complete successfully and had errors:
--> digitalocean: Error creating droplet: Received error from DigitalOcean (404): You specified an invalid image for Droplet creation.
==> Builds finished but no artifacts were created.
It might be helpful for the Vagrantfile to be able to generate a cluster of vagrant boxes to test distribution across machines. Maybe put it behind an env variable? I'll look at it a bit tonight.
Followed the steps in the readme but when I run make I get the following error:
sudo bin/godeb install 1.2
processing https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz
package go_1.2-godeb1_amd64.deb ready
(Reading database ... 59869 files and directories currently installed.)
Preparing to replace go 1.2-godeb1 (using go_1.2-godeb1_amd64.deb) ...
Unpacking replacement go ...
Setting up go (1.2-godeb1) ...
go get -v github.com/flynn/go-discover/discoverd
github.com/flynn/go-discover (download)
package github.com/flynn/go-discover/discoverd
imports github.com/flynn/go-discover/discoverd
imports github.com/flynn/go-discover/discoverd: cannot find package "github.com/flynn/go-discover/discoverd" in any of:
/usr/local/go/src/pkg/github.com/flynn/go-discover/discoverd (from $GOROOT)
/vagrant/src/github.com/flynn/go-discover/discoverd (from $GOPATH)
make: *** [bin/discoverd] Error 1
I get this stack trace when running make inside vagrant vm:
bin/forego start
forego | starting etcd on port 5000
forego | starting discoverd on port 5100
forego | starting gitreceive on port 5200
forego | starting shelf on port 5300
forego | starting sampi on port 5400
forego | starting strowger on port 5500
forego | starting lorne on port 5600
forego | starting controller on port 5700
discoverd | 2014/01/22 18:35:05 Starting server on :1111...
etcd | [etcd] Jan 22 18:35:06.569 WARNING | Using the directory packer-virtualbox.etcd as the etcd curation directory because a directory was not specified.
sampi | now=2014-01-22T18:35:09+0000 app=sampi at=start
etcd | [etcd] Jan 22 18:35:09.657 INFO | etcd server [name packer-virtualbox, listen on :4001, advertised url http://127.0.0.1:4001]
lorne | now=2014-01-22T18:35:10+0000 app=lorne at=start
shelf | 2014/01/22 18:35:11 Shelf serving files on 8888 from /vagrant/storage
discoverd | 2014/01/22 18:35:11 Register: error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
discoverd | 2014/01/22 18:35:11 Register: error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
discoverd | 2014/01/22 18:35:11 Register: error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
discoverd | 2014/01/22 18:35:11 Register: error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
lorne | 2014/01/22 18:35:11 discover: register failed: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
strowger | 2014/01/22 18:35:11 discover: register failed: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
forego | shutting down
forego | sending SIGTERM to etcd
forego | sending SIGTERM to discoverd
forego | sending SIGTERM to gitreceive
forego | sending SIGTERM to shelf
forego | sending SIGTERM to sampi
forego | sending SIGTERM to lorne
forego | sending SIGTERM to controller
shelf | panic: runtime error: close of nil channel
shelf |
shelf | goroutine 9 [running]:
shelf | runtime.panic(0x6a9520, 0xa249e0)
shelf | /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
shelf | github.com/flynn/go-discoverd.(_Client).Unregister(0xc21006bd20, 0x7fff1d8748d5, 0x5, 0xc2100b3200, 0xe, ...)
shelf |
shelf | /vagrant/src/github.com/flynn/go-discoverd/client.go
shelf | :
shelf | 467
shelf | +0xdc
shelf | main.func·006()
shelf | /vagrant/src/github.com/flynn/sdutil/register.go:40 +0x1a4
shelf | created by main.(_register).RegisterWithExitHook
shelf | /vagrant/src/github.com/flynn/sdutil/register.go:42 +0x1d6
shelf |
shelf | goroutine 1 [chan receive]:
shelf | main.(_execCmd).Run(0xc210070000, 0xc21004ee00)
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:58 +0x464
shelf | main.ParseCommands(0x2ae575439f00, 0x4, 0x4)
shelf | /vagrant/src/github.com/flynn/sdutil/command.go:50 +0x3c3
shelf | main.main()
shelf | /vagrant/src/github.com/flynn/sdutil/sdutil.go:8 +0x183
shelf |
shelf | goroutine 3 [syscall]:
shelf | os/signal.loop()
shelf | /usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
shelf | created by os/signal.init·1
shelf | /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x31
shelf |
shelf | goroutine 5 [runnable]:
shelf | net.runtime_pollWait(0x2ae57529a588, 0x72, 0x0)
shelf | /usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
shelf | net.(_pollDesc).Wait
shelf | (0xc21004eed0, 0x72, 0x2ae575299110, 0xb)
shelf | /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
shelf | net.(_pollDesc).WaitRead(0xc21004eed0, 0xb, 0x2ae575299110)
shelf | /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
shelf | net.(_netFD).Read(0xc21004ee70, 0xc210074000, 0x1000, 0x1000, 0x0, ...)
shelf | /usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
shelf | net.(_conn).Read(0xc210000390, 0xc210074000, 0x1000, 0x1000, 0xc21004a384, ...)
shelf | /usr/local/go/src/pkg/net/net.go:122 +0xc5
shelf | bufio.(_Reader).fill(0xc21005f4e0)
shelf | /usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
shelf | bufio.(_Reader).Read(0xc21005f4e0, 0xc210037bd0, 0x1, 0x9, 0x1, ...)
shelf | /usr/local/go/src/pkg/bufio/bufio.go:159 +0x1a4
shelf | io.ReadAtLeast(0x2ae57529ab08, 0xc21005f4e0, 0xc210037bd0, 0x1, 0x9, ...)
shelf | /usr/local/go/src/pkg/io/io.go:288 +0xf6
shelf | io.ReadFull(0x2ae57529ab08, 0xc21005f4e0, 0xc210037bd0, 0x1, 0x9, ...)
shelf | /usr/local/go/src/pkg/io/io.go:306 +0x71
shelf | encoding/gob.decodeUintReader(0x2ae57529ab08, 0xc21005f4e0, 0xc210037bd0, 0x9, 0x9, ...)
shelf | /usr/local/go/src/pkg/encoding/gob/decode.go:66 +0x98
shelf | encoding/gob.(_Decoder).recvMessage(0xc210073000, 0xc21006f200)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:73 +0x57
shelf | encoding/gob.(_Decoder).decodeTypeSequence(0xc210073000, 0xc21006bd00, 0x160)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:159 +0x49
shelf | encoding/gob.(_Decoder).DecodeValue(0xc210073000, 0x612940, 0xc21006bde0, 0x160, 0x0, ...)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:223 +0x12e
shelf | encoding/gob.(_Decoder).Decode(0xc210073000, 0x612940, 0xc21006bde0, 0xc21000a3b0, 0xc21004e1c0)
shelf | /usr/local/go/src/pkg/encoding/gob/decoder.go:202 +0x1c5
shelf | github.com/flynn/rpcplus.(_gobClientCodec).ReadResponseHeader(0xc21006bcc0, 0xc21006bde0, 0x0, 0x0)
shelf | /vagrant/src/github.com/flynn/rpcplus/client.go:277 +0x3f
shelf | github.com/flynn/rpcplus.(_Client).input(0xc21005f540)
shelf | /vagrant/src/github.com/flynn/rpcplus/client.go:137 +0xb8
shelf | created by github.com/flynn/rpcplus.NewClientWithCodec
shelf | /vagrant/src/github.com/flynn/rpcplus/client.go:255 +0x91
shelf |
shelf | goroutine 7 [runnable]:
shelf | syscall.Syscall(0x0, 0x7, 0xc21007f000, 0x8000, 0x0, ...)
shelf | /usr/local/go/src/pkg/syscall/asm_linux_amd64.s:38 +0x64
shelf | syscall.read(0x7, 0xc21007f000, 0x8000, 0x8000, 0x2ae57529ada0, ...)
shelf | /usr/local/go/src/pkg/syscall/zsyscall_linux_amd64.go:838 +0x72
shelf | syscall.Read(0x7, 0xc21007f000, 0x8000, 0x8000, 0x1, ...)
shelf | /usr/local/go/src/pkg/syscall/syscall_unix.go:135 +0x5c
shelf | os.(_File).read(0xc2100003c8, 0xc21007f000, 0x8000, 0x8000, 0x41e988, ...)
shelf | /usr/local/go/src/pkg/os/file_unix.go:180 +0x62
shelf | os.(_File).Read(0xc2100003c8, 0xc21007f000, 0x8000, 0x8000, 0x8000, ...)
shelf | /usr/local/go/src/pkg/os/file.go:95 +0x98
shelf | io.Copy(0x2ae575298fe8, 0xc210000008, 0x2ae5752990c0, 0xc2100003c8, 0x0, ...)
shelf | /usr/local/go/src/pkg/io/io.go:352 +0x1c8
shelf | main.func·003()
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:84 +0x71
shelf | created by main.attachCmd
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:86 +0x28e
shelf |
shelf | goroutine 8 [runnable]:
shelf | syscall.Syscall(0x0, 0x9, 0xc210094000, 0x8000, 0x0, ...)
shelf | /usr/local/go/src/pkg/syscall/asm_linux_amd64.s:38 +0x64
shelf | syscall.read(0x9, 0xc210094000, 0x8000, 0x8000, 0x436e2b, ...)
shelf | /usr/local/go/src/pkg/syscall/zsyscall_linux_amd64.go:838 +0x72
shelf | syscall.Read(0x9, 0xc210094000, 0x8000, 0x8000, 0x46, ...)
shelf | /usr/local/go/src/pkg/syscall/syscall_unix.go:135 +0x5c
shelf | os.(_File).read(0xc2100003e0, 0xc210094000, 0x8000, 0x8000, 0x46, ...)
shelf | /usr/local/go/src/pkg/os/file_unix.go:180 +0x62
shelf | os.(_File).Read(0xc2100003e0, 0xc210094000, 0x8000, 0x8000, 0x46, ...)
shelf | /usr/local/go/src/pkg/os/file.go:95 +0x98
shelf | io.Copy(0x2ae575298fe8, 0xc210000010, 0x2ae5752990c0, 0xc2100003e0, 0x46, ...)
shelf | /usr/local/go/src/pkg/io/io.go:352 +0x1c8
shelf | main.func·004()
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:88 +0x71
shelf | created by main.attachCmd
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:90 +0x2cd
shelf |
shelf | goroutine 10 [runnable]:
shelf | syscall.Syscall6(0x3d, 0xd47, 0xc210000ad8, 0x0, 0xc21000a5a0, ...)
shelf | /usr/local/go/src/pkg/syscall/asm_linux_amd64.s:63 +0x6a
shelf | syscall.wait4(0xd47, 0xc210000ad8, 0x0, 0xc21000a5a0, 0x422ec2, ...)
shelf | /usr/local/go/src/pkg/syscall/zsyscall_linux_amd64.go:120 +0x7d
shelf | syscall.Wait4(0xd47, 0x2ae576967e5c, 0x0, 0xc21000a5a0, 0x0, ...)
shelf | /usr/local/go/src/pkg/syscall/syscall_linux.go:222 +0x6e
shelf | os.(_Process).wait(0xc210070320, 0x0, 0x0, 0x0)
shelf | /usr/local/go/src/pkg/os/exec_unix.go:22 +0xec
shelf | os.(_Process).Wait(0xc210070320, 0x0, 0x0, 0x0)
shelf | /usr/local/go/src/pkg/os/doc.go:43 +0x27
shelf | os/exec.(_Cmd).Wait(0xc210060280, 0x0, 0x0)
shelf | /usr/local/go/src/pkg/os/exec/exec.go:311 +0x199
shelf | main.func·005()
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:98 +0x32
shelf | created by main.exitStatusCh
shelf | /vagrant/src/github.com/flynn/sdutil/exec.go:112 +0xa7
If i later try to do make run i get the following:
go get -v github.com/flynn/discoverd
go get -v github.com/flynn/sampi/sampid
go get -v github.com/flynn/lorne
go get -v github.com/flynn/flynn-receive
go get -v github.com/flynn/gitreceive-next/gitreceived
go get -v github.com/flynn/sdutil
go get -v github.com/flynn/shelf
go get -v github.com/flynn/flynn-controller
go get -v github.com/flynn/flynn-cli
go get -v github.com/flynn/strowger
go get -v github.com/ddollar/forego
bin/forego start
forego | starting etcd on port 5000
forego | starting discoverd on port 5100
forego | starting gitreceive on port 5200
forego | starting shelf on port 5300
forego | starting sampi on port 5400
forego | starting strowger on port 5500
forego | starting lorne on port 5600
forego | starting controller on port 5700
discoverd | 2014/01/22 18:38:52 Starting server on :1111...
etcd | [etcd] Jan 22 18:38:52.080 WARNING | Using the directory packer-virtualbox.etcd as the etcd curation directory because a directory was not specified.
etcd | [etcd] Jan 22 18:38:52.091 INFO | etcd server [name packer-virtualbox, listen on :4001, advertised url http://127.0.0.1:4001]
etcd | [etcd] Jan 22 18:38:52.404 INFO | URLs: / packer-virtualbox (http://127.0.0.1:7001)
etcd | [etcd] Jan 22 18:38:52.423 WARNING | the entire cluster is down! this peer will restart the cluster.
etcd | [etcd] Jan 22 18:38:52.423 INFO | raft server [name packer-virtualbox, listen on :7001, advertised url http://127.0.0.1:7001]
sampi | now=2014-01-22T18:38:53+0000 app=sampi at=start
discoverd | 2014/01/22 18:38:53 Register: flynn-strowger-rpc :1115 map[]
discoverd | 2014/01/22 18:38:53 Register: shelf 10.0.2.15:8888 map[]
discoverd | 2014/01/22 18:38:53 Register: flynn-sampi :1112 map[]
discoverd | 2014/01/22 18:38:53 Subscribe: flynn-sampi
strowger | 2014/01/22 18:38:53 100: Key not found (/strowger) [59]
forego | shutting down
forego | sending SIGTERM to etcd
forego | sending SIGTERM to discoverd
forego | sending SIGTERM to gitreceive
forego | sending SIGTERM to shelf
forego | sending SIGTERM to sampi
forego | sending SIGTERM to lorne
forego | sending SIGTERM to controller
shelf | 2014/01/22 18:38:53 rpc: client protocol error: read tcp 127.0.0.1:1111: connection reset by peer
using the flynn-demo with nodjs-flynn-example I get the following error:
nodejs-flynn-example$ git push flynn master
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
How do I add my key ? Should I use a temporary generated private key ? Where do I find it ?
That should spit out some usage info or something, right?
vagrant@packer-virtualbox:/vagrant$ cd nodejs-example/
vagrant@packer-virtualbox:/vagrant/nodejs-example$ flynn ps
web.Ds-qX-jxFzL6EmEEIz0YTw
web.mos9oab-OiN6VpJamtTvdA
web.z7zg9OZJy3WD6cLybuevBQ
vagrant@packer-virtualbox:/vagrant/nodejs-example$ flynn logs
panic: runtime error: index out of range
goroutine 1 [running]:
runtime.panic(0x671c00, 0x9970f7)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
main.runLogs(0x995520, 0xc21000a020, 0x0, 0x0)
/vagrant/src/github.com/flynn/flynn-cli/logs.go:15 +0xf3
main.main()
/vagrant/src/github.com/flynn/flynn-cli/main.go:107 +0x3fc
vagrant@packer-virtualbox:/vagrant/nodejs-example$
vagrant@packer-virtualbox:/vagrant/nodejs-example$ flynn logs web.1
Unexpected error: 404 Not Found
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'flynn-base'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: flynn-demo_default_1399272875503_63510
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 8080 is already in use
on the host machine.
To fix this, modify your current projects Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:
config.vm.network :forwarded_port, guest: 80, host: 1234
Sometimes, Vagrant will attempt to auto-correct this for you. In this
case, Vagrant was unable to. This is usually because the guest machine
is in a state which doesn't allow modifying port forwarding.
Since we don't need Chef/Puppet/Ruby, etc.
make
, mercurial
, curl
, git
, vim
(anything else?)Starting point: https://github.com/mitchellh/packer-ubuntu-12.04-docker
at Procfile the command get an error:
shelf | flag provided but not defined: -s
reason is the "-s"
shelf: sleep 1 && bin/sdutil exec -h 10.0.2.15 -s shelf:8888 bin/shelf -p 8888 /vagrant/storage
Hi,
Am not sure which flynn sub-project this should go in, but the HTTP validity of the HTTP 'load-balancer' isn't correct. See:
$ telnet localhost 8080
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.0
Host: localhost:8080
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Connection: keep-alive
Content-Type: text/plain
Date: Fri, 25 Apr 2014 12:58:01 GMT
1a
Hello Flynn on port 55013
0
The chunked-transfer encoding was added in HTTP/1.1. It isn't valid to send such a response to an HTTP/1.0 request. Even with a 1.1 client you probably shouldn't send chunked requests without the presence of an Accept-Encoding: chunked
Refs:
Sections 3.6 of HTTP Spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html
http://en.wikipedia.org/wiki/Chunked_transfer_encoding
Error is as follows:
vagrant@packer-virtualbox:/vagrant$ make
sudo bin/godeb install 1.2
processing https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz
package go_1.2-godeb1_amd64.deb ready
Selecting previously unselected package go.
(Reading database ... 55012 files and directories currently installed.)
Unpacking go (from go_1.2-godeb1_amd64.deb) ...
Setting up go (1.2-godeb1) ...
go get -v github.com/flynn/go-discover/discoverd
bitbucket.org/kardianos/osext
github.com/coreos/go-systemd/journal
github.com/coreos/go-log/log
github.com/coreos/go-etcd/etcd
github.com/flynn/rpcplus
github.com/flynn/rpcplus/jsonrpc
github.com/flynn/rpcplus/comborpc
github.com/flynn/go-discover/discover
# github.com/flynn/go-discover/discover
src/github.com/flynn/go-discover/discover/backend_etcd.go:32: response.Kvs undefined (type *etcd.Response has no field or method Kvs)
src/github.com/flynn/go-discover/discover/backend_etcd.go:57: undefined: etcd.KeyValuePair
src/github.com/flynn/go-discover/discover/backend_etcd.go:98: b.Client.GetAll undefined (type *etcd.Client has no field or method GetAll)
src/github.com/flynn/go-discover/discover/backend_etcd.go:98: not enough arguments to return
src/github.com/flynn/go-discover/discover/backend_etcd.go:103: b.Client.WatchAll undefined (type *etcd.Client has no field or method WatchAll)
src/github.com/flynn/go-discover/discover/backend_etcd.go:117: too many arguments in call to b.Client.Get
src/github.com/flynn/go-discover/discover/backend_etcd.go:122: b.Client.CompareAndSwap undefined (type *etcd.Client has no field or method CompareAndSwap)
src/github.com/flynn/go-discover/discover/backend_etcd.go:122: resp.Value undefined (type []*etcd.Response has no field or method Value)
src/github.com/flynn/go-discover/discover/backend_etcd.go:122: resp.ModifiedIndex undefined (type []*etcd.Response has no field or method ModifiedIndex)
src/github.com/flynn/go-discover/discover/backend_etcd.go:122: too many errors
make: *** [bin/discoverd] Error 2
With "current" (see info at the end) flynn-cli and flynn-demo on Ubuntu 12.04, I get "unexpected status 401" when I run "flynn key-add".
Exact details:
$ flynn key-add
POST http://localhost:8081/keys: controller: unexpected status 401
$ flynn version
20140421.4
$ flynn server-add -g localhost:2222 -p CWW+L72yT7QTEPihBzAajm4pCCnM0R/mHcjnAgDLtYo= default https://localhost:8081 f4cf824eb54c5597b6661e5dc68ae025
Server default added.
$ vagrant box remove flynn-base && vagrant destroy -f && vagrant up
to no avail.System info:
Ubuntu 12.04.4 LTS
x86_64
Vagrant 1.4.3
$ vboxmanage -v
4.3.10r93012
Trying to troubleshoot this issue, not sure where to start:
default: Running: inline script
==> default: stdin: is not a tty
==> default: Configuring flynn with internal ip: 10.0.2.15
==> default: Pulling repository flynn/host
==> default: Pulling repository flynn/discoverd
==> default: Pulling repository flynn/etcd
==> default: 8f1c173fd885865de0b7041cc0631720cebda5fcb183bdbc96f17b7c6695da44
==> default: Pulling repository flynn/postgres
==> default: Pulling repository flynn/controller
==> default: Pulling repository flynn/gitreceive
==> default: Pulling repository flynn/strowger
==> default: Pulling repository flynn/shelf
==> default: Pulling repository flynn/slugrunner
==> default: Pulling repository flynn/slugbuilder
==> default: Pulling repository flynn/bootstrap
==> default: 2014/05/29 17:03:19 invalid character '\u007f' looking for beginning of value
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
...
...
I followed all the steps but here's where it stopped working for me:
luchia :: Projects/flynn-demo/nodejs-flynn-example ‹master› » git push flynn master
The authenticity of host '[localhost]:2201 ([127.0.0.1]:2201)' can't be established.
RSA key fingerprint is 70:ff:ab:07:6b:ee:24:e2:75:aa:ec:b7:f2:ec:34:4b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2201' (RSA) to the list of known hosts.
Counting objects: 18, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (18/18), 1.84 KiB | 0 bytes/s, done.
Total 18 (delta 6), reused 0 (delta 0)
remote: Error connecting to cluster leader: cluster: no servers found
To ssh://git@localhost:2201/example.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@localhost:2201/example.git'
luchia :: Projects/flynn-demo/nodejs-flynn-example ‹master› »
Here's the log:
vagrant@packer-virtualbox:/vagrant$ make
sudo bin/godeb install 1.2
processing https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz
error: rename go_1.2-godeb1_amd64.deb.inprogress go_1.2-godeb1_amd64.deb: text file busy
make: *** [/usr/bin/go] Error 1
vagrant@packer-virtualbox:/vagrant$ lsof | grep go
vagrant@packer-virtualbox:/vagrant$
It's obviously not locked on the linux side.
Here's what I see in windows:
When I run 'vagrant up' in this project (using Vagrant 1.6.2 / OSX Mavericks), Vagrant can't parse the box once downloaded and produces the following error:
default: Downloading: https://github.com/flynn/flynn-demo/releases/download/v0.4.0/flynn-base_virtualbox.box
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):
bsdtar: Error opening archive: Can't initialize filter; unable to run program "xz -d -qq"
On closer inspection it is complaining because the xz
utility is not installed by default in Mavericks, so users on this platform should brew install xz
first. Alternatively, should xz be added (or perhaps removed if not really needed?) as a dependency of flynn-demo?
Every other pre-packaged Vagrant box I have used works fine, leading me to think this is something specific to flynn-demo's box rather than a general Vagrant bug. But I could be mistaken.
Due to a bug in docker, running containers are occasionally unkillable. This can be solved by updating the kernel to 3.8 on the base vagrant image. Directions are found here http://docs.docker.io/installation/ubuntulinux/.
This happens when I try to follow README instructions:
Downloading box from URL: https://s3.amazonaws.com/flynn/flynn-virtualbox-ubuntu_12.04.3-amd64.box
Calculating and comparing box checksum...ime remaining: --:--:--)
d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/util/file_checksum.rb:31:in `readpartial': end of file reached (EOFError)
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/util/file_checksum.rb:31:in `block in checksum'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/util/file_checksum.rb:29:in `open'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/util/file_checksum.rb:29:in `checksum'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builtin/box_add.rb:72:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/warden.rb:34:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builder.rb:116:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/runner.rb:69:in `block in run'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/util/busy.rb:19:in `busy'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/runner.rb:69:in `run'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builtin/handle_box_url.rb:73:in `block in call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builtin/handle_box_url.rb:56:in `synchronize'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builtin/handle_box_url.rb:56:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/warden.rb:34:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/warden.rb:34:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/warden.rb:34:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builder.rb:116:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/runner.rb:69:in `block in run'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/util/busy.rb:19:in `busy'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/runner.rb:69:in `run'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builtin/call.rb:51:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/warden.rb:34:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/warden.rb:34:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/builder.rb:116:in `call'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/runner.rb:69:in `block in run'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/util/busy.rb:19:in `busy'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/action/runner.rb:69:in `run'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/machine.rb:147:in `action'
from d:/mbo/Vagrant/embedded/gems/gems/vagrant-1.4.1/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
up
-ing went smooth after I commented out two lines related to SHA check in Vagrantfile.
BTW, just in case, here is the setup: Win7 64-bit; VBox 4.3.2; Vagrant 1.4.1.
It would be convenient if we were able to reference the flynn vagrant box with a nice domain name rather than 'localhost:some port' or IP addresses. My suggestion would be 'flynnapp.com' as it's kinda like 'herokuapp.com'.
Once this is in place you could have per-app subdomains, like 'myapp.flynnapp.com'.
A few steps appear to be missing from the readme, assuming i do not have an abnormal system.
after vagrant up && vagrant ssh
and cd nodejs-example/
the next sep is to push to the repos remote, flynn vagrant@flynn:example, however a host entry or ~/.ssh/config needs to be made to have this work. After putting an entry for flynn in the etc/hosts
file, and accepting the unknown ssh_key to known_hosts, a password is required and when using vagrant\vagrant for user\pass it yields
vagrant@packer-virtualbox:/vagrant/nodejs-example$ git push flynn master
vagrant@flynn's password:
fatal: 'example' does not appear to be a git repository
fatal: The remote end hung up unexpected
perhaps using a custom image, or basing the demos off of /vagrant, which could be mounted from the repo to the host would allow some more flexibility to ensure a consistently working system
I blindly followed all the directions in the README, and I get this when I run make:
vagrant@precise64:/vagrant$ make │sarama 0 multiproducer1 %
go get -v github.com/flynn/go-discover/discoverd │sarama 13 multiproducer1 %>
github.com/flynn/go-discover/discover │sarama 78 multiproducer1 %
# github.com/flynn/go-discover/discover │
src/github.com/flynn/go-discover/discover/backend_etcd.go:90: not enough arguments in call to b.Client.Get │
src/github.com/flynn/go-discover/discover/backend_etcd.go:90: cannot use *etcd.Response as type []*etcd.Response in return argument │
src/github.com/flynn/go-discover/discover/backend_etcd.go:109: not enough arguments in call to b.Client.Get │
src/github.com/flynn/go-discover/discover/backend_etcd.go:114: b.Client.TestAndSet undefined (type *etcd.Client has no field or method TestAndSet) │
src/github.com/flynn/go-discover/discover/backend_etcd.go:114: invalid operation: resp[0] (index of type *etcd.Response) │
make: *** [bin/discoverd] Error 2 │
vagrant@precise64:/vagrant$
While trying to fire up the VM on OSX and make, I have run into some issues.
Any pointers would be appreciated, and thanks a lot for sharing this exciting project.
$ git show HEAD --pretty=oneline
32f680c4348bf292fd45c35c7a7aa352b303748f Merge pull request #21 from tonistiigi/fix-sdutil
$ vagrant ssh
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-34-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Fri Mar 28 19:16:33 2014 from 10.0.2.2
vagrant@packer-virtualbox:/vagrant$ make
go get -v github.com/flynn/discoverd
go get -v github.com/flynn/flynn-host
go get -v github.com/flynn/flynn-receive
go get -v github.com/flynn/gitreceive-next/gitreceived
go get -v github.com/flynn/sdutil
go get -v github.com/flynn/shelf
go get -v github.com/flynn/flynn-controller
go get -v github.com/flynn/flynn-cli
go get -v github.com/flynn/strowger
go get -v github.com/ddollar/forego
mkdir -p /tmp/keys
cp /home/vagrant/.ssh/id_rsa.pub /tmp/keys/vagrant
bin/forego start
forego | starting etcd on port 5000
forego | starting discoverd on port 5100
forego | starting gitreceive on port 5200
forego | starting shelf on port 5300
forego | starting strowger on port 5400
forego | starting host on port 5500
forego | starting controller on port 5600
etcd | [etcd] Mar 28 20:34:32.954 WARNING | Using the directory packer-virtualbox.etcd as the etcd curation directory because a directory was not specified.
etcd | [etcd] Mar 28 20:34:32.982 INFO | etcd server [name packer-virtualbox, listen on :4001, advertised url http://127.0.0.1:4001]
shelf | 2014/03/28 20:34:33 Error making client: dial tcp 127.0.0.1:1111: connection refused
forego | shutting down
forego | sending SIGTERM to etcd
forego | sending SIGTERM to discoverd
forego | sending SIGTERM to gitreceive
forego | sending SIGTERM to strowger
forego | sending SIGTERM to host
forego | sending SIGTERM to controller
vagrant@packer-virtualbox:/vagrant$
Bringing machine 'default' up with 'virtualbox' provider...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
GuestAdditions 4.2.12 running --- OK.
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Mounting shared folders...
[default] -- /vagrant
david-imac:~/Code/flynn-dev vagrant ssh git:master
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.8.0-33-generic x86_64)
* Documentation: https://help.ubuntu.com/
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
vagrant@precise64:/vagrant$ make
wget -O godeb.tar.gz http://j.mp/godeb
--2013-11-14 23:22:04-- http://j.mp/godeb
Resolving j.mp (j.mp)... 69.58.188.46, 69.58.188.45
Connecting to j.mp (j.mp)|69.58.188.46|:80... connected.
HTTP request sent, awaiting response... 301 Moved
Location: https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz [following]
--2013-11-14 23:22:04-- https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
Resolving godeb.s3.amazonaws.com (godeb.s3.amazonaws.com)... 205.251.243.105
Connecting to godeb.s3.amazonaws.com (godeb.s3.amazonaws.com)|205.251.243.105|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1216540 (1.2M) [binary/octet-stream]
Saving to: `godeb.tar.gz'
100%[=========================================================================================================================================================================================================================================================================>] 1,216,540 1.86M/s in 0.6s
2013-11-14 23:22:05 (1.86 MB/s) - `godeb.tar.gz' saved [1216540/1216540]
tar -zxvf godeb.tar.gz
godeb
mkdir -p bin
mv godeb bin/godeb
sudo apt-get install -y mercurial
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mercurial-common
Suggested packages:
qct wish vim emacs kdiff3 tkdiff meld xxdiff python-mysqldb python-pygments python-openssl
The following NEW packages will be installed:
mercurial mercurial-common
0 upgraded, 2 newly installed, 0 to remove and 156 not upgraded.
Need to get 1,983 kB of archives.
After this operation, 6,701 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe mercurial-common all 2.0.2-1ubuntu1 [1,945 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe mercurial amd64 2.0.2-1ubuntu1 [38.0 kB]
Fetched 1,983 kB in 1s (1,587 kB/s)
Selecting previously unselected package mercurial-common.
(Reading database ... 79456 files and directories currently installed.)
Unpacking mercurial-common (from .../mercurial-common_2.0.2-1ubuntu1_all.deb) ...
Selecting previously unselected package mercurial.
Unpacking mercurial (from .../mercurial_2.0.2-1ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Setting up mercurial-common (2.0.2-1ubuntu1) ...
Setting up mercurial (2.0.2-1ubuntu1) ...
Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
sudo apt-get install -y git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 156 not upgraded.
Need to get 6,741 kB of archives.
After this operation, 15.2 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main git amd64 1:1.7.9.5-1 [6,087 kB]
Fetched 6,741 kB in 34s (196 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 80069 files and directories currently installed.)
Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
Selecting previously unselected package git-man.
Unpacking git-man (from .../git-man_1%3a1.7.9.5-1_all.deb) ...
Selecting previously unselected package git.
Unpacking git (from .../git_1%3a1.7.9.5-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.9.5-1) ...
Setting up git (1:1.7.9.5-1) ...
sudo bin/godeb install 1.1.2
processing https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz
package go_1.1.2-godeb1_amd64.deb ready
Selecting previously unselected package go.
(Reading database ... 80717 files and directories currently installed.)
Unpacking go (from go_1.1.2-godeb1_amd64.deb) ...
Setting up go (1.1.2-godeb1) ...
wget https://github.com/coreos/etcd/releases/download/v0.1.2/etcd-v0.1.2-Linux-x86_64.tar.gz
--2013-11-14 23:23:27-- https://github.com/coreos/etcd/releases/download/v0.1.2/etcd-v0.1.2-Linux-x86_64.tar.gz
Resolving github.com (github.com)... 192.30.252.131
Connecting to github.com (github.com)|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://s3.amazonaws.com/github-cloud/releases/11225014/3621132e-3200-11e3-81b2-eee0a250d1eb.gz?response-content-disposition=attachment%3B%20filename%3Detcd-v0.1.2-Linux-x86_64.tar.gz&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1384471468&Signature=nIzChw4FiDp0xHyn%2FilbXX1kOcw%3D [following]
--2013-11-14 23:23:27-- https://s3.amazonaws.com/github-cloud/releases/11225014/3621132e-3200-11e3-81b2-eee0a250d1eb.gz?response-content-disposition=attachment%3B%20filename%3Detcd-v0.1.2-Linux-x86_64.tar.gz&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1384471468&Signature=nIzChw4FiDp0xHyn%2FilbXX1kOcw%3D
Resolving s3.amazonaws.com (s3.amazonaws.com)... 205.251.242.150
Connecting to s3.amazonaws.com (s3.amazonaws.com)|205.251.242.150|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3687906 (3.5M) [application/octet-stream]
Saving to: `etcd-v0.1.2-Linux-x86_64.tar.gz'
100%[=========================================================================================================================================================================================================================================================================>] 3,687,906 1.97M/s in 1.8s
2013-11-14 23:23:29 (1.97 MB/s) - `etcd-v0.1.2-Linux-x86_64.tar.gz' saved [3687906/3687906]
tar -zxvf etcd-v0.1.2-Linux-x86_64.tar.gz
etcd-v0.1.2-Linux-x86_64/
etcd-v0.1.2-Linux-x86_64/etcdctl
etcd-v0.1.2-Linux-x86_64/README-etcd.md
etcd-v0.1.2-Linux-x86_64/etcd
etcd-v0.1.2-Linux-x86_64/README-etcdctl.md
cp etcd-v0.1.2-Linux-x86_64/etcd bin
go get -v github.com/coreos/go-etcd/etcd
github.com/coreos/go-etcd (download)
github.com/coreos/go-log (download)
bitbucket.org/kardianos/osext (download)
github.com/coreos/go-systemd (download)
bitbucket.org/kardianos/osext
github.com/coreos/go-systemd/journal
github.com/coreos/go-log/log
github.com/coreos/go-etcd/etcd
cd src/github.com/coreos/go-etcd && git checkout 7ea284fa
Previous HEAD position was 8a44ce0... Merge pull request #50 from hmarr/modified-index
HEAD is now at 7ea284f... Merge pull request #40 from benbjohnson/decouple-response
go get -v github.com/flynn/go-discover/discoverd
github.com/flynn/go-discover (download)
github.com/flynn/rpcplus (download)
github.com/flynn/rpcplus
github.com/flynn/go-discover/discover
# github.com/flynn/go-discover/discover
src/github.com/flynn/go-discover/discover/backend_etcd.go:90: not enough arguments in call to b.Client.Get
src/github.com/flynn/go-discover/discover/backend_etcd.go:90: cannot use *etcd.Response as type []*etcd.Response in return argument
src/github.com/flynn/go-discover/discover/backend_etcd.go:109: not enough arguments in call to b.Client.Get
src/github.com/flynn/go-discover/discover/backend_etcd.go:114: b.Client.TestAndSet undefined (type *etcd.Client has no field or method TestAndSet)
src/github.com/flynn/go-discover/discover/backend_etcd.go:114: invalid operation: resp[0] (index of type *etcd.Response)
make: *** [bin/discoverd] Error 2
I checked out master/034b11ca29386b86615dea7dbe495287331d9f42, and did a vagrant up followed by make, but flynn failed to start with the following:
vagrant@packer-virtualbox:/vagrant$ make
bin/forego start
forego | starting etcd on port 5000
forego | starting discoverd on port 5100
forego | starting gitreceive on port 5200
forego | starting shelf on port 5300
forego | starting strowger on port 5400
forego | starting host on port 5500
forego | starting controller on port 5600
etcd | [etcd] Feb 8 06:40:15.341 WARNING | Using the directory packer-virtualbox.etcd as the etcd curation directory because a directory was not specified.
etcd | [etcd] Feb 8 06:40:15.368 INFO | etcd server [name packer-virtualbox, listen on :4001, advertised url http://127.0.0.1:4001]
discoverd | 2014/02/08 06:40:15 Starting server on :1111...
etcd | [etcd] Feb 8 06:40:15.425 INFO | URLs: / packer-virtualbox (http://127.0.0.1:7001)
etcd | [etcd] Feb 8 06:40:15.432 WARNING | the entire cluster is down! this peer will restart the cluster.
etcd | [etcd] Feb 8 06:40:15.432 INFO | raft server [name packer-virtualbox, listen on :7001, advertised url http://127.0.0.1:7001]
discoverd | 2014/02/08 06:40:16 Register: shelf 10.0.2.15:8888 map[]
discoverd | 2014/02/08 06:40:16 Register: flynn-strowger-rpc :1115 map[]
shelf | 2014/02/08 06:40:16 Shelf serving files on 8888 from /vagrant/storage
host | now=2014-02-08T06:40:17+0000 app=lorne at=start
discoverd | 2014/02/08 06:40:17 Register: flynn-host 10.0.2.15:1113 map[id:]
discoverd | 2014/02/08 06:40:17 Subscribe: flynn-host
discoverd | 2014/02/08 06:40:17 Subscribe: flynn-host
host | now=2014-02-08T06:40:17+0000 app=lorne fn=main at=sampi_connected
host | now=2014-02-08T06:40:17+0000 app=lorne fn=main at=host_registered
forego | shutting down
forego | sending SIGTERM to etcd
forego | sending SIGTERM to discoverd
forego | sending SIGTERM to gitreceive
forego | sending SIGTERM to shelf
forego | sending SIGTERM to strowger
forego | sending SIGTERM to controller
shelf | 2014/02/08 06:40:17 rpc: client protocol error: read tcp 127.0.0.1:1111: connection reset by peer
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.