{"action":"closed","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24912","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24912/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24912/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24912/events","html_url":"https://github.com/saltstack/salt/issues/24912","id":90501799,"number":24912,"title":"Salt-Cloud Provisioning Broken on Develop with EC2","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},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Beryllium","name":"Beryllium","color":"fbca04"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"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/P1","name":"P1","color":"2181ee"},{"url":"https://api.github.com/repos/saltstack/salt/labels/RIoT","name":"RIoT","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Salt-Cloud","name":"Salt-Cloud","color":"006b75"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/59","html_url":"https://github.com/saltstack/salt/milestones/Be%203","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/59/labels","id":1169056,"number":59,"title":"Be 3","description":null,"creator":{"login":"whiteinge","id":91293,"avatar_url":"https://avatars.githubusercontent.com/u/91293?v=3","gravatar_id":"","url":"https://api.github.com/users/whiteinge","html_url":"https://github.com/whiteinge","followers_url":"https://api.github.com/users/whiteinge/followers","following_url":"https://api.github.com/users/whiteinge/following{/other_user}","gists_url":"https://api.github.com/users/whiteinge/gists{/gist_id}","starred_url":"https://api.github.com/users/whiteinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiteinge/subscriptions","organizations_url":"https://api.github.com/users/whiteinge/orgs","repos_url":"https://api.github.com/users/whiteinge/repos","events_url":"https://api.github.com/users/whiteinge/events{/privacy}","received_events_url":"https://api.github.com/users/whiteinge/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":4,"state":"open","created_at":"2015-06-17T18:05:36Z","updated_at":"2015-06-24T17:49:10Z","due_on":"2015-07-07T05:59:00Z","closed_at":null},"comments":1,"created_at":"2015-06-23T22:06:23Z","updated_at":"2015-06-24T17:49:10Z","closed_at":"2015-06-24T17:49:10Z","body":"The following stack trace occurs when trying to provision machines on EC2. This appears to only be happening on the latest develop:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/root/SaltStack/salt/salt/cloud/clouds/ec2.py\", line 1682, in request_instance\r\n    sigver='4')\r\n  File \"/root/SaltStack/salt/salt/utils/aws.py\", line 346, in query\r\n    method, endpoint, params, prov_dict, aws_api_version, location, product, requesturl=requesturl\r\n  File \"/root/SaltStack/salt/salt/utils/aws.py\", line 155, in sig4\r\n    access_key_id, secret_access_key, token = creds(prov_dict)\r\n  File \"/root/SaltStack/salt/salt/utils/aws.py\", line 68, in creds\r\n    if provider['id'] == IROLE_CODE or provider['key'] == IROLE_CODE:\r\nKeyError: 'id'\r\n[ERROR   ] Failed to create VM nt-test. Configuration value 'id' needs to be set\r\nTraceback (most recent call last):\r\n  File \"/root/SaltStack/salt/salt/cloud/__init__.py\", line 1256, in create\r\n    output = self.clouds[func](vm_)\r\n  File \"/root/SaltStack/salt/salt/cloud/clouds/ec2.py\", line 2168, in create\r\n    data, vm_ = request_instance(vm_, location)\r\n  File \"/root/SaltStack/salt/salt/cloud/clouds/ec2.py\", line 1682, in request_instance\r\n    sigver='4')\r\n  File \"/root/SaltStack/salt/salt/utils/aws.py\", line 346, in query\r\n    method, endpoint, params, prov_dict, aws_api_version, location, product, requesturl=requesturl\r\n  File \"/root/SaltStack/salt/salt/utils/aws.py\", line 155, in sig4\r\n    access_key_id, secret_access_key, token = creds(prov_dict)\r\n  File \"/root/SaltStack/salt/salt/utils/aws.py\", line 68, in creds\r\n    if provider['id'] == IROLE_CODE or provider['key'] == IROLE_CODE:\r\nKeyError: 'id'\r\nError: There was a profile error: Failed to deploy VM\r\n```\r\nVersions:\r\n```\r\n# salt --versions\r\nSalt Version:\r\n           Salt: 2015.5.0-1603-g3cadda6\r\n\r\nDependency Versions:\r\n         Jinja2: 2.7.3\r\n       M2Crypto: 0.21.1\r\n           Mako: 0.9.1\r\n         PyYAML: 3.11\r\n          PyZMQ: 14.0.1\r\n         Python: 2.7.6 (default, Mar 22 2014, 22:59:56)\r\n           RAET: Not Installed\r\n        Tornado: 4.0.2\r\n            ZMQ: 4.0.4\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.4\r\n       pycrypto: 2.6.1\r\n\r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n        machine: x86_64\r\n        release: 3.13.0-30-generic\r\n         system: Ubuntu 14.04 trusty\r\n```"}}