{"action":"closed","issue":{"url":"https://api.github.com/repos/ngageoint/scale/issues/25","repository_url":"https://api.github.com/repos/ngageoint/scale","labels_url":"https://api.github.com/repos/ngageoint/scale/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ngageoint/scale/issues/25/comments","events_url":"https://api.github.com/repos/ngageoint/scale/issues/25/events","html_url":"https://github.com/ngageoint/scale/issues/25","id":136177224,"number":25,"title":"Move automatic node pausing to NodeManager","user":{"login":"dfaller","id":15897378,"avatar_url":"https://avatars3.githubusercontent.com/u/15897378?v=4","gravatar_id":"","url":"https://api.github.com/users/dfaller","html_url":"https://github.com/dfaller","followers_url":"https://api.github.com/users/dfaller/followers","following_url":"https://api.github.com/users/dfaller/following{/other_user}","gists_url":"https://api.github.com/users/dfaller/gists{/gist_id}","starred_url":"https://api.github.com/users/dfaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfaller/subscriptions","organizations_url":"https://api.github.com/users/dfaller/orgs","repos_url":"https://api.github.com/users/dfaller/repos","events_url":"https://api.github.com/users/dfaller/events{/privacy}","received_events_url":"https://api.github.com/users/dfaller/received_events","type":"User","site_admin":false},"labels":[{"id":322152838,"url":"https://api.github.com/repos/ngageoint/scale/labels/database%20migration","name":"database migration","color":"fbca04","default":false},{"id":322153595,"url":"https://api.github.com/repos/ngageoint/scale/labels/refactor","name":"refactor","color":"c7def8","default":false},{"id":322153039,"url":"https://api.github.com/repos/ngageoint/scale/labels/scheduler","name":"scheduler","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-02-24T20:25:43Z","updated_at":"2017-08-01T13:30:16Z","closed_at":"2017-08-01T13:30:16Z","body":"Right now the automatic node pausing is triggered during the ScaleScheduler.statusUpdate() callback, adding unnecessary execution time. Also, the logic for when automatic pausing is triggered should be looked at. The current query is highly inefficient and expensive.\n\nMove the automated node pausing logic into the NodeManager. The NodeManager can collect information about job execution failures during scheduler callbacks. Then it can perform automatic pausing when needed in its sync_with_database() thread.\nWe need to have a group discussion to figure out the best approach for automatically triggering node pausing.\n"}}
{"actor":{"display_login":"dfaller"}}