{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/23815","labels_url":"https://api.github.com/repos/saltstack/salt/issues/23815/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/23815/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/23815/events","html_url":"https://github.com/saltstack/salt/issues/23815","id":77119018,"number":23815,"title":"[beacons] inotify errors on subdir creation","user":{"login":"Snergster","id":1591740,"avatar_url":"https://avatars.githubusercontent.com/u/1591740?v=3","gravatar_id":"","url":"https://api.github.com/users/Snergster","html_url":"https://github.com/Snergster","followers_url":"https://api.github.com/users/Snergster/followers","following_url":"https://api.github.com/users/Snergster/following{/other_user}","gists_url":"https://api.github.com/users/Snergster/gists{/gist_id}","starred_url":"https://api.github.com/users/Snergster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snergster/subscriptions","organizations_url":"https://api.github.com/users/Snergster/orgs","repos_url":"https://api.github.com/users/Snergster/repos","events_url":"https://api.github.com/users/Snergster/events{/privacy}","received_events_url":"https://api.github.com/users/Snergster/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":"006b75"},{"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":2262,"closed_issues":2032,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-05-20T18:13:45Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-16T20:16:53Z","updated_at":"2015-05-20T18:14:03Z","closed_at":null,"body":"2015.5\r\ninotify on a directory\r\nexample:\r\n/etc/foo\r\nWith recurse and autoadd true  (autoadd seems to be the default btw even though docs/code seem to think false)\r\n```\r\nmkdir /etc/foo/bar\r\n[CRITICAL] Beacon processing errored: Traceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/salt/minion.py\", line 890, in _process_beacons\r\n    beacons = self.process_beacons(self.functions)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/minion.py\", line 470, in process_beacons\r\n    return self.beacons.process(b_conf)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/beacons/__init__.py\", line 56, in process\r\n    raw = self.beacons[fun_str](b_config[mod])\r\n  File \"/usr/lib/python2.7/dist-packages/salt/beacons/inotify.py\", line 126, in beacon\r\n    for wd in wm.watches:\r\nRuntimeError: dictionary changed size during iteration\r\n. No beacons will be procssed.\r\n```\r\nNOTE:  you will get a event sent with the creation of the subdir OR an modification like attirb TO the subdir itself..but all contents are ignored"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/103979439","html_url":"https://github.com/saltstack/salt/issues/23815#issuecomment-103979439","issue_url":"https://api.github.com/repos/saltstack/salt/issues/23815","id":103979439,"user":{"login":"jfindlay","id":702905,"avatar_url":"https://avatars.githubusercontent.com/u/702905?v=3","gravatar_id":"","url":"https://api.github.com/users/jfindlay","html_url":"https://github.com/jfindlay","followers_url":"https://api.github.com/users/jfindlay/followers","following_url":"https://api.github.com/users/jfindlay/following{/other_user}","gists_url":"https://api.github.com/users/jfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfindlay/subscriptions","organizations_url":"https://api.github.com/users/jfindlay/orgs","repos_url":"https://api.github.com/users/jfindlay/repos","events_url":"https://api.github.com/users/jfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/jfindlay/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T18:14:03Z","updated_at":"2015-05-20T18:14:03Z","body":"@Snergster, do you consider this issue to be resolved by your pull request?"}}