{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/28877","labels_url":"https://api.github.com/repos/saltstack/salt/issues/28877/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/28877/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/28877/events","html_url":"https://github.com/saltstack/salt/issues/28877","id":116853751,"number":28877,"title":"reactor triggered state fails with \"no attribute 'id'\"","user":{"login":"rterbush","id":526416,"avatar_url":"https://avatars.githubusercontent.com/u/526416?v=3","gravatar_id":"","url":"https://api.github.com/users/rterbush","html_url":"https://github.com/rterbush","followers_url":"https://api.github.com/users/rterbush/followers","following_url":"https://api.github.com/users/rterbush/following{/other_user}","gists_url":"https://api.github.com/users/rterbush/gists{/gist_id}","starred_url":"https://api.github.com/users/rterbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rterbush/subscriptions","organizations_url":"https://api.github.com/users/rterbush/orgs","repos_url":"https://api.github.com/users/rterbush/repos","events_url":"https://api.github.com/users/rterbush/events{/privacy}","received_events_url":"https://api.github.com/users/rterbush/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/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":2706,"closed_issues":2927,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-11-17T16:56:30Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-11-13T21:17:32Z","updated_at":"2015-11-17T16:56:37Z","closed_at":null,"body":"Triggering a reactor SLS file from a 'salt/minion/\\*/start' event and am hitting this error.\r\n\r\nThe state file:\r\n```yaml\r\nminion_sync_all:\r\n  local.saltutil.sync_all:\r\n    - tgt: {{ data['id'] }}\r\n    - refresh: True\r\n```\r\n\r\nAnd the error log:\r\n```\r\n2015-11-13 20:49:49,939 [salt.utils.templates][ERROR   ][11475] Rendering exception occurred :Jinja variable 'dict object' has no attribute 'id'\r\n2015-11-13 20:49:49,940 [salt.utils.reactor][ERROR   ][11475] Failed to render \"/srv/salt/reactor/minion_sync_all.sls\":\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/salt/utils/reactor.py\", line 53, in render_reaction\r\n    data=data)\r\n  File \"/usr/lib/python2.7/site-packages/salt/state.py\", line 279, in render_template\r\n    template, self.rend, self.opts['renderer'], **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/salt/template.py\", line 94, in compile_template\r\n    ret = render(input_data, saltenv, sls, **render_kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/salt/renderers/jinja.py\", line 333, in render\r\n    **kws)\r\n  File \"/usr/lib/python2.7/site-packages/salt/utils/templates.py\", line 180, in render_tmpl\r\n    output = render_str(tmplstr, context, tmplpath)\r\n  File \"/usr/lib/python2.7/site-packages/salt/utils/templates.py\", line 386, in render_jinja_tmpl\r\n    buf=tmplstr)\r\nSaltRenderError: Jinja variable 'dict object' has no attribute 'id'\r\n```\r\n\r\nsalt --versions:\r\n```\r\nSalt Version:\r\n           Salt: 2015.8.1\r\n\r\nDependency Versions:\r\n         Jinja2: 2.7.2\r\n       M2Crypto: 0.21.1\r\n           Mako: Not Installed\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.3.1\r\n         Python: 2.7.5 (default, Jun 24 2015, 00:41:19)\r\n           RAET: Not Installed\r\n        Tornado: 4.1\r\n            ZMQ: 3.2.5\r\n           cffi: 1.3.0\r\n       cherrypy: Not Installed\r\n       dateutil: 2.4.2\r\n          gitdb: Not Installed\r\n      gitpython: Not Installed\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: Not Installed\r\n      pycparser: 2.14\r\n       pycrypto: 2.6.1\r\n         pygit2: 0.21.4\r\n   python-gnupg: Not Installed\r\n          smmap: Not Installed\r\n        timelib: Not Installed\r\n\r\nSystem Versions:\r\n           dist: centos 7.1.1503 Core\r\n        machine: x86_64\r\n        release: 3.10.0-229.20.1.el7.centos.plus.x86_64\r\n         system: CentOS Linux 7.1.1503 Core\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/157430397","html_url":"https://github.com/saltstack/salt/issues/28877#issuecomment-157430397","issue_url":"https://api.github.com/repos/saltstack/salt/issues/28877","id":157430397,"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-11-17T16:56:37Z","updated_at":"2015-11-17T16:56:37Z","body":"@rterbush, thanks for the report."}}