{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/36614","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/36614/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/36614/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/36614/events","html_url":"https://github.com/saltstack/salt/issues/36614","id":179605382,"number":36614,"title":"Salt-Cloud reactor highstate event failing after 2016.3.3 upgrade","user":{"login":"sc250024","id":8792243,"avatar_url":"https://avatars.githubusercontent.com/u/8792243?v=3","gravatar_id":"","url":"https://api.github.com/users/sc250024","html_url":"https://github.com/sc250024","followers_url":"https://api.github.com/users/sc250024/followers","following_url":"https://api.github.com/users/sc250024/following{/other_user}","gists_url":"https://api.github.com/users/sc250024/gists{/gist_id}","starred_url":"https://api.github.com/users/sc250024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc250024/subscriptions","organizations_url":"https://api.github.com/users/sc250024/orgs","repos_url":"https://api.github.com/users/sc250024/repos","events_url":"https://api.github.com/users/sc250024/events{/privacy}","received_events_url":"https://api.github.com/users/sc250024/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-27T20:32:21Z","updated_at":"2016-09-27T21:06:14Z","closed_at":null,"body":"Salt-Cloud reactor highstate event failing after 2016.3.3 upgrade\r\n\r\n### Description of Issue/Question\r\n\r\nI'm running Salt Master in AWS, and using Salt-Cloud to provision machines. After upgrading to 2016.3.3 release of Salt, I've noticed that the `salt/cloud/*/created` reactor event is not working as expected anymore. In my `/etc/salt/master` config, I have the following:\r\n\r\n```\r\nreactor:\r\n  - 'salt/minion/*/start':\r\n    - /path/to/salt/reactor/sync_grains.sls\r\n  - 'salt/cloud/*/created':\r\n    - /path/to/salt/reactor/startup_highstate.sls\r\n```\r\n\r\nIf I run a pre-built profile using the `salt-cloud -p some-profile new-machine.infra.company.com`, the machine is created, and the custom grains are synced, but the initial `state.highstate` never runs; I have to manually SSH into the machine, and run the command myself.\r\n\r\n### Setup\r\n\r\nAll relevant files are below:\r\n\r\n/etc/salt/cloud: https://gist.github.com/sc250024/575cbae238b012ece95fa03fb8456e2b\r\n/etc/salt/cloud.providers.d/amazon-aws.conf: https://gist.github.com/sc250024/73d1afcf3e010a568f6068ecde69aa7c\r\n/etc/salt/cloud.profiles.d/example-profile.conf: https://gist.github.com/sc250024/63530010776609bcea286801d4074f28\r\n/path/to/salt/reactor/startup_highstate.sls: https://gist.github.com/sc250024/b15ce602ebc9c88be29666755ffd9998\r\n/path/to/salt/scripts/provisioning.sh: https://gist.github.com/sc250024/515084dc0391172baa1c9206e479b2cd\r\n\r\nLogs from minion that was just set up:\r\n\r\n/var/log/salt/minion: https://gist.github.com/sc250024/0971141dc5e0aac77a29bcfd216e5554\r\n\r\n### Steps to Reproduce Issue\r\n\r\n1. Configure AWS provisioning using the example `/etc/salt/cloud.providers.d/amazon-aws.conf` above\r\n2. Place the above snippet of the `salt/cloud/*/created` block into your Salt master config underneath the `reactor:` block\r\n3. Use the base `salt-cloud` settings from the `/etc/salt/cloud` snippet above\r\n4. Place the `startup_highstate.sls` into your configured `reactor` directory\r\n5. Place the `provisioning.sh` script in a location that can be reference by the profile\r\n6. Setup the example profile listed above as `/etc/salt/cloud.profiles.d/example-profile.conf`\r\n7. Run `salt-cloud -p example-profile test-machine-name` to run the provisioner; note that the `state.highstate` command is not executed\r\n\r\n### Versions Report\r\n\r\nSalt Master versions report: https://gist.github.com/sc250024/03d2da9c234ee55d16b42721042c2fc0\r\nNewly created Salt Minion versions report: https://gist.github.com/sc250024/9395f5e2051334daef5d9df6fa98b819"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/249998704","html_url":"https://github.com/saltstack/salt/issues/36614#issuecomment-249998704","issue_url":"https://api.github.com/repos/saltstack/salt/issues/36614","id":249998704,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T21:06:14Z","updated_at":"2016-09-27T21:06:14Z","body":"HI @sc250024 Thank you for filing this. This is a duplicate of #36055 and has been fixed by #35855. The fix for this issue will be available in the next release of 2016.3, which will be 2016.3.4. \r\n\r\nSince this is a duplicate and has already been fixed, is it alright if we close this ticket?"}}
{"actor":{"display_login":"rallytime"}}