{"action":"created","issue":{"url":"https://api.github.com/repos/paz-sh/paz-scheduler/issues/29","labels_url":"https://api.github.com/repos/paz-sh/paz-scheduler/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/paz-sh/paz-scheduler/issues/29/comments","events_url":"https://api.github.com/repos/paz-sh/paz-scheduler/issues/29/events","html_url":"https://github.com/paz-sh/paz-scheduler/issues/29","id":90104631,"number":29,"title":"Deploy failed: spawn ENOENT","user":{"login":"jacyzon","id":1522988,"avatar_url":"https://avatars.githubusercontent.com/u/1522988?v=3","gravatar_id":"","url":"https://api.github.com/users/jacyzon","html_url":"https://github.com/jacyzon","followers_url":"https://api.github.com/users/jacyzon/followers","following_url":"https://api.github.com/users/jacyzon/following{/other_user}","gists_url":"https://api.github.com/users/jacyzon/gists{/gist_id}","starred_url":"https://api.github.com/users/jacyzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacyzon/subscriptions","organizations_url":"https://api.github.com/users/jacyzon/orgs","repos_url":"https://api.github.com/users/jacyzon/repos","events_url":"https://api.github.com/users/jacyzon/events{/privacy}","received_events_url":"https://api.github.com/users/jacyzon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-22T13:55:54Z","updated_at":"2015-06-25T09:28:34Z","closed_at":null,"body":"[Last Image (f553e4)](\r\nhttps://quay.io/repository/yldio/paz-scheduler/image/f553e4173f0f1c6dbe3c603cf9bd1a41e957dc20b02bacb07b47dd82510b9c9c) ok, but [latest image(4bf8d7)](https://quay.io/repository/yldio/paz-scheduler/image/4bf8d75034e5ad7028a49b8848a5eabd369ff1c0930cc9961167af8d6eded56f) failed.\r\n\r\nRequest:\r\n![screenshot_2015-06-22_21-49-43](https://cloud.githubusercontent.com/assets/1522988/8283290/1853836a-1929-11e5-8b8d-1629cb26d4c0.png)\r\n\r\nResponse:\r\n```\r\n\"spawn ENOENT\"\r\n```\r\n\r\nServer log:\r\n```\r\nJun 22 13:54:55 paz01 bash[27186]: {\"name\":\"paz-scheduler_log\",\"hostname\":\"cc81a5456b31\",\"pid\":5,\"level\":30,\"req\":{\"method\":\"POST\",\"url\":\"/hooks/deploy\"},\"res\":{\"statusCode\":200,\"header\":\"\"},\"uuid\":\"3qp2n0\",\"msg\":\"\",\"time\":\"2015-06-22T13:54:55.778Z\",\"src\":{\"file\":\"/usr/src/app/middleware/logger.js\",\"line\":2,\"func\":\"module.exports\"},\"v\":0}\r\nJun 22 13:54:55 paz01 bash[27186]: {\"name\":\"paz-scheduler_log\",\"hostname\":\"cc81a5456b31\",\"pid\":5,\"level\":30,\"deploy.post\":\"*\",\"uuid\":\"3qp2n0\",\"msg\":\"\",\"time\":\"2015-06-22T13:54:55.783Z\",\"src\":{\"file\":\"/usr/src/app/hooks/deploy/controller.js\",\"line\":17,\"func\":\"controller.post\"},\"v\":0}\r\nJun 22 13:54:55 paz01 bash[27186]: {\"name\":\"paz-scheduler_log\",\"hostname\":\"cc81a5456b31\",\"pid\":5,\"level\":50,\"err\":{\"message\":\"spawn ENOENT\",\"name\":\"Error\",\"stack\":\"Error: spawn ENOENT\\n    at /usr/src/app/lib/deploy.js:71:19\\n    at /usr/src/app/node_modules/async/lib/async.js:240:13\\n    at done (/usr/src/app/node_modules/async/lib/async.js:122:15)\\n    at /usr/src/app/node_modules/async/lib/async.js:25:16\\n    at /usr/src/app/node_modules/async/lib/async.js:237:17\\n    at /usr/src/app/node_modules/async/lib/async.js:560:34\\n    at exithandler (child_process.js:644:7)\\n    at ChildProcess.errorhandler (child_process.js:660:5)\\n    at ChildProcess.emit (events.js:95:17)\\n    at Process.ChildProcess._handle.onexit (child_process.js:808:12)\"},\"msg\":\"spawn ENOENT\",\"time\":\"2015-06-22T13:54:55.870Z\",\"src\":{\"file\":\"/usr/src/app/hooks/deploy/model.js\",\"line\":62},\"v\":0}\r\n```"},"comment":{"url":"https://api.github.com/repos/paz-sh/paz-scheduler/issues/comments/115183286","html_url":"https://github.com/paz-sh/paz-scheduler/issues/29#issuecomment-115183286","issue_url":"https://api.github.com/repos/paz-sh/paz-scheduler/issues/29","id":115183286,"user":{"login":"sublimino","id":134117,"avatar_url":"https://avatars.githubusercontent.com/u/134117?v=3","gravatar_id":"","url":"https://api.github.com/users/sublimino","html_url":"https://github.com/sublimino","followers_url":"https://api.github.com/users/sublimino/followers","following_url":"https://api.github.com/users/sublimino/following{/other_user}","gists_url":"https://api.github.com/users/sublimino/gists{/gist_id}","starred_url":"https://api.github.com/users/sublimino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublimino/subscriptions","organizations_url":"https://api.github.com/users/sublimino/orgs","repos_url":"https://api.github.com/users/sublimino/repos","events_url":"https://api.github.com/users/sublimino/events{/privacy}","received_events_url":"https://api.github.com/users/sublimino/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T09:28:34Z","updated_at":"2015-06-25T09:28:34Z","body":"As the integration tests are still not building correctly (due to a\nfleetctl issue, haven't hacked on them for a few days) I haven't looked at\nthis. The CI server is back up, but it seems that wasn't the problem. I'll\nhave a look at the diff between github revisions of those two image hashes\nwhen I get a mo.\n\nOn Wed, 24 Jun 2015 at 18:03 Jason Chen YiZhang <notifications@github.com>\nwrote:\n\n> It's not related with the CI system, I mean that it happend when I click\n> the deploy buttom, the scheduler just return `spawn ENOENT`, not sure what\n> causes that.\n> 2015/6/25 上午12:19 於 \"Luke Bond\" <notifications@github.com> 寫道：\n>\n> > @sublimino <https://github.com/sublimino> we can close this now yeah?\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <\n> https://github.com/paz-sh/paz-scheduler/issues/29#issuecomment-114930175>\n> > .\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/paz-sh/paz-scheduler/issues/29#issuecomment-114942621>\n> .\n>\n"}}