{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/30472","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/30472/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/30472/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/30472/events","html_url":"https://github.com/saltstack/salt/issues/30472","id":127679627,"number":30472,"title":" KeyError with schedule","user":{"login":"sjorge","id":379665,"avatar_url":"https://avatars.githubusercontent.com/u/379665?v=3","gravatar_id":"","url":"https://api.github.com/users/sjorge","html_url":"https://github.com/sjorge","followers_url":"https://api.github.com/users/sjorge/followers","following_url":"https://api.github.com/users/sjorge/following{/other_user}","gists_url":"https://api.github.com/users/sjorge/gists{/gist_id}","starred_url":"https://api.github.com/users/sjorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjorge/subscriptions","organizations_url":"https://api.github.com/users/sjorge/orgs","repos_url":"https://api.github.com/users/sjorge/repos","events_url":"https://api.github.com/users/sjorge/events{/privacy}","received_events_url":"https://api.github.com/users/sjorge/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/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Medium%20Severity","name":"Medium Severity","color":"fad8c7"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Needs%20Testcase","name":"Needs Testcase","color":"0066ff"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P1","name":"P1","color":"2181ee"},{"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/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":2979,"closed_issues":3472,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-03-30T19:59:02Z","due_on":null,"closed_at":null},"comments":22,"created_at":"2016-01-20T13:14:54Z","updated_at":"2016-03-30T20:05:13Z","closed_at":null,"body":"```yaml\r\nminion_highstate_schedule:  ## schedule highstate\r\n  schedule.present:\r\n    - function: state.highstate\r\n    - seconds: 900 \r\n    - splay: 10\r\n\r\n```\r\n\r\nI get this in my log;\r\n```\r\n[ERROR   ] Unhandled exception running state.highstate\r\nTraceback (most recent call last):\r\n  File \"salt/utils/schedule.py\", line 740, in handle_func\r\n  File \"salt/utils/context.py\", line 187, in __getitem__\r\n```\r\n\r\nI grab the content of ret which is hit on line 740\r\n```\r\n{'jid': '20160120131113245095', 'return': {'service_|-minion_service_|-salt-minion_|-running': {'comment': 'The service salt-minion is already running', 'name': 'salt-minion', 'start_time': '13:11:16.597962', 'result': True, 'duration': 710.222, '__run_num__': 1, 'changes': {}, '__id__': 'minion_service'}, 'schedule_|-minion_highstate_schedule_|-minion_highstate_schedule_|-present': {'comment': 'Job minion_highstate_schedule in correct state', 'name': 'minion_highstate_schedule', 'start_time': '13:11:17.313496', 'result': True, 'duration': 37.082, '__run_num__': 2, 'changes': {}, '__id__': 'minion_highstate_schedule'}, 'file_|-minion_config_|-/srv/salt/config/minion_|-managed': {'comment': u'File /srv/salt/config/minion is in the correct state', 'pchanges': {}, 'name': '/srv/salt/config/minion', 'start_time': '13:11:13.923841', 'result': True, 'duration': 126.12, '__run_num__': 0, 'changes': {}, '__id__': 'minion_config'}}, 'schedule': 'minion_highstate_schedule', 'pid': 22118, 'fun': 'state.highstate', 'id': 'cronos'}\r\n```\r\n\r\nplatform: SmartOS \r\nversion: develop branch"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/203610624","html_url":"https://github.com/saltstack/salt/issues/30472#issuecomment-203610624","issue_url":"https://api.github.com/repos/saltstack/salt/issues/30472","id":203610624,"user":{"login":"favoretti","id":805046,"avatar_url":"https://avatars.githubusercontent.com/u/805046?v=3","gravatar_id":"","url":"https://api.github.com/users/favoretti","html_url":"https://github.com/favoretti","followers_url":"https://api.github.com/users/favoretti/followers","following_url":"https://api.github.com/users/favoretti/following{/other_user}","gists_url":"https://api.github.com/users/favoretti/gists{/gist_id}","starred_url":"https://api.github.com/users/favoretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/favoretti/subscriptions","organizations_url":"https://api.github.com/users/favoretti/orgs","repos_url":"https://api.github.com/users/favoretti/repos","events_url":"https://api.github.com/users/favoretti/events{/privacy}","received_events_url":"https://api.github.com/users/favoretti/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T20:05:13Z","updated_at":"2016-03-30T20:05:13Z","body":"Seems also not in 2015.8.8?"}}