{"action":"created","issue":{"url":"https://api.github.com/repos/nmstate/nmstate/issues/478","repository_url":"https://api.github.com/repos/nmstate/nmstate","labels_url":"https://api.github.com/repos/nmstate/nmstate/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/nmstate/nmstate/issues/478/comments","events_url":"https://api.github.com/repos/nmstate/nmstate/issues/478/events","html_url":"https://github.com/nmstate/nmstate/pull/478","id":480723587,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA3MzY0OTI0","number":478,"title":"nm: Fix race problem on slave been deactivated by master","user":{"login":"cathay4t","id":934948,"node_id":"MDQ6VXNlcjkzNDk0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/934948?v=4","gravatar_id":"","url":"https://api.github.com/users/cathay4t","html_url":"https://github.com/cathay4t","followers_url":"https://api.github.com/users/cathay4t/followers","following_url":"https://api.github.com/users/cathay4t/following{/other_user}","gists_url":"https://api.github.com/users/cathay4t/gists{/gist_id}","starred_url":"https://api.github.com/users/cathay4t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cathay4t/subscriptions","organizations_url":"https://api.github.com/users/cathay4t/orgs","repos_url":"https://api.github.com/users/cathay4t/repos","events_url":"https://api.github.com/users/cathay4t/events{/privacy}","received_events_url":"https://api.github.com/users/cathay4t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-08-14T14:48:20Z","updated_at":"2019-08-16T04:13:44Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/nmstate/nmstate/pulls/478","html_url":"https://github.com/nmstate/nmstate/pull/478","diff_url":"https://github.com/nmstate/nmstate/pull/478.diff","patch_url":"https://github.com/nmstate/nmstate/pull/478.patch"},"body":"When master is activating, the `AutoconnectSlaves:Yes` will\r\nactivate the slaves also which will deactivate slave first,\r\nthere is a small chance(less than 1/1000), the\r\n`waitfor_active_connection_async()` fails as the slave is disconnected.\r\n\r\nTo fix this issue, when getting `DEVICE_DISCONNECTED` failure,\r\nwe try activate again with maximum 3 retry.\r\n"},"comment":{"url":"https://api.github.com/repos/nmstate/nmstate/issues/comments/521877520","html_url":"https://github.com/nmstate/nmstate/pull/478#issuecomment-521877520","issue_url":"https://api.github.com/repos/nmstate/nmstate/issues/478","id":521877520,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMTg3NzUyMA==","user":{"login":"EdDev","id":9546119,"node_id":"MDQ6VXNlcjk1NDYxMTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9546119?v=4","gravatar_id":"","url":"https://api.github.com/users/EdDev","html_url":"https://github.com/EdDev","followers_url":"https://api.github.com/users/EdDev/followers","following_url":"https://api.github.com/users/EdDev/following{/other_user}","gists_url":"https://api.github.com/users/EdDev/gists{/gist_id}","starred_url":"https://api.github.com/users/EdDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdDev/subscriptions","organizations_url":"https://api.github.com/users/EdDev/orgs","repos_url":"https://api.github.com/users/EdDev/repos","events_url":"https://api.github.com/users/EdDev/events{/privacy}","received_events_url":"https://api.github.com/users/EdDev/received_events","type":"User","site_admin":false},"created_at":"2019-08-16T04:13:44Z","updated_at":"2019-08-16T04:13:44Z","author_association":"MEMBER","body":"Could you please share the test that you run (and how) to recreate this?"}}
{"actor":{"display_login":"EdDev"}}