{"action":"created","issue":{"url":"https://api.github.com/repos/flynn/flynn/issues/2084","labels_url":"https://api.github.com/repos/flynn/flynn/issues/2084/labels{/name}","comments_url":"https://api.github.com/repos/flynn/flynn/issues/2084/comments","events_url":"https://api.github.com/repos/flynn/flynn/issues/2084/events","html_url":"https://github.com/flynn/flynn/issues/2084","id":115201974,"number":2084,"title":"Can't bootstrap flynn in development environment","user":{"login":"rikur","id":4004,"avatar_url":"https://avatars.githubusercontent.com/u/4004?v=3","gravatar_id":"","url":"https://api.github.com/users/rikur","html_url":"https://github.com/rikur","followers_url":"https://api.github.com/users/rikur/followers","following_url":"https://api.github.com/users/rikur/following{/other_user}","gists_url":"https://api.github.com/users/rikur/gists{/gist_id}","starred_url":"https://api.github.com/users/rikur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikur/subscriptions","organizations_url":"https://api.github.com/users/rikur/orgs","repos_url":"https://api.github.com/users/rikur/repos","events_url":"https://api.github.com/users/rikur/events{/privacy}","received_events_url":"https://api.github.com/users/rikur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-05T03:31:52Z","updated_at":"2015-11-05T03:45:24Z","closed_at":null,"body":"Recently I have started to get the following error:\r\n```03:28:21.940907 wait router-wait error: bootstrap: timed out waiting for http://router-api.discoverd, last response \"Get http://router-api.discoverd: dial tcp: lookup router-api.discoverd: no such host\"```\r\n\r\nSteps to re-produce:\r\n - vagrant destroy\r\n - vagrant up\r\n - vagrant ssh\r\n - vagrant build\r\n - script/bootstrap-flynn\r\n\r\n```\r\n$ script/bootstrap-flynn\r\n===> 03:26:02.571 killing running libvirt-lxc flynn-host, if any\r\nerror: command 'destroy' requires <domain> option\r\n===> 03:26:06.382 done!\r\n===> 03:26:06.384 starting single node cluster\r\nopening volume state db...\r\nDBUG[11-05|03:26:06] zfs get all -Hp flynn-default            package=zfs\r\nDBUG[11-05|03:26:06] zfs get all -Hp flynn-default/152f3476-4a12-4713-9708-e8619601fbdc package=zfs\r\nDBUG[11-05|03:26:06] zfs get all -Hp flynn-default/6d90d807-4291-49ed-8cb5-8f55e14072a9 package=zfs\r\nDBUG[11-05|03:26:06] zfs get all -Hp flynn-default/c98e4744-2899-4111-be9a-63f7d24c1f5f package=zfs\r\nvolume state db opened.\r\nremoving volume id=\"c98e4744-2899-4111-be9a-63f7d24c1f5f\"... DBUG[11-05|03:26:06] zfs destroy -f flynn-default/c98e4744-2899-4111-be9a-63f7d24c1f5f package=zfs\r\nsuccess\r\nremoving volume id=\"152f3476-4a12-4713-9708-e8619601fbdc\"... DBUG[11-05|03:26:06] zfs destroy -f flynn-default/152f3476-4a12-4713-9708-e8619601fbdc package=zfs\r\nsuccess\r\nremoving volume id=\"6d90d807-4291-49ed-8cb5-8f55e14072a9\"... DBUG[11-05|03:26:06] zfs destroy -f flynn-default/6d90d807-4291-49ed-8cb5-8f55e14072a9 package=zfs\r\nsuccess\r\nstate db file \"/var/lib/flynn/volumes/volumes.bolt\" removed.\r\n===> 03:26:06.801 bootstrapping Flynn\r\n03:26:06.887065 check online-hosts\r\n03:26:07.918948 require-env require-env\r\n03:26:07.920627 resource-check resource-check\r\n03:26:07.923418 run-app discoverd\r\n03:26:08.720173 run-app flannel\r\n03:26:09.434233 wait-hosts wait-hosts\r\n03:26:11.445158 gen-random pg-password\r\n03:26:11.445400 gen-random pg-password 159ad88994a024cc8293ab0272928764\r\n03:26:11.445473 run-app postgres\r\n03:26:14.164411 gen-random controller-key\r\n03:26:14.164547 gen-random controller-key c2af74c835578a2cab916ed0aab77727\r\n03:26:14.164554 gen-random dashboard-session-secret\r\n03:26:14.164616 gen-random dashboard-session-secret 355e08f0979715d4305575a5c53e3dad\r\n03:26:14.164625 gen-random dashboard-login-token\r\n03:26:14.165355 gen-random dashboard-login-token d8526a5ed0f499819a4d116046ea7610\r\n03:26:14.165632 gen-random name-seed\r\n03:26:14.165947 gen-random name-seed 71bff21e0641a39ecf60\r\n03:26:14.166434 gen-random router-sticky-key\r\n03:26:14.167022 gen-random router-sticky-key MCsseZb5zCBrZci5xcJO8/BqwAnfZYCLbwNtLHYXs9Y=\r\n03:26:14.167118 wait postgres-wait\r\n03:26:14.695944 gen-tls-cert controller-cert\r\n03:26:17.964597 gen-tls-cert controller-cert pin: v1QwXeQRXP863t4M3THOns7PIh/hav2/s5K7sMibmrc=\r\n03:26:17.964648 run-app controller\r\n03:26:19.110120 wait controller-wait\r\n03:26:19.793107 add-app controller-inception\r\n03:26:19.864550 add-app postgres-app\r\n03:26:19.889076 add-app flannel-app\r\n03:26:19.910369 add-app discoverd-app\r\n03:26:19.929919 scale-app scheduler-scale\r\n03:26:19.935912 run-app scheduler\r\n03:26:20.518697 deploy-app blobstore\r\n03:26:21.016965 deploy-app router\r\n03:26:21.426683 deploy-app gitreceive\r\n03:26:21.455515 wait router-wait\r\n03:28:21.940907 wait router-wait error: bootstrap: timed out waiting for http://router-api.discoverd, last response \"Get http://router-api.discoverd: dial tcp: lookup router-api.discoverd: no such host\"\r\n```"},"comment":{"url":"https://api.github.com/repos/flynn/flynn/issues/comments/153946399","html_url":"https://github.com/flynn/flynn/issues/2084#issuecomment-153946399","issue_url":"https://api.github.com/repos/flynn/flynn/issues/2084","id":153946399,"user":{"login":"titanous","id":13026,"avatar_url":"https://avatars.githubusercontent.com/u/13026?v=3","gravatar_id":"","url":"https://api.github.com/users/titanous","html_url":"https://github.com/titanous","followers_url":"https://api.github.com/users/titanous/followers","following_url":"https://api.github.com/users/titanous/following{/other_user}","gists_url":"https://api.github.com/users/titanous/gists{/gist_id}","starred_url":"https://api.github.com/users/titanous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanous/subscriptions","organizations_url":"https://api.github.com/users/titanous/orgs","repos_url":"https://api.github.com/users/titanous/repos","events_url":"https://api.github.com/users/titanous/events{/privacy}","received_events_url":"https://api.github.com/users/titanous/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T03:45:24Z","updated_at":"2015-11-05T03:45:24Z","body":"This looks like the relevant error:\r\n\r\n> error binding to port (check if another service is listening on :3128): address already in use"}}