{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/20065","labels_url":"https://api.github.com/repos/saltstack/salt/issues/20065/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/20065/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/20065/events","html_url":"https://github.com/saltstack/salt/issues/20065","id":55529784,"number":20065,"title":"Schedule -> Orchestrate results in traceback","user":{"login":"iggy","id":20441,"avatar_url":"https://avatars.githubusercontent.com/u/20441?v=3","gravatar_id":"","url":"https://api.github.com/users/iggy","html_url":"https://github.com/iggy","followers_url":"https://api.github.com/users/iggy/followers","following_url":"https://api.github.com/users/iggy/following{/other_user}","gists_url":"https://api.github.com/users/iggy/gists{/gist_id}","starred_url":"https://api.github.com/users/iggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iggy/subscriptions","organizations_url":"https://api.github.com/users/iggy/orgs","repos_url":"https://api.github.com/users/iggy/repos","events_url":"https://api.github.com/users/iggy/events{/privacy}","received_events_url":"https://api.github.com/users/iggy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Blocker","name":"Blocker","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"eb6420"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Regression","name":"Regression","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/47","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/47/labels","id":801874,"number":47,"title":"Lithium","description":"Milestone to track important items that'll be part of the Lithium release.","creator":{"login":"pass-by-value","id":5684871,"avatar_url":"https://avatars.githubusercontent.com/u/5684871?v=3","gravatar_id":"","url":"https://api.github.com/users/pass-by-value","html_url":"https://github.com/pass-by-value","followers_url":"https://api.github.com/users/pass-by-value/followers","following_url":"https://api.github.com/users/pass-by-value/following{/other_user}","gists_url":"https://api.github.com/users/pass-by-value/gists{/gist_id}","starred_url":"https://api.github.com/users/pass-by-value/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pass-by-value/subscriptions","organizations_url":"https://api.github.com/users/pass-by-value/orgs","repos_url":"https://api.github.com/users/pass-by-value/repos","events_url":"https://api.github.com/users/pass-by-value/events{/privacy}","received_events_url":"https://api.github.com/users/pass-by-value/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":19,"state":"open","created_at":"2014-09-24T22:36:06Z","updated_at":"2015-01-30T22:43:18Z","due_on":"2014-12-17T08:00:00Z","closed_at":null},"comments":15,"created_at":"2015-01-26T20:01:10Z","updated_at":"2015-01-30T23:33:56Z","closed_at":null,"body":"We have some orchestrate jobs that are triggered by Salt's scheduler. They previously worked on 2014.1. We are now testing 2015.2 and they are failing with some interesting tracebacks that I think are related.\r\n\r\n```\r\n2015-01-26 17:13:03,288 [salt.utils.schedule                        ][ERROR   ][14175] Unhandled exception running state.orchestrate\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/schedule.py\", line 502, in handle_func\r\n    ret['return'] = self.functions[func](*args)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/runners/state.py\", line 116, in orchestrate\r\n    __jid_event__.fire_event({'data': ret, 'outputter': 'highstate'}, 'progress')\r\nNameError: global name '__jid_event__' is not defined\r\n2015-01-26 17:13:03,288 [salt.utils.schedule                        ][ERROR   ][14172] Unhandled exception running state.orchestrate\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/schedule.py\", line 502, in handle_func\r\n    ret['return'] = self.functions[func](*args)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/runners/state.py\", line 116, in orchestrate\r\n    __jid_event__.fire_event({'data': ret, 'outputter': 'highstate'}, 'progress')\r\nNameError: global name '__jid_event__' is not defined\r\n```\r\nand \r\n```\r\n2015-01-26 19:27:36,701 [salt.utils.schedule                        ][ERROR   ][20041] Unhandled exception running state.orchestrate\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/schedule.py\", line 502, in handle_func\r\n    ret['return'] = self.functions[func](*args)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/runners/state.py\", line 114, in orchestrate\r\n    pillar=pillar)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/modules/state.py\", line 593, in sls\r\n    opts = _get_opts(kwargs.get('localconfig'))\r\n  File \"/usr/lib/python2.7/dist-packages/salt/modules/state.py\", line 152, in _get_opts\r\n    opts = copy.deepcopy(__opts__)\r\n  File \"/usr/lib/python2.7/copy.py\", line 163, in deepcopy\r\n    y = copier(x, memo)\r\n  File \"/usr/lib/python2.7/copy.py\", line 257, in _deepcopy_dict\r\n    y[deepcopy(key, memo)] = deepcopy(value, memo)\r\n  File \"/usr/lib/python2.7/copy.py\", line 182, in deepcopy\r\n    rv = reductor(2)\r\n  File \"/usr/lib/python2.7/multiprocessing/sharedctypes.py\", line 213, in __reduce__\r\n    assert_spawning(self)\r\n  File \"/usr/lib/python2.7/multiprocessing/forking.py\", line 51, in assert_spawning\r\n    ' through inheritance' % type(self).__name__\r\nRuntimeError: SynchronizedString objects should only be shared between processes through inheritance\r\n```\r\n\r\n```\r\nbjackson@dev-salt01:~$ salt-master --versions\r\n           Salt: 2015.2.0-1345-gd7a0405\r\n         Python: 2.7.3 (default, Mar 13 2014, 11:03:55)\r\n         Jinja2: 2.6\r\n       M2Crypto: 0.21.1\r\n msgpack-python: 0.1.10\r\n   msgpack-pure: Not Installed\r\n       pycrypto: 2.6\r\n        libnacl: Not Installed\r\n         PyYAML: 3.10\r\n          ioflo: Not Installed\r\n          PyZMQ: 13.1.0\r\n           RAET: Not Installed\r\n            ZMQ: 3.2.3\r\n           Mako: Not Installed\r\n```\r\nLet me know if you need any more info."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/72289350","html_url":"https://github.com/saltstack/salt/issues/20065#issuecomment-72289350","issue_url":"https://api.github.com/repos/saltstack/salt/issues/20065","id":72289350,"user":{"login":"jacksontj","id":1619869,"avatar_url":"https://avatars.githubusercontent.com/u/1619869?v=3","gravatar_id":"","url":"https://api.github.com/users/jacksontj","html_url":"https://github.com/jacksontj","followers_url":"https://api.github.com/users/jacksontj/followers","following_url":"https://api.github.com/users/jacksontj/following{/other_user}","gists_url":"https://api.github.com/users/jacksontj/gists{/gist_id}","starred_url":"https://api.github.com/users/jacksontj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacksontj/subscriptions","organizations_url":"https://api.github.com/users/jacksontj/orgs","repos_url":"https://api.github.com/users/jacksontj/repos","events_url":"https://api.github.com/users/jacksontj/events{/privacy}","received_events_url":"https://api.github.com/users/jacksontj/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T23:33:56Z","updated_at":"2015-01-30T23:33:56Z","body":"@iggy It has been merged, we should be able to close this out :)"}}