{"action":"opened","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-16T20:16:53Z","updated_at":"2015-05-16T20:16:53Z","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\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"}}