{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/3561","labels_url":"https://api.github.com/repos/deis/deis/issues/3561/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/3561/comments","events_url":"https://api.github.com/repos/deis/deis/issues/3561/events","html_url":"https://github.com/deis/deis/pull/3561","id":70415286,"number":3561,"title":"feat(contrib): optional graceful shutdown","user":{"login":"iancoffey","id":1152225,"avatar_url":"https://avatars.githubusercontent.com/u/1152225?v=3","gravatar_id":"","url":"https://api.github.com/users/iancoffey","html_url":"https://github.com/iancoffey","followers_url":"https://api.github.com/users/iancoffey/followers","following_url":"https://api.github.com/users/iancoffey/following{/other_user}","gists_url":"https://api.github.com/users/iancoffey/gists{/gist_id}","starred_url":"https://api.github.com/users/iancoffey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iancoffey/subscriptions","organizations_url":"https://api.github.com/users/iancoffey/orgs","repos_url":"https://api.github.com/users/iancoffey/repos","events_url":"https://api.github.com/users/iancoffey/events{/privacy}","received_events_url":"https://api.github.com/users/iancoffey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deis/deis/labels/contrib%20and%20provisioning","name":"contrib and provisioning","color":"009800"},{"url":"https://api.github.com/repos/deis/deis/labels/requires-manual-testing","name":"requires-manual-testing","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/deis/deis/milestones/38","html_url":"https://github.com/deis/deis/milestones/v1.7","labels_url":"https://api.github.com/repos/deis/deis/milestones/38/labels","id":1049629,"number":38,"title":"v1.7","description":"","creator":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":48,"state":"open","created_at":"2015-04-01T23:56:10Z","updated_at":"2015-05-19T16:43:05Z","due_on":"2015-06-02T06:00:00Z","closed_at":null},"comments":19,"created_at":"2015-04-23T13:41:04Z","updated_at":"2015-05-19T19:07:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/deis/deis/pulls/3561","html_url":"https://github.com/deis/deis/pull/3561","diff_url":"https://github.com/deis/deis/pull/3561.diff","patch_url":"https://github.com/deis/deis/pull/3561.patch"},"body":"This is an attempt to add logic to gracefully remove a node from a cluster when halt, shutdown or reboot units are called on the host.\r\n\r\n- [x] Where should the graceful shutdown script actually live? Its just a gist right now for convenience. I guess it could be in write files, but I feel like that size script prob shouldnt be directly in user-data.\r\n- [x] The graceful stop unit does indeed get called during shutdown, halt or reboot, but seems to be unable to complete. Im not sure why yet. It runs as expected when called any other way.\r\n- [x] Refactor graceful stop unit to be less brittle.\r\n- [ ] Are there any other steps we can take to make this smoother?"},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/103636063","html_url":"https://github.com/deis/deis/pull/3561#issuecomment-103636063","issue_url":"https://api.github.com/repos/deis/deis/issues/3561","id":103636063,"user":{"login":"iancoffey","id":1152225,"avatar_url":"https://avatars.githubusercontent.com/u/1152225?v=3","gravatar_id":"","url":"https://api.github.com/users/iancoffey","html_url":"https://github.com/iancoffey","followers_url":"https://api.github.com/users/iancoffey/followers","following_url":"https://api.github.com/users/iancoffey/following{/other_user}","gists_url":"https://api.github.com/users/iancoffey/gists{/gist_id}","starred_url":"https://api.github.com/users/iancoffey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iancoffey/subscriptions","organizations_url":"https://api.github.com/users/iancoffey/orgs","repos_url":"https://api.github.com/users/iancoffey/repos","events_url":"https://api.github.com/users/iancoffey/events{/privacy}","received_events_url":"https://api.github.com/users/iancoffey/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T19:07:33Z","updated_at":"2015-05-19T19:07:33Z","body":"@bacongobbler what provider did you use to create this cluster? Ive actually only tested this on ec2."}}