{"action":"reopened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/26672","labels_url":"https://api.github.com/repos/saltstack/salt/issues/26672/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/26672/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/26672/events","html_url":"https://github.com/saltstack/salt/issues/26672","id":103334521,"number":26672,"title":"salt-minion and salt-master displaying traceback when started","user":{"login":"nmadhok","id":3374962,"avatar_url":"https://avatars.githubusercontent.com/u/3374962?v=3","gravatar_id":"","url":"https://api.github.com/users/nmadhok","html_url":"https://github.com/nmadhok","followers_url":"https://api.github.com/users/nmadhok/followers","following_url":"https://api.github.com/users/nmadhok/following{/other_user}","gists_url":"https://api.github.com/users/nmadhok/gists{/gist_id}","starred_url":"https://api.github.com/users/nmadhok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmadhok/subscriptions","organizations_url":"https://api.github.com/users/nmadhok/orgs","repos_url":"https://api.github.com/users/nmadhok/repos","events_url":"https://api.github.com/users/nmadhok/events{/privacy}","received_events_url":"https://api.github.com/users/nmadhok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P3","name":"P3","color":"0a3d77"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2539,"closed_issues":2554,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-09-08T19:29:33Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-08-26T18:19:23Z","updated_at":"2015-09-08T19:29:33Z","closed_at":null,"body":"When starting/restarting salt-master/salt-minion on latest develop branch, it displays a traceback and gets hung. After a KeyBoard Interrupt, it displays ``OK``. \r\n\r\n```\r\nroot@nitin-salt-develop:~/salt$ service salt-master stop\r\nStopping salt-master daemon:                               [  OK  ]\r\nroot@nitin-salt-develop:~/salt$ service salt-master start\r\nStarting salt-master daemon: Error in atexit._run_exitfuncs:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python2.6/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/usr/lib64/python2.6/multiprocessing/util.py\", line 269, in _exit_function\r\n    p.join()\r\n  File \"/usr/lib64/python2.6/multiprocessing/process.py\", line 117, in join\r\n    assert self._parent_pid == os.getpid(), 'can only join a child process'\r\nAssertionError: can only join a child process\r\nError in sys.exitfunc:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python2.6/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/usr/lib64/python2.6/multiprocessing/util.py\", line 269, in _exit_function\r\n    p.join()\r\n  File \"/usr/lib64/python2.6/multiprocessing/process.py\", line 117, in join\r\n    assert self._parent_pid == os.getpid(), 'can only join a child process'\r\nAssertionError: can only join a child process\r\n^CError in atexit._run_exitfuncs:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python2.6/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/usr/lib64/python2.6/multiprocessing/util.py\", line 269, in _exit_function\r\n    p.join()\r\n  File \"/usr/lib64/python2.6/multiprocessing/process.py\", line 119, in join\r\n    res = self._popen.wait(timeout)\r\n  File \"/usr/lib64/python2.6/multiprocessing/forking.py\", line 122, in wait\r\n    return self.poll(0)\r\n  File \"/usr/lib64/python2.6/multiprocessing/forking.py\", line 107, in poll\r\n    pid, sts = os.waitpid(self.pid, flag)\r\nKeyboardInterrupt\r\nError in sys.exitfunc:\r\nError in sys.excepthook:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.6/site-packages/salt/log/setup.py\", line 906, in __global_logging_exception_handler\r\n    shutdown_multiprocessing_logging_listener()\r\n  File \"/usr/lib/python2.6/site-packages/salt/log/setup.py\", line 800, in shutdown_multiprocessing_logging_listener\r\n    __MP_LOGGING_QUEUE_PROCESS.terminate()\r\n  File \"/usr/lib64/python2.6/multiprocessing/process.py\", line 111, in terminate\r\n    self._popen.terminate()\r\n  File \"/usr/lib64/python2.6/multiprocessing/forking.py\", line 139, in terminate\r\n    os.kill(self.pid, signal.SIGTERM)\r\nOSError: [Errno 3] No such process\r\n\r\nOriginal exception was:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python2.6/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/usr/lib64/python2.6/multiprocessing/util.py\", line 269, in _exit_function\r\n    p.join()\r\n  File \"/usr/lib64/python2.6/multiprocessing/process.py\", line 119, in join\r\n    res = self._popen.wait(timeout)\r\n  File \"/usr/lib64/python2.6/multiprocessing/forking.py\", line 122, in wait\r\n    return self.poll(0)\r\n  File \"/usr/lib64/python2.6/multiprocessing/forking.py\", line 107, in poll\r\n    pid, sts = os.waitpid(self.pid, flag)\r\nKeyboardInterrupt\r\n                                                           [  OK  ]\r\n```"}}