{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/23698","labels_url":"https://api.github.com/repos/saltstack/salt/issues/23698/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/23698/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/23698/events","html_url":"https://github.com/saltstack/salt/issues/23698","id":76238606,"number":23698,"title":"Salt Scheduler in 2015.5.0 doesn't seem to add Jobs?","user":{"login":"neogenix","id":141967,"avatar_url":"https://avatars.githubusercontent.com/u/141967?v=3","gravatar_id":"","url":"https://api.github.com/users/neogenix","html_url":"https://github.com/neogenix","followers_url":"https://api.github.com/users/neogenix/followers","following_url":"https://api.github.com/users/neogenix/following{/other_user}","gists_url":"https://api.github.com/users/neogenix/gists{/gist_id}","starred_url":"https://api.github.com/users/neogenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neogenix/subscriptions","organizations_url":"https://api.github.com/users/neogenix/orgs","repos_url":"https://api.github.com/users/neogenix/repos","events_url":"https://api.github.com/users/neogenix/events{/privacy}","received_events_url":"https://api.github.com/users/neogenix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-14T05:28:45Z","updated_at":"2015-05-14T15:21:29Z","closed_at":null,"body":"So, with great glee, and furious happyness, I rolled my vagrant installation up to 2015.5.0, woohoo! but then, adding a salt returner job, even the ones from the documentation don't seem to actually be doing anything... :\\ it's the default PPA install from the saltstack PPA. The only modifications to the minion configuration is to set the id (hostname), and the master (in this case, localhost), and a handful of small changes as follows : \r\n\r\n```\r\nmaster:\r\n    - 127.0.0.1\r\nid: vm.vagrant.int\r\nlog_level_logfile: info\r\ntcp_keepalive: True\r\ntcp_keepalive_idle: 300\r\ntcp_keepalive_cnt: -1\r\ntcp_keepalive_intvl: -1\r\n```\r\n\r\nThe versions are as follows:\r\n```\r\nroot@vm:/# salt-master --version\r\nsalt-master 2015.5.0 (Lithium)\r\nroot@vm:/# salt-minion --version\r\nsalt-minion 2015.5.0 (Lithium)\r\n```\r\n\r\nI list, add, list, and nothing... \r\n```\r\nroot@vm:/# salt-call schedule.list show_all=true\r\nlocal:\r\n    schedule:\r\n      schedule: {}\r\nroot@vm:/# salt-call schedule.add really_cool_job function=test.ping seconds=3600\r\nlocal:\r\n    ----------\r\n    comment:\r\n        Added job: really_cool_job to schedule.\r\n    result:\r\n        True\r\nroot@vm:/# salt-call schedule.list show_all=true\r\nlocal:\r\n    schedule:\r\n      schedule: {}\r\n```\r\n\r\nOddly, I noticed I have two schedule files... neither I added. \r\n```\r\nroot@vm:/# ls -alF /etc/salt/minion.d/\r\ntotal 16\r\ndrwxr-xr-x  2 root root 4096 May 13 18:46 ./\r\ndrwxr-xr-x 10 root root 4096 May 13 18:26 ../\r\n-rw-r--r--  1 root root  100 May 13 18:26 _schedule.conf\r\n-rw-r--r--  1 root root   25 May 13 21:45 schedule.conf\r\nroot@vm:/# cat /etc/salt/minion.d/schedule.conf\r\nschedule:\r\n  schedule: {}\r\nroot@vm:/# cat /etc/salt/minion.d/_schedule.conf\r\nschedule:\r\n  __mine_interval: {function: mine.update, jid_include: true, maxrunning: 2, minutes: 60}\r\n```\r\n\r\nDid I miss something? "},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/102069916","html_url":"https://github.com/saltstack/salt/issues/23698#issuecomment-102069916","issue_url":"https://api.github.com/repos/saltstack/salt/issues/23698","id":102069916,"user":{"login":"garethgreenaway","id":718525,"avatar_url":"https://avatars.githubusercontent.com/u/718525?v=3","gravatar_id":"","url":"https://api.github.com/users/garethgreenaway","html_url":"https://github.com/garethgreenaway","followers_url":"https://api.github.com/users/garethgreenaway/followers","following_url":"https://api.github.com/users/garethgreenaway/following{/other_user}","gists_url":"https://api.github.com/users/garethgreenaway/gists{/gist_id}","starred_url":"https://api.github.com/users/garethgreenaway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethgreenaway/subscriptions","organizations_url":"https://api.github.com/users/garethgreenaway/orgs","repos_url":"https://api.github.com/users/garethgreenaway/repos","events_url":"https://api.github.com/users/garethgreenaway/events{/privacy}","received_events_url":"https://api.github.com/users/garethgreenaway/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T15:21:29Z","updated_at":"2015-05-14T15:21:29Z","body":"The two new files under minion.d, _schedule.conf is created by the Salt minion for any jobs that happen to be in the schedule when you add a new one.  Think of it as an auto-save feature.  The other one, schedule.conf as you noticed is created when you run schedule.save, it will only include jobs that you've added and saved, not any of the internal jobs (eg. ones that begin with underscore).  Unfortunately, so far I haven't been able to duplicate the issues that you're seeing."}}