{"action":"created","issue":{"url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7767","labels_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7767/labels{/name}","comments_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7767/comments","events_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7767/events","html_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7767","id":105200870,"number":7767,"title":"HPCC-14155 Avoid slaves unregistering after clean shutdown request","user":{"login":"jakesmith","id":902700,"avatar_url":"https://avatars.githubusercontent.com/u/902700?v=3","gravatar_id":"","url":"https://api.github.com/users/jakesmith","html_url":"https://github.com/jakesmith","followers_url":"https://api.github.com/users/jakesmith/followers","following_url":"https://api.github.com/users/jakesmith/following{/other_user}","gists_url":"https://api.github.com/users/jakesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jakesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakesmith/subscriptions","organizations_url":"https://api.github.com/users/jakesmith/orgs","repos_url":"https://api.github.com/users/jakesmith/repos","events_url":"https://api.github.com/users/jakesmith/events{/privacy}","received_events_url":"https://api.github.com/users/jakesmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-07T11:43:43Z","updated_at":"2015-09-07T11:51:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/pulls/7767","html_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7767","diff_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7767.diff","patch_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7767.patch"},"body":"The Thor master tells the slaves to shutdown, but doesn't wait for\r\nacknowledgement and quits, the thor scripts then send a SIGTERM\r\nsignal to the slaves, which (in a race condition) can cause the\r\nslaves to attempt to unregister from the master, by which time\r\nthe master has quit.\r\nAs a result the slaves throw an unregistration error and log it.\r\n\r\nThis change waits for the slaves to acknowledge the shutdown and\r\nflags not to unregister if a signal is subsequently received.\r\n\r\nSigned-off-by: Jake Smith <jake.smith@lexisnexis.com>"},"comment":{"url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/comments/138278207","html_url":"https://github.com/hpcc-systems/HPCC-Platform/pull/7767#issuecomment-138278207","issue_url":"https://api.github.com/repos/hpcc-systems/HPCC-Platform/issues/7767","id":138278207,"user":{"login":"HPCCSmoketest","id":12760108,"avatar_url":"https://avatars.githubusercontent.com/u/12760108?v=3","gravatar_id":"","url":"https://api.github.com/users/HPCCSmoketest","html_url":"https://github.com/HPCCSmoketest","followers_url":"https://api.github.com/users/HPCCSmoketest/followers","following_url":"https://api.github.com/users/HPCCSmoketest/following{/other_user}","gists_url":"https://api.github.com/users/HPCCSmoketest/gists{/gist_id}","starred_url":"https://api.github.com/users/HPCCSmoketest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HPCCSmoketest/subscriptions","organizations_url":"https://api.github.com/users/HPCCSmoketest/orgs","repos_url":"https://api.github.com/users/HPCCSmoketest/repos","events_url":"https://api.github.com/users/HPCCSmoketest/events{/privacy}","received_events_url":"https://api.github.com/users/HPCCSmoketest/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T11:51:37Z","updated_at":"2015-09-07T11:51:37Z","body":"Automated Smoketest Build: success\nInstall hpccsystems-platform-community-with-plugins_5.4.1-closedown0.el6.x86_64.rpm\nHPCC Start: OK\nHPCC Stop: OK\nHPCC Uninstall: OK\n"}}