Skip to content

Instantly share code, notes, and snippets.

@lmars
Created June 2, 2014 15:27
Show Gist options
  • Save lmars/a54a791e1434a0a311a8 to your computer and use it in GitHub Desktop.
Save lmars/a54a791e1434a0a311a8 to your computer and use it in GitHub Desktop.
Flynn Scheduler Restarts
# flynn scale web=2
now=2014-06-02T15:14:46+0000 app=controller-scheduler fn=watchFormations app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 at=new
now=2014-06-02T15:14:46+0000 fn=rectify app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 type=web expected=2 actual=0 app=controller-scheduler at=update diff=2
now=2014-06-02T15:14:46+0000 app=controller-scheduler fn=add app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 host.id=00687624bf25 job.id=032bb075d20a44eb8108117be085b5cb
now=2014-06-02T15:14:46+0000 app=controller-scheduler fn=add app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 host.id=00687624bf25 job.id=75197216462545ed9d5cb0d84081fe12
# docker kill flynn-032bb075d20a44eb8108117be085b5cb
# job restarted immediately
now=2014-06-02T15:15:32+0000 app=controller-scheduler fn=watchHost host.id=00687624bf25 at=remove job.id=032bb075d20a44eb8108117be085b5cb event=stop
now=2014-06-02T15:15:32+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 old.host.id=00687624bf25 old.job.id=032bb075d20a44eb8108117be085b5cb
now=2014-06-02T15:15:32+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 new.host.id=00687624bf25 new.job.id=665192e4e48e40e68df7c3051a291acc
# wait >30s
# docker kill flynn-665192e4e48e40e68df7c3051a291acc
# job restarted immediately
now=2014-06-02T15:16:09+0000 app=controller-scheduler fn=watchHost host.id=00687624bf25 at=remove job.id=665192e4e48e40e68df7c3051a291acc event=stop
now=2014-06-02T15:16:09+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 old.host.id=00687624bf25 old.job.id=665192e4e48e40e68df7c3051a291acc
now=2014-06-02T15:16:09+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 new.host.id=00687624bf25 new.job.id=cefd715b157a41d8bd287ae7b0b76b36
# wait <30s
# docker kill flynn-cefd715b157a41d8bd287ae7b0b76b36
# job restarted after 30s
now=2014-06-02T15:16:25+0000 app=controller-scheduler fn=watchHost host.id=00687624bf25 at=remove job.id=cefd715b157a41d8bd287ae7b0b76b36 event=stop
now=2014-06-02T15:16:55+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 old.host.id=00687624bf25 old.job.id=cefd715b157a41d8bd287ae7b0b76b36
now=2014-06-02T15:16:55+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 new.host.id=00687624bf25 new.job.id=30c791dbfa8d40448943488d89198395
# wait < 30s
# docker kill flynn-30c791dbfa8d40448943488d89198395
# job restarted after 60s
now=2014-06-02T15:17:08+0000 app=controller-scheduler fn=watchHost host.id=00687624bf25 at=remove job.id=30c791dbfa8d40448943488d89198395 event=stop
now=2014-06-02T15:18:08+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 old.host.id=00687624bf25 old.job.id=30c791dbfa8d40448943488d89198395
now=2014-06-02T15:18:08+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 new.host.id=00687624bf25 new.job.id=2224dfafc4a344bd9f98605b7a4f3ac5
# wait > 30s
# docker kill flynn-2224dfafc4a344bd9f98605b7a4f3ac5
# job restarted immediately
now=2014-06-02T15:22:59+0000 app=controller-scheduler fn=watchHost host.id=00687624bf25 at=remove job.id=2224dfafc4a344bd9f98605b7a4f3ac5 event=stop
now=2014-06-02T15:22:59+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 old.host.id=00687624bf25 old.job.id=2224dfafc4a344bd9f98605b7a4f3ac5
now=2014-06-02T15:22:59+0000 app=controller-scheduler fn=restart app.id=6f98d85441b94de0bf003a40882db52a release.id=7afc7da66395445fa7a8372cdb915001 new.host.id=00687624bf25 new.job.id=33054f11b18d4145a57ab03ead2f9303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment