Skip to content

Instantly share code, notes, and snippets.

-----> Build succeeded!
+-- ejs@1.0.0
`-- express@4.13.4
-----> Discovering process types
Procfile declares types -> web
Default process types for Node.js -> web
-----> Compiled slug size is 53M
2016-07-07T14:59:44.269384Z app[web.flynn1463186041-f5173cd4-c5c5-40eb-8abc-99e8e9ff686c]: t=2016-07-07T14:59:44+0000 lvl=info msg="request completed" component=controller req_id=1071f078-254d-46ba-9bcc-fd721086a9cb status=200 duration=15.748103ms
2016-07-07T14:59:44.332363Z app[web.flynn1463186041-f5173cd4-c5c5-40eb-8abc-99e8e9ff686c]: t=2016-07-07T14:59:44+0000 lvl=info msg="request started" component=controller req_id=ef3e1e55-4cc0-4a54-885a-e6706cb2775c method=GET path=/active-jobs client_ip=100.100.83.49
2016-07-07T14:59:44.335186Z app[web.flynn1463186041-f5173cd4-c5c5-40eb-8abc-99e8e9ff686c]: t=2016-07-07T14:59:44+0000 lvl=info msg="request completed" component=controller req_id=ef3e1e55-4cc0-4a54-885a-e6706cb2775c status=200 duration=2.885165ms
2016-07-07T15:00:14.299865Z app[web.flynn1463186041-f5173cd4-c5c5-40eb-8abc-99e8e9ff686c]: t=2016-07-07T15:00:14+0000 lvl=info msg="request started" component=controller req_id=430f3dcf-ea1e-48fd-b199-5ee46c43b5ce method=GET path=/active-jobs client_ip=100.100.8
root@flynn-1463186041:~# flynn-host update
INFO[07-07|13:28:51] initializing TUF client
INFO[07-07|13:28:51] updating TUF data
INFO[07-07|13:28:52] getting configured release channel
INFO[07-07|13:28:52] determining latest version of stable release channel
INFO[07-07|13:28:52] latest stable version is v20160624.1
INFO[07-07|13:28:52] downloading v20160624.1 flynn-host binary
INFO[07-07|13:28:53] executing latest flynn-host binary
INFO[07-07|13:28:53] initializing TUF client
INFO[07-07|13:28:53] reading TUF database
t=2016-07-07T13:22:43-0400 lvl=info msg="starting daemon" app=host pid=6200 fn=runDaemon host.id=flynn1463186041
t=2016-07-07T13:22:43-0400 lvl=info msg="validating host ID" app=host pid=6200 fn=runDaemon host.id=flynn1463186041
t=2016-07-07T13:22:43-0400 lvl=info msg="detecting external IP" app=host pid=6200 fn=runDaemon host.id=flynn1463186041
t=2016-07-07T13:22:43-0400 lvl=info msg="using external IP 104.236.24.234" app=host pid=6200 fn=runDaemon host.id=flynn1463186041
t=2016-07-07T13:22:43-0400 lvl=info msg="registering with cluster discovery service" app=host pid=6200 fn=runDaemon host.id=flynn1463186041 token=https://discovery.flynn.io/clusters/1981a451-f7d9-4146-9a36-b7584c530223 addr=104.236.24.234:1113 name=flynn1463186041
t=2016-07-07T13:22:44-0400 lvl=info msg="registered with cluster discovery service" app=host pid=6200 fn=runDaemon host.id=flynn1463186041 id=f06daecc-065e-4838-a273-440deced7a5e
t=2016-07-07T13:22:44-0400 lvl=info msg="initializing volume manager" app=host pid=6200 fn=runDaemon h
root@flynn-1463186041:~# flynn-host ps
ID STATE CREATED CONTROLLER APP CONTROLLER TYPE ERROR
flynn1463186041-a0548e89-29ad-4b68-8217-4d57a2ce6d9f running 25 seconds ago controller scheduler
flynn1463186041-7679a600-4568-4bc6-b5a1-1727abdeab61 running 36 minutes ago discoverd app
flynn1463186041-507f6d47-47e3-49c3-b79b-4791836d9152 running 36 minutes ago controller web
flynn1463186041-491137ca-8137-4287-bb55-c1266a43a89e running 36 minutes ago flannel app
flynn1463186041-25d77a81-5d39-451c-8628-fc18bfbb07bb running 36 minutes ago postgres postgres
[root@flynn-1463186041:~# flynn-host log flynn1463186041-a0548e89-29ad-4b68-8217-4d57a2ce6d9f
t=2016-07-07T18:05:11+0000 lvl=info msg="creating cluster and controller clients" component=scheduler fn=main
t=2016-07-07T18:05:11+0000 lvl=info msg="waiting for controller API to come up" component=scheduler fn=main
t=2016-07-07T18:05:11+0000 lvl=info msg="started scheduler" component=scheduler fn=main backoffPeriod=10m0s
t=2016-07-07T18:05:11+0000 lvl=info msg="starting scheduler loop" component=scheduler fn=Run
t=2016-07-07T18:05:11+0000 lvl=info msg="connecting host event stream" component=scheduler fn=streamHostEvents
t=2016-07-07T18:05:11+0000 lvl=info msg="serving HTTP requests" component=scheduler fn=startHTTPServer addr=:5000
t=2016-07-07T18:05:11+0000 lvl=info msg="handling host event" component=scheduler fn=HandleHostEvent event.type=up
t=2016-07-07T18:05:11+0000 lvl=info msg="host is up, starting job event stream" component=scheduler fn=handleNewHost host.id=flynn1463186041
t=2016-07-07T18:05:11+0000 lvl
This file has been truncated, but you can view the full file.
t=2016-07-07T17:19:06+0000 lvl=info msg="request started" component=controller req_id=153441b6-edeb-46d5-8fe4-2cf5b8f749e8 method=GET path=/apps/controller/release client_ip=100.100.83.1
t=2016-07-07T17:19:06+0000 lvl=info msg="request completed" component=controller req_id=153441b6-edeb-46d5-8fe4-2cf5b8f749e8 status=200 duration=37.185089ms
t=2016-07-07T17:19:06+0000 lvl=info msg="request started" component=controller req_id=b9cb496e-45e5-4d1d-84fa-a8f7c70b6e41 method=GET path=/apps/controller/formations/bb6ba127-97fd-4f07-a233-27cc52f55fc0 client_ip=100.100.83.1
t=2016-07-07T17:19:06+0000 lvl=info msg="request completed" component=controller req_id=b9cb496e-45e5-4d1d-84fa-a8f7c70b6e41 status=200 duration=2.02112ms
t=2016-07-07T17:19:06+0000 lvl=info msg="request started" component=controller req_id=ac583186-2c12-4308-9542-62b83bf7ea3d method=GET path=/apps/router/release client_ip=100.100.83.1
t=2016-07-07T17:19:06+0000 lvl=info msg="request completed" component=controller req_id=ac583186-2c12-4308-9542-62b
Cyrils-MacBook-Pro:flynn cyril$ flynn import --file ltfm.tar
30.63 KB / 14.40 MB [>-------------------------------------------------------------------------] 0.21 % 13.71 KB/s 17m53spg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 6; 2615 2200 SCHEMA public postgres
pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of schema public
Command was: DROP SCHEMA IF EXISTS public;
pg_restore: [archiver (db)] could not execute query: ERROR: schema "public" already exists
Command was: CREATE SCHEMA public;
Cyrils-MacBook-Pro:flynn cyril$ flynn import --file uab.tar
160.00 KB / 15.20 MB [>------------------------------------------------------------------------] 1.03 % 112.51 KB/s 2m16spg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 6; 2615 2200 SCHEMA public postgres
pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of schema public
Command was: DROP SCHEMA IF EXISTS public;
pg_restore: [archiver (db)] could not execute query: ERROR: schema "public" already exists
Command was: CREATE SCHEMA public;
root@flynn-1463186041:~# flynn-host collect-debug-info
INFO[08-05|15:13:46] uploading logs and debug information to a private, anonymous gist
INFO[08-05|15:13:46] this may take a while depending on the size of your logs
INFO[08-05|15:13:46] getting flynn-host logs
INFO[08-05|15:14:36] getting scheduler state
EROR[08-05|15:16:56] error getting scheduler state err="object_not_found: no leader found"
INFO[08-05|15:16:56] getting job logs
EROR[08-05|15:16:56] error getting job logs, falling back to on-disk logs err="could not list hosts: object_not_found: service not found"
INFO[08-05|15:16:56] getting system information
EROR[08-05|15:16:56] error capturing output of "ps faux" err="fork/exec /bin/ps: cannot allocate memory"