{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/22498","labels_url":"https://api.github.com/repos/saltstack/salt/issues/22498/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/22498/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/22498/events","html_url":"https://github.com/saltstack/salt/issues/22498","id":67321664,"number":22498,"title":"salt-cloud – new problem in 2015.2.0rc2 on FreeBSD: AWS credentials not being correctly handled","user":{"login":"dneades","id":4183286,"avatar_url":"https://avatars.githubusercontent.com/u/4183286?v=3","gravatar_id":"","url":"https://api.github.com/users/dneades","html_url":"https://github.com/dneades","followers_url":"https://api.github.com/users/dneades/followers","following_url":"https://api.github.com/users/dneades/following{/other_user}","gists_url":"https://api.github.com/users/dneades/gists{/gist_id}","starred_url":"https://api.github.com/users/dneades/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dneades/subscriptions","organizations_url":"https://api.github.com/users/dneades/orgs","repos_url":"https://api.github.com/users/dneades/repos","events_url":"https://api.github.com/users/dneades/events{/privacy}","received_events_url":"https://api.github.com/users/dneades/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/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Regression","name":"Regression","color":"e11d21"},{"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":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":2389,"closed_issues":2194,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-06-22T23:50:59Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-04-09T09:35:45Z","updated_at":"2015-06-22T23:50:59Z","closed_at":"2015-06-22T23:50:59Z","body":"I have a profile and provider configuration that I am endeavouring to use to create an Amazon EC2 instance. This configuration works with salt 2014.7.4 (in so far as an EC2 instance is created, though salt-cloud fails to communicate with the new instance due to what I think is the problem described in https://github.com/saltstack/salt/issues/20565). The same configuration completely fails with an ‘AWS was not able to validate the provided access credentials’ message when using salt 2015.2.0rc2 or the latest development head (2015.2.0-972-g60add3e).\r\n\r\nVersion information:\r\n```\r\n# salt --versions-report\r\nSalt Version:\r\n           Salt: 2015.2.0-972-g60add3e\r\n \r\nDependency Versions:\r\n         Jinja2: 2.7.3\r\n       M2Crypto: 0.22\r\n           Mako: Not Installed\r\n         PyYAML: 3.11\r\n          PyZMQ: 14.5.0\r\n         Python: 2.7.9 (default, Jan  9 2015, 14:27:53)\r\n           RAET: Not Installed\r\n            ZMQ: 4.0.5\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.2\r\n       pycrypto: 2.6.1\r\n \r\nSystem Versions:\r\n           dist:   \r\n        machine: amd64\r\n        release: 9.3-RELEASE-p10\r\n```\r\n\r\nRunning the command to show the error:\r\n```\r\n# salt-cloud -l all --profile=freebsd_ec2 test.example.com\r\n[DEBUG   ] Missing configuration file: /etc/salt/cloud\r\n[DEBUG   ] Reading configuration from /etc/salt/master\r\n[DEBUG   ] Using cached minion ID from /usr/local/etc/salt/minion_id: gw-ams-0.araxis.net\r\n[DEBUG   ] Missing configuration file: /etc/salt/cloud.providers\r\n[DEBUG   ] Including configuration from '/etc/salt/cloud.providers.d/ec2.conf'\r\n[DEBUG   ] Reading configuration from /etc/salt/cloud.providers.d/ec2.conf\r\n[DEBUG   ] Missing configuration file: /etc/salt/cloud.profiles\r\n[DEBUG   ] Including configuration from '/etc/salt/cloud.profiles.d/amazon_linux.conf'\r\n[DEBUG   ] Reading configuration from /etc/salt/cloud.profiles.d/amazon_linux.conf\r\n[DEBUG   ] Including configuration from '/etc/salt/cloud.profiles.d/freebsd_ec2.conf'\r\n[DEBUG   ] Reading configuration from /etc/salt/cloud.profiles.d/freebsd_ec2.conf\r\n[TRACE   ] The profile 'amazon_linux' is defining 'ec2-eu-west-1' as the provider. Since there's no valid configuration for that provider, the profile will be removed from the available listing\r\n[TRACE   ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found the in the configuration. Not loading the Logstash logging handlers module.\r\n[TRACE   ] The required configuration section, 'fluent_handler', was not found the in the configuration. Not loading the fluent logging handlers module.\r\n[DEBUG   ] Configuration file path: /etc/salt/master\r\n[TRACE   ] Trying pysss.getgrouplist for 'root'\r\n[TRACE   ] Trying generic group list for 'root'\r\n[TRACE   ] Group list for user 'root': ['operator']\r\n[INFO    ] salt-cloud starting\r\n[TRACE   ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad parallels.avail_sizes\r\n[TRACE   ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded parallels.avail_locations\r\n[TRACE   ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded proxmox.avail_sizes\r\n[TRACE   ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.destroy\r\n[TRACE   ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.avail_sizes\r\n[TRACE   ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.avail_images\r\n[TRACE   ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.avail_locations\r\n[TRACE   ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded rackspace.reboot\r\n[TRACE   ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded openstack.list_locations\r\n[TRACE   ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded rackspace.list_locations\r\n[TRACE   ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad parallels.avail_sizes\r\n[TRACE   ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded parallels.avail_locations\r\n[TRACE   ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded proxmox.avail_sizes\r\n[TRACE   ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.destroy\r\n[TRACE   ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.avail_sizes\r\n[TRACE   ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.avail_images\r\n[TRACE   ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Could not LazyLoad saltify.avail_locations\r\n[TRACE   ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded rackspace.reboot\r\n[TRACE   ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded openstack.list_locations\r\n[TRACE   ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] LazyLoaded rackspace.list_locations\r\n[DEBUG   ] Using AWS endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] AWS Request: https://ec2.eu-west-1.amazonaws.com/?Action=DescribeInstances&Version=2014-10-01\r\n[TRACE   ] AWS Request Parameters: {}\r\n[DEBUG   ] AWS Response Status Code: 200\r\n[TRACE   ] AWS Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeInstancesResponse xmlns=\"http://ec2.amazonaws.com/doc/2014-10-01/\">\r\n    <requestId>6ca0d6d3-0869-449c-b0bb-68f27c945862</requestId>\r\n    <reservationSet/>\r\n</DescribeInstancesResponse>\r\n[DEBUG   ] Generating minion keys for 'test.example.com'\r\n[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc\r\n[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc\r\n[DEBUG   ] Sending event - data = {'profile': 'freebsd_ec2', 'event': 'starting create', '_stamp': '2015-04-09T09:01:04.746741', 'name': 'test.example.com', 'provider': 'ec2_eu_west_1:ec2'}\r\n[INFO    ] Creating Cloud VM test.example.com in eu-west-1\r\n[DEBUG   ] Using AWS endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] AWS Request: https://ec2.eu-west-1.amazonaws.com/?Action=DescribeAvailabilityZones&Filter.0.Name=region-name&Filter.0.Value.0=eu-west-1&Version=2014-10-01\r\n[TRACE   ] AWS Request Parameters: {}\r\n[DEBUG   ] AWS Response Status Code: 200\r\n[TRACE   ] AWS Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeAvailabilityZonesResponse xmlns=\"http://ec2.amazonaws.com/doc/2014-10-01/\">\r\n    <requestId>cc6b761c-f5df-49ce-be6e-a39819f9122f</requestId>\r\n    <availabilityZoneInfo>\r\n        <item>\r\n            <zoneName>eu-west-1a</zoneName>\r\n            <zoneState>available</zoneState>\r\n            <regionName>eu-west-1</regionName>\r\n            <messageSet/>\r\n        </item>\r\n        <item>\r\n            <zoneName>eu-west-1b</zoneName>\r\n            <zoneState>available</zoneState>\r\n            <regionName>eu-west-1</regionName>\r\n            <messageSet/>\r\n        </item>\r\n        <item>\r\n            <zoneName>eu-west-1c</zoneName>\r\n            <zoneState>available</zoneState>\r\n            <regionName>eu-west-1</regionName>\r\n            <messageSet/>\r\n        </item>\r\n    </availabilityZoneInfo>\r\n</DescribeAvailabilityZonesResponse>\r\n[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc\r\n[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc\r\n[DEBUG   ] Sending event - data = {'event': 'requesting instance', '_stamp': '2015-04-09T09:01:05.969410', 'location': 'eu-west-1', 'kwargs': {'SecurityGroup.1': 'default', 'ImageId': 'ami-3013a747', 'KeyName': 'Araxis EC2 User', 'Placement.AvailabilityZone': 'eu-west-1a', 'MaxCount': 1, 'Action': 'RunInstances', 'MinCount': 1, 'InstanceType': 't2.micro'}}\r\n[DEBUG   ] Using AWS endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] AWS Request: https://ec2.eu-west-1.amazonaws.com/?Action=RunInstances&ImageId=ami-3013a747&InstanceType=t2.micro&KeyName=Araxis+EC2+User&MaxCount=1&MinCount=1&Placement.AvailabilityZone=eu-west-1a&SecurityGroup.1=default&Version=2014-10-01\r\n[TRACE   ] AWS Request Parameters: {}\r\n[DEBUG   ] AWS Response Status Code: 401\r\n[TRACE   ] AWS Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Response><Errors><Error><Code>AuthFailure</Code><Message>AWS was not able to validate the provided access credentials</Message></Error></Errors><RequestID>d4121905-c426-49c5-a2b8-d38c8eeb1327</RequestID></Response>\r\n[ERROR   ] AWS Response Status Code and Error: [401 401 Client Error: Unauthorized] {'Errors': {'Error': {'Message': 'AWS was not able to validate the provided access credentials', 'Code': 'AuthFailure'}}, 'RequestID': 'd4121905-c426-49c5-a2b8-d38c8eeb1327'}\r\n[ERROR   ] Error requesting instance: Errors\r\nError: There was a profile error: Failed to deploy VM\r\n```\r\n\r\n/etc/salt/cloud.providers.d/ec2.conf:\r\n```\r\nec2-eu-west-1:\r\n    # Set up the location of the salt master\r\n    #\r\n    minion:\r\n        master: gw-ams-0.araxis.net\r\n\r\n    # Set up grains information, which will be common for all nodes\r\n    # using this provider\r\n    # grains:\r\n    #   node_type: broker\r\n    #   release: 1.0.1\r\n\r\n    # Specify whether to use public or private IP for deploy script.\r\n    #\r\n    # Valid options are:\r\n    #     private_ips - The salt-master is also hosted with EC2\r\n    #     public_ips - The salt-master is hosted outside of EC2\r\n    #\r\n    ssh_interface: public_ips\r\n\r\n    # Set the EC2 access credentials (see below)\r\n    #\r\n    id: <REDACTED>\r\n    key: <REDACTED>\r\n\r\n    # Make sure this key is owned by root with permissions 0400.\r\n    #\r\n    private_key: /etc/salt/keys/araxis-ec2-user\r\n    keyname: 'Araxis EC2 User'\r\n    securitygroup: default\r\n\r\n    # Optionally configure default region\r\n    # (Ireland)\r\n    # aws ec2 describe-regions --region eu-west-1\r\n    # aws ec2 describe-availability-zones --region eu-west-1\r\n    location: eu-west-1\r\n    availability_zone: eu-west-1a\r\n\r\n    # Configure which user to use to run the deploy script. This setting is\r\n    # dependent upon the AMI that is used to deploy. It is usually safer to\r\n    # configure this individually in a profile, than globally.\r\n    ssh_username: ec2-user\r\n\r\n    # Optionally add an IAM profile\r\n    #iam_profile: 'arn:aws:iam::123456789012:instance-profile/ExampleInstanceProfile'\r\n\r\n    provider: ec2\r\n```\r\n\r\n/etc/salt/cloud.profiles.d/freebsd_ec2.conf:\r\n```\r\nfreebsd_ec2:\r\n    provider: ec2-eu-west-1\r\n    image: ami-3013a747\r\n    size: t2.micro\r\n    minion:\r\n        role: webserver\r\n```\r\n\r\nReverting to salt 2014.7.4, then running the same command as above (with successful EC2 instance creation), with the same configuration:\r\n\r\n```\r\n# rm -rf /usr/local/lib/python2.7/site-packages/salt*\r\n# curl -o install_salt.sh -L https://bootstrap.saltstack.com\r\n# sh install_salt.sh -M -L git v2014.7.4\r\n# salt-cloud -l all --profile=freebsd_ec2 test.example.com\r\n[DEBUG   ] Missing configuration file: /etc/salt/cloud\r\n[DEBUG   ] Reading configuration from /etc/salt/master\r\n[DEBUG   ] Using cached minion ID from /usr/local/etc/salt/minion_id: gw-ams-0.araxis.net\r\n[DEBUG   ] Missing configuration file: /etc/salt/cloud.providers\r\n[DEBUG   ] Including configuration from '/etc/salt/cloud.providers.d/ec2.conf'\r\n[DEBUG   ] Reading configuration from /etc/salt/cloud.providers.d/ec2.conf\r\n[DEBUG   ] Missing configuration file: /etc/salt/cloud.profiles\r\n[DEBUG   ] Including configuration from '/etc/salt/cloud.profiles.d/amazon_linux.conf'\r\n[DEBUG   ] Reading configuration from /etc/salt/cloud.profiles.d/amazon_linux.conf\r\n[DEBUG   ] Including configuration from '/etc/salt/cloud.profiles.d/freebsd_ec2.conf'\r\n[DEBUG   ] Reading configuration from /etc/salt/cloud.profiles.d/freebsd_ec2.conf\r\n[WARNING ] The profile 'amazon_linux' is defining 'ec2-eu-west-1' as the provider. Since there's no valid configuration for that provider, the profile will be removed from the available listing\r\n[TRACE   ] loading log_handlers in ['/usr/local/var/cache/salt/extmods/log_handlers', '/usr/local/lib/python2.7/site-packages/salt/log/handlers']\r\n[TRACE   ] Skipping /usr/local/var/cache/salt/extmods/log_handlers, it is not a directory\r\n[TRACE   ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found the in the configuration. Not loading the Logstash logging handlers module.\r\n[DEBUG   ] Configuration file path: /etc/salt/master\r\n[TRACE   ] Trying pysss.getgrouplist for 'root'\r\n[TRACE   ] Trying generic group list for 'root'\r\n[TRACE   ] Group list for user 'root': ['operator']\r\n[INFO    ] salt-cloud starting\r\n[TRACE   ] loading cloud in ['/usr/local/var/cache/salt/extmods/clouds', '/usr/local/lib/python2.7/site-packages/salt/cloud/clouds']\r\n[TRACE   ] Skipping /usr/local/var/cache/salt/extmods/clouds, it is not a directory\r\n[TRACE   ] Added saltify.create to cloud\r\n[TRACE   ] Added saltify.get_configured_provider to cloud\r\n[TRACE   ] Added saltify.list_nodes to cloud\r\n[TRACE   ] Added saltify.list_nodes_full to cloud\r\n[TRACE   ] Added saltify.list_nodes_select to cloud\r\n[TRACE   ] Added saltify.script to cloud\r\n[TRACE   ] Added lxc.SaltCloudSystemExit to cloud\r\n[TRACE   ] Added lxc.avail_images to cloud\r\n[TRACE   ] Added lxc.create to cloud\r\n[TRACE   ] Added lxc.destroy to cloud\r\n[TRACE   ] Added lxc.get_configured_provider to cloud\r\n[TRACE   ] Added lxc.get_provider to cloud\r\n[TRACE   ] Added lxc.list_nodes to cloud\r\n[TRACE   ] Added lxc.list_nodes_full to cloud\r\n[TRACE   ] Added lxc.list_nodes_select to cloud\r\n[TRACE   ] Added lxc.pformat to cloud\r\n[TRACE   ] Added lxc.show_instance to cloud\r\n[TRACE   ] Added ec2.SaltCloudExecutionFailure to cloud\r\n[TRACE   ] Added ec2.SaltCloudExecutionTimeout to cloud\r\n[TRACE   ] Added ec2.SaltCloudSystemExit to cloud\r\n[TRACE   ] Added ec2.attach_volume to cloud\r\n[TRACE   ] Added ec2.avail_images to cloud\r\n[TRACE   ] Added ec2.avail_locations to cloud\r\n[TRACE   ] Added ec2.avail_sizes to cloud\r\n[TRACE   ] Added ec2.block_device_mappings to cloud\r\n[TRACE   ] Added ec2.copy_snapshot to cloud\r\n[TRACE   ] Added ec2.create to cloud\r\n[TRACE   ] Added ec2.create_attach_volumes to cloud\r\n[TRACE   ] Added ec2.create_keypair to cloud\r\n[TRACE   ] Added ec2.create_snapshot to cloud\r\n[TRACE   ] Added ec2.create_volume to cloud\r\n[TRACE   ] Added ec2.del_tags to cloud\r\n[TRACE   ] Added ec2.delete_keypair to cloud\r\n[TRACE   ] Added ec2.delete_snapshot to cloud\r\n[TRACE   ] Added ec2.delete_volume to cloud\r\n[TRACE   ] Added ec2.delvol_on_destroy to cloud\r\n[TRACE   ] Added ec2.describe_snapshots to cloud\r\n[TRACE   ] Added ec2.describe_volumes to cloud\r\n[TRACE   ] Added ec2.destroy to cloud\r\n[TRACE   ] Added ec2.detach_volume to cloud\r\n[TRACE   ] Added ec2.disable_term_protect to cloud\r\n[TRACE   ] Added ec2.enable_term_protect to cloud\r\n[TRACE   ] Added ec2.get_availability_zone to cloud\r\n[TRACE   ] Added ec2.get_configured_provider to cloud\r\n[TRACE   ] Added ec2.get_console_output to cloud\r\n[TRACE   ] Added ec2.get_location to cloud\r\n[TRACE   ] Added ec2.get_placementgroup to cloud\r\n[TRACE   ] Added ec2.get_spot_config to cloud\r\n[TRACE   ] Added ec2.get_ssh_gateway_config to cloud\r\n[TRACE   ] Added ec2.get_subnetid to cloud\r\n[TRACE   ] Added ec2.get_tags to cloud\r\n[TRACE   ] Added ec2.get_tenancy to cloud\r\n[TRACE   ] Added ec2.iam_profile to cloud\r\n[TRACE   ] Added ec2.keepvol_on_destroy to cloud\r\n[TRACE   ] Added ec2.keyname to cloud\r\n[TRACE   ] Added ec2.list_availability_zones to cloud\r\n[TRACE   ] Added ec2.list_nodes to cloud\r\n[TRACE   ] Added ec2.list_nodes_full to cloud\r\n[TRACE   ] Added ec2.list_nodes_min to cloud\r\n[TRACE   ] Added ec2.list_nodes_select to cloud\r\n[TRACE   ] Added ec2.optimize_providers to cloud\r\n[TRACE   ] Added ec2.query to cloud\r\n[TRACE   ] Added ec2.query_instance to cloud\r\n[TRACE   ] Added ec2.queue_instances to cloud\r\n[TRACE   ] Added ec2.reboot to cloud\r\n[TRACE   ] Added ec2.rename to cloud\r\n[TRACE   ] Added ec2.request_instance to cloud\r\n[TRACE   ] Added ec2.script to cloud\r\n[TRACE   ] Added ec2.securitygroup to cloud\r\n[TRACE   ] Added ec2.securitygroupid to cloud\r\n[TRACE   ] Added ec2.set_tags to cloud\r\n[TRACE   ] Added ec2.show_delvol_on_destroy to cloud\r\n[TRACE   ] Added ec2.show_image to cloud\r\n[TRACE   ] Added ec2.show_instance to cloud\r\n[TRACE   ] Added ec2.show_keypair to cloud\r\n[TRACE   ] Added ec2.show_term_protect to cloud\r\n[TRACE   ] Added ec2.show_volume to cloud\r\n[TRACE   ] Added ec2.ssh_interface to cloud\r\n[TRACE   ] Added ec2.start to cloud\r\n[TRACE   ] Added ec2.stop to cloud\r\n[TRACE   ] Added ec2.wait_for_instance to cloud\r\n[DEBUG   ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[TRACE   ] loading cloud in ['/usr/local/var/cache/salt/extmods/clouds', '/usr/local/lib/python2.7/site-packages/salt/cloud/clouds']\r\n[TRACE   ] Skipping /usr/local/var/cache/salt/extmods/clouds, it is not a directory\r\n[TRACE   ] Added saltify.create to cloud\r\n[TRACE   ] Added saltify.get_configured_provider to cloud\r\n[TRACE   ] Added saltify.list_nodes to cloud\r\n[TRACE   ] Added saltify.list_nodes_full to cloud\r\n[TRACE   ] Added saltify.list_nodes_select to cloud\r\n[TRACE   ] Added saltify.script to cloud\r\n[TRACE   ] Added lxc.SaltCloudSystemExit to cloud\r\n[TRACE   ] Added lxc.avail_images to cloud\r\n[TRACE   ] Added lxc.create to cloud\r\n[TRACE   ] Added lxc.destroy to cloud\r\n[TRACE   ] Added lxc.get_configured_provider to cloud\r\n[TRACE   ] Added lxc.get_provider to cloud\r\n[TRACE   ] Added lxc.list_nodes to cloud\r\n[TRACE   ] Added lxc.list_nodes_full to cloud\r\n[TRACE   ] Added lxc.list_nodes_select to cloud\r\n[TRACE   ] Added lxc.pformat to cloud\r\n[TRACE   ] Added lxc.show_instance to cloud\r\n[TRACE   ] Added ec2.SaltCloudExecutionFailure to cloud\r\n[TRACE   ] Added ec2.SaltCloudExecutionTimeout to cloud\r\n[TRACE   ] Added ec2.SaltCloudSystemExit to cloud\r\n[TRACE   ] Added ec2.attach_volume to cloud\r\n[TRACE   ] Added ec2.avail_images to cloud\r\n[TRACE   ] Added ec2.avail_locations to cloud\r\n[TRACE   ] Added ec2.avail_sizes to cloud\r\n[TRACE   ] Added ec2.block_device_mappings to cloud\r\n[TRACE   ] Added ec2.copy_snapshot to cloud\r\n[TRACE   ] Added ec2.create to cloud\r\n[TRACE   ] Added ec2.create_attach_volumes to cloud\r\n[TRACE   ] Added ec2.create_keypair to cloud\r\n[TRACE   ] Added ec2.create_snapshot to cloud\r\n[TRACE   ] Added ec2.create_volume to cloud\r\n[TRACE   ] Added ec2.del_tags to cloud\r\n[TRACE   ] Added ec2.delete_keypair to cloud\r\n[TRACE   ] Added ec2.delete_snapshot to cloud\r\n[TRACE   ] Added ec2.delete_volume to cloud\r\n[TRACE   ] Added ec2.delvol_on_destroy to cloud\r\n[TRACE   ] Added ec2.describe_snapshots to cloud\r\n[TRACE   ] Added ec2.describe_volumes to cloud\r\n[TRACE   ] Added ec2.destroy to cloud\r\n[TRACE   ] Added ec2.detach_volume to cloud\r\n[TRACE   ] Added ec2.disable_term_protect to cloud\r\n[TRACE   ] Added ec2.enable_term_protect to cloud\r\n[TRACE   ] Added ec2.get_availability_zone to cloud\r\n[TRACE   ] Added ec2.get_configured_provider to cloud\r\n[TRACE   ] Added ec2.get_console_output to cloud\r\n[TRACE   ] Added ec2.get_location to cloud\r\n[TRACE   ] Added ec2.get_placementgroup to cloud\r\n[TRACE   ] Added ec2.get_spot_config to cloud\r\n[TRACE   ] Added ec2.get_ssh_gateway_config to cloud\r\n[TRACE   ] Added ec2.get_subnetid to cloud\r\n[TRACE   ] Added ec2.get_tags to cloud\r\n[TRACE   ] Added ec2.get_tenancy to cloud\r\n[TRACE   ] Added ec2.iam_profile to cloud\r\n[TRACE   ] Added ec2.keepvol_on_destroy to cloud\r\n[TRACE   ] Added ec2.keyname to cloud\r\n[TRACE   ] Added ec2.list_availability_zones to cloud\r\n[TRACE   ] Added ec2.list_nodes to cloud\r\n[TRACE   ] Added ec2.list_nodes_full to cloud\r\n[TRACE   ] Added ec2.list_nodes_min to cloud\r\n[TRACE   ] Added ec2.list_nodes_select to cloud\r\n[TRACE   ] Added ec2.optimize_providers to cloud\r\n[TRACE   ] Added ec2.query to cloud\r\n[TRACE   ] Added ec2.query_instance to cloud\r\n[TRACE   ] Added ec2.queue_instances to cloud\r\n[TRACE   ] Added ec2.reboot to cloud\r\n[TRACE   ] Added ec2.rename to cloud\r\n[TRACE   ] Added ec2.request_instance to cloud\r\n[TRACE   ] Added ec2.script to cloud\r\n[TRACE   ] Added ec2.securitygroup to cloud\r\n[TRACE   ] Added ec2.securitygroupid to cloud\r\n[TRACE   ] Added ec2.set_tags to cloud\r\n[TRACE   ] Added ec2.show_delvol_on_destroy to cloud\r\n[TRACE   ] Added ec2.show_image to cloud\r\n[TRACE   ] Added ec2.show_instance to cloud\r\n[TRACE   ] Added ec2.show_keypair to cloud\r\n[TRACE   ] Added ec2.show_term_protect to cloud\r\n[TRACE   ] Added ec2.show_volume to cloud\r\n[TRACE   ] Added ec2.ssh_interface to cloud\r\n[TRACE   ] Added ec2.start to cloud\r\n[TRACE   ] Added ec2.stop to cloud\r\n[TRACE   ] Added ec2.wait_for_instance to cloud\r\n[DEBUG   ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions\r\n[DEBUG   ] Using EC2 endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] EC2 Request: https://ec2.eu-west-1.amazonaws.com/\r\n[TRACE   ] EC2 Request Parameters: {'SignatureVersion': '2', 'AWSAccessKeyId': '<REDACTED>', 'Timestamp': '2015-04-09T09:13:56Z', 'SignatureMethod': 'HmacSHA256', 'Version': '2013-10-01', 'Signature': 'gku/6bR+kyw1KmfA3UW7RoHNLspCCTlK2cTR8d+2ejk=', 'Action': 'DescribeInstances'}\r\n[DEBUG   ] EC2 Response Status Code: 200\r\n[TRACE   ] EC2 Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeInstancesResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-01/\">\r\n    <requestId>f456fb74-c0ad-4c01-85d8-d0920c71ff08</requestId>\r\n    <reservationSet/>\r\n</DescribeInstancesResponse>\r\n[DEBUG   ] Generating minion keys for 'test.example.com'\r\n[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc\r\n[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc\r\n[DEBUG   ] Sending event - data = {'profile': 'freebsd_ec2', 'event': 'starting create', '_stamp': '2015-04-09T09:13:57.525242', 'name': 'test.example.com', 'provider': 'ec2_eu_west_1:ec2'}\r\n[INFO    ] Creating Cloud VM test.example.com in eu-west-1\r\n[DEBUG   ] Using EC2 endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] EC2 Request: https://ec2.eu-west-1.amazonaws.com/\r\n[TRACE   ] EC2 Request Parameters: {'SignatureVersion': '2', 'AWSAccessKeyId': '<REDACTED>', 'Timestamp': '2015-04-09T09:14:02Z', 'Filter.0.Name': 'region-name', 'SignatureMethod': 'HmacSHA256', 'Version': '2013-10-01', 'Signature': 'sw11kVFQ6N2SRMYlx++BPuRzW28E7mE3MW19AULHo9w=', 'Action': 'DescribeAvailabilityZones', 'Filter.0.Value.0': 'eu-west-1'}\r\n[DEBUG   ] EC2 Response Status Code: 200\r\n[TRACE   ] EC2 Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeAvailabilityZonesResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-01/\">\r\n    <requestId>344377fb-316a-4484-9be0-60c931cded16</requestId>\r\n    <availabilityZoneInfo>\r\n        <item>\r\n            <zoneName>eu-west-1a</zoneName>\r\n            <zoneState>available</zoneState>\r\n            <regionName>eu-west-1</regionName>\r\n            <messageSet/>\r\n        </item>\r\n        <item>\r\n            <zoneName>eu-west-1b</zoneName>\r\n            <zoneState>available</zoneState>\r\n            <regionName>eu-west-1</regionName>\r\n            <messageSet/>\r\n        </item>\r\n        <item>\r\n            <zoneName>eu-west-1c</zoneName>\r\n            <zoneState>available</zoneState>\r\n            <regionName>eu-west-1</regionName>\r\n            <messageSet/>\r\n        </item>\r\n    </availabilityZoneInfo>\r\n</DescribeAvailabilityZonesResponse>\r\n[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc\r\n[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc\r\n[DEBUG   ] Sending event - data = {'event': 'requesting instance', '_stamp': '2015-04-09T09:14:02.752728', 'location': 'eu-west-1', 'kwargs': {'SecurityGroup.1': 'default', 'ImageId': 'ami-3013a747', 'KeyName': 'Araxis EC2 User', 'Placement.AvailabilityZone': 'eu-west-1a', 'MaxCount': 1, 'Action': 'RunInstances', 'MinCount': 1, 'InstanceType': 't2.micro'}}\r\n[DEBUG   ] Using EC2 endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] EC2 Request: https://ec2.eu-west-1.amazonaws.com/\r\n[TRACE   ] EC2 Request Parameters: {'SignatureVersion': '2', 'AWSAccessKeyId': '<REDACTED>', 'Version': '2013-10-01', 'Timestamp': '2015-04-09T09:14:07Z', 'SecurityGroup.1': 'default', 'Signature': 'UBq2w4GneHhZYL2RgaRlaXJJ2Yq/QRoI1oCuLMROj+I=', 'ImageId': 'ami-3013a747', 'SignatureMethod': 'HmacSHA256', 'KeyName': 'Araxis EC2 User', 'Placement.AvailabilityZone': 'eu-west-1a', 'MaxCount': 1, 'Action': 'RunInstances', 'MinCount': 1, 'InstanceType': 't2.micro'}\r\n[DEBUG   ] EC2 Response Status Code: 200\r\n[TRACE   ] EC2 Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<RunInstancesResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-01/\">\r\n    <requestId>2c8f004f-b26b-40d9-bf2b-cb1726d955fd</requestId>\r\n    <reservationId>r-a8fa5b4f</reservationId>\r\n    <ownerId>986861764419</ownerId>\r\n    <groupSet/>\r\n    <instancesSet>\r\n        <item>\r\n            <instanceId>i-4bc196ac</instanceId>\r\n            <imageId>ami-3013a747</imageId>\r\n            <instanceState>\r\n                <code>0</code>\r\n                <name>pending</name>\r\n            </instanceState>\r\n            <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n            <dnsName/>\r\n            <reason/>\r\n            <keyName>Araxis EC2 User</keyName>\r\n            <amiLaunchIndex>0</amiLaunchIndex>\r\n            <productCodes/>\r\n            <instanceType>t2.micro</instanceType>\r\n            <launchTime>2015-04-09T09:14:08.000Z</launchTime>\r\n            <placement>\r\n                <availabilityZone>eu-west-1a</availabilityZone>\r\n                <groupName/>\r\n                <tenancy>default</tenancy>\r\n            </placement>\r\n            <monitoring>\r\n                <state>disabled</state>\r\n            </monitoring>\r\n            <subnetId>subnet-18a05172</subnetId>\r\n            <vpcId>vpc-1aa05170</vpcId>\r\n            <privateIpAddress>172.31.38.222</privateIpAddress>\r\n            <sourceDestCheck>true</sourceDestCheck>\r\n            <groupSet>\r\n                <item>\r\n                    <groupId>sg-a723d5c8</groupId>\r\n                    <groupName>default</groupName>\r\n                </item>\r\n            </groupSet>\r\n            <stateReason>\r\n                <code>pending</code>\r\n                <message>pending</message>\r\n            </stateReason>\r\n            <architecture>x86_64</architecture>\r\n            <rootDeviceType>ebs</rootDeviceType>\r\n            <rootDeviceName>/dev/sda1</rootDeviceName>\r\n            <blockDeviceMapping/>\r\n            <virtualizationType>hvm</virtualizationType>\r\n            <clientToken/>\r\n            <hypervisor>xen</hypervisor>\r\n            <networkInterfaceSet>\r\n                <item>\r\n                    <networkInterfaceId>eni-eef66798</networkInterfaceId>\r\n                    <subnetId>subnet-18a05172</subnetId>\r\n                    <vpcId>vpc-1aa05170</vpcId>\r\n                    <description/>\r\n                    <ownerId>986861764419</ownerId>\r\n                    <status>in-use</status>\r\n                    <macAddress>06:cb:29:77:c5:24</macAddress>\r\n                    <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                    <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                    <sourceDestCheck>true</sourceDestCheck>\r\n                    <groupSet>\r\n                        <item>\r\n                            <groupId>sg-a723d5c8</groupId>\r\n                            <groupName>default</groupName>\r\n                        </item>\r\n                    </groupSet>\r\n                    <attachment>\r\n                        <attachmentId>eni-attach-b3c01df3</attachmentId>\r\n                        <deviceIndex>0</deviceIndex>\r\n                        <status>attaching</status>\r\n                        <attachTime>2015-04-09T09:14:08.000Z</attachTime>\r\n                        <deleteOnTermination>true</deleteOnTermination>\r\n                    </attachment>\r\n                    <privateIpAddressesSet>\r\n                        <item>\r\n                            <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                            <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                            <primary>true</primary>\r\n                        </item>\r\n                    </privateIpAddressesSet>\r\n                </item>\r\n            </networkInterfaceSet>\r\n            <ebsOptimized>false</ebsOptimized>\r\n        </item>\r\n    </instancesSet>\r\n</RunInstancesResponse>\r\n[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc\r\n[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc\r\n[DEBUG   ] Sending event - data = {'instance_id': 'i-4bc196ac', '_stamp': '2015-04-09T09:14:08.580724', 'event': 'querying instance'}\r\n[DEBUG   ] The new VM instance_id is i-4bc196ac\r\n[DEBUG   ] Using EC2 endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] EC2 Request: https://ec2.eu-west-1.amazonaws.com/\r\n[TRACE   ] EC2 Request Parameters: {'SignatureVersion': '2', 'AWSAccessKeyId': '<REDACTED>', 'InstanceId.1': 'i-4bc196ac', 'Timestamp': '2015-04-09T09:14:13Z', 'SignatureMethod': 'HmacSHA256', 'Version': '2013-10-01', 'Signature': 'rRAFLEZ95xRgUPUQwzGfdjt4ghazZYBizMaXWiu5zko=', 'Action': 'DescribeInstances'}\r\n[DEBUG   ] EC2 Response Status Code: 200\r\n[TRACE   ] EC2 Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeInstancesResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-01/\">\r\n    <requestId>4902fcd8-ae03-4516-8bf1-4771f1e42490</requestId>\r\n    <reservationSet>\r\n        <item>\r\n            <reservationId>r-a8fa5b4f</reservationId>\r\n            <ownerId>986861764419</ownerId>\r\n            <groupSet/>\r\n            <instancesSet>\r\n                <item>\r\n                    <instanceId>i-4bc196ac</instanceId>\r\n                    <imageId>ami-3013a747</imageId>\r\n                    <instanceState>\r\n                        <code>0</code>\r\n                        <name>pending</name>\r\n                    </instanceState>\r\n                    <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                    <dnsName>ec2-52-17-178-133.eu-west-1.compute.amazonaws.com</dnsName>\r\n                    <reason/>\r\n                    <keyName>Araxis EC2 User</keyName>\r\n                    <amiLaunchIndex>0</amiLaunchIndex>\r\n                    <productCodes/>\r\n                    <instanceType>t2.micro</instanceType>\r\n                    <launchTime>2015-04-09T09:14:08.000Z</launchTime>\r\n                    <placement>\r\n                        <availabilityZone>eu-west-1a</availabilityZone>\r\n                        <groupName/>\r\n                        <tenancy>default</tenancy>\r\n                    </placement>\r\n                    <monitoring>\r\n                        <state>disabled</state>\r\n                    </monitoring>\r\n                    <subnetId>subnet-18a05172</subnetId>\r\n                    <vpcId>vpc-1aa05170</vpcId>\r\n                    <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                    <ipAddress>52.17.178.133</ipAddress>\r\n                    <sourceDestCheck>true</sourceDestCheck>\r\n                    <groupSet>\r\n                        <item>\r\n                            <groupId>sg-a723d5c8</groupId>\r\n                            <groupName>default</groupName>\r\n                        </item>\r\n                    </groupSet>\r\n                    <architecture>x86_64</architecture>\r\n                    <rootDeviceType>ebs</rootDeviceType>\r\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\r\n                    <blockDeviceMapping>\r\n                        <item>\r\n                            <deviceName>/dev/sda1</deviceName>\r\n                            <ebs>\r\n                                <volumeId>vol-5f87464c</volumeId>\r\n                                <status>attaching</status>\r\n                                <attachTime>2015-04-09T09:14:11.000Z</attachTime>\r\n                                <deleteOnTermination>false</deleteOnTermination>\r\n                            </ebs>\r\n                        </item>\r\n                    </blockDeviceMapping>\r\n                    <virtualizationType>hvm</virtualizationType>\r\n                    <clientToken/>\r\n                    <hypervisor>xen</hypervisor>\r\n                    <networkInterfaceSet>\r\n                        <item>\r\n                            <networkInterfaceId>eni-eef66798</networkInterfaceId>\r\n                            <subnetId>subnet-18a05172</subnetId>\r\n                            <vpcId>vpc-1aa05170</vpcId>\r\n                            <description/>\r\n                            <ownerId>986861764419</ownerId>\r\n                            <status>in-use</status>\r\n                            <macAddress>06:cb:29:77:c5:24</macAddress>\r\n                            <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                            <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                            <sourceDestCheck>true</sourceDestCheck>\r\n                            <groupSet>\r\n                                <item>\r\n                                    <groupId>sg-a723d5c8</groupId>\r\n                                    <groupName>default</groupName>\r\n                                </item>\r\n                            </groupSet>\r\n                            <attachment>\r\n                                <attachmentId>eni-attach-b3c01df3</attachmentId>\r\n                                <deviceIndex>0</deviceIndex>\r\n                                <status>attaching</status>\r\n                                <attachTime>2015-04-09T09:14:08.000Z</attachTime>\r\n                                <deleteOnTermination>true</deleteOnTermination>\r\n                            </attachment>\r\n                            <association>\r\n                                <publicIp>52.17.178.133</publicIp>\r\n                                <publicDnsName>ec2-52-17-178-133.eu-west-1.compute.amazonaws.com</publicDnsName>\r\n                                <ipOwnerId>amazon</ipOwnerId>\r\n                            </association>\r\n                            <privateIpAddressesSet>\r\n                                <item>\r\n                                    <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                                    <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                                    <primary>true</primary>\r\n                                    <association>\r\n                                    <publicIp>52.17.178.133</publicIp>\r\n                                    <publicDnsName>ec2-52-17-178-133.eu-west-1.compute.amazonaws.com</publicDnsName>\r\n                                    <ipOwnerId>amazon</ipOwnerId>\r\n                                    </association>\r\n                                </item>\r\n                            </privateIpAddressesSet>\r\n                        </item>\r\n                    </networkInterfaceSet>\r\n                    <ebsOptimized>false</ebsOptimized>\r\n                </item>\r\n            </instancesSet>\r\n        </item>\r\n    </reservationSet>\r\n</DescribeInstancesResponse>\r\n[DEBUG   ] The query returned: [{'ownerId': '986861764419', 'groupSet': None, 'reservationId': 'r-a8fa5b4f', 'instancesSet': {'item': {'productCodes': None, 'vpcId': 'vpc-1aa05170', 'instanceId': 'i-4bc196ac', 'imageId': 'ami-3013a747', 'keyName': 'Araxis EC2 User', 'clientToken': None, 'subnetId': 'subnet-18a05172', 'amiLaunchIndex': '0', 'instanceType': 't2.micro', 'groupSet': {'item': {'groupName': 'default', 'groupId': 'sg-a723d5c8'}}, 'monitoring': {'state': 'disabled'}, 'dnsName': 'ec2-52-17-178-133.eu-west-1.compute.amazonaws.com', 'privateIpAddress': '172.31.38.222', 'virtualizationType': 'hvm', 'privateDnsName': 'ip-172-31-38-222.eu-west-1.compute.internal', 'reason': None, 'sourceDestCheck': 'true', 'blockDeviceMapping': {'item': {'deviceName': '/dev/sda1', 'ebs': {'status': 'attaching', 'deleteOnTermination': 'false', 'volumeId': 'vol-5f87464c', 'attachTime': '2015-04-09T09:14:11.000Z'}}}, 'placement': {'groupName': None, 'tenancy': 'default', 'availabilityZone': 'eu-west-1a'}, 'instanceState': {'code': '0', 'name': 'pending'}, 'networkInterfaceSet': {'item': {'status': 'in-use', 'macAddress': '06:cb:29:77:c5:24', 'sourceDestCheck': 'true', 'vpcId': 'vpc-1aa05170', 'description': None, 'networkInterfaceId': 'eni-eef66798', 'privateDnsName': 'ip-172-31-38-222.eu-west-1.compute.internal', 'groupSet': {'item': {'groupName': 'default', 'groupId': 'sg-a723d5c8'}}, 'attachment': {'status': 'attaching', 'deviceIndex': '0', 'deleteOnTermination': 'true', 'attachmentId': 'eni-attach-b3c01df3', 'attachTime': '2015-04-09T09:14:08.000Z'}, 'subnetId': 'subnet-18a05172', 'ownerId': '986861764419', 'privateIpAddressesSet': {'item': {'privateDnsName': 'ip-172-31-38-222.eu-west-1.compute.internal', 'association': {'publicIp': '52.17.178.133', 'publicDnsName': 'ec2-52-17-178-133.eu-west-1.compute.amazonaws.com', 'ipOwnerId': 'amazon'}, 'primary': 'true', 'privateIpAddress': '172.31.38.222'}}, 'association': {'publicIp': '52.17.178.133', 'publicDnsName': 'ec2-52-17-178-133.eu-west-1.compute.amazonaws.com', 'ipOwnerId': 'amazon'}, 'privateIpAddress': '172.31.38.222'}}, 'ebsOptimized': 'false', 'launchTime': '2015-04-09T09:14:08.000Z', 'architecture': 'x86_64', 'hypervisor': 'xen', 'rootDeviceType': 'ebs', 'ipAddress': '52.17.178.133', 'rootDeviceName': '/dev/sda1'}}}]\r\n[DEBUG   ] Waiting for VM IP. Giving up in 00:10:00\r\n[DEBUG   ] Using EC2 endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] EC2 Request: https://ec2.eu-west-1.amazonaws.com/\r\n[TRACE   ] EC2 Request Parameters: {'SignatureVersion': '2', 'AWSAccessKeyId': '<REDACTED>', 'InstanceId.1': 'i-4bc196ac', 'Timestamp': '2015-04-09T09:14:13Z', 'SignatureMethod': 'HmacSHA256', 'Version': '2013-10-01', 'Signature': 'rRAFLEZ95xRgUPUQwzGfdjt4ghazZYBizMaXWiu5zko=', 'Action': 'DescribeInstances'}\r\n[DEBUG   ] EC2 Response Status Code: 200\r\n[TRACE   ] EC2 Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeInstancesResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-01/\">\r\n    <requestId>26a136b6-7e1e-45be-bd7e-e529323d6545</requestId>\r\n    <reservationSet>\r\n        <item>\r\n            <reservationId>r-a8fa5b4f</reservationId>\r\n            <ownerId>986861764419</ownerId>\r\n            <groupSet/>\r\n            <instancesSet>\r\n                <item>\r\n                    <instanceId>i-4bc196ac</instanceId>\r\n                    <imageId>ami-3013a747</imageId>\r\n                    <instanceState>\r\n                        <code>0</code>\r\n                        <name>pending</name>\r\n                    </instanceState>\r\n                    <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                    <dnsName>ec2-52-17-178-133.eu-west-1.compute.amazonaws.com</dnsName>\r\n                    <reason/>\r\n                    <keyName>Araxis EC2 User</keyName>\r\n                    <amiLaunchIndex>0</amiLaunchIndex>\r\n                    <productCodes/>\r\n                    <instanceType>t2.micro</instanceType>\r\n                    <launchTime>2015-04-09T09:14:08.000Z</launchTime>\r\n                    <placement>\r\n                        <availabilityZone>eu-west-1a</availabilityZone>\r\n                        <groupName/>\r\n                        <tenancy>default</tenancy>\r\n                    </placement>\r\n                    <monitoring>\r\n                        <state>disabled</state>\r\n                    </monitoring>\r\n                    <subnetId>subnet-18a05172</subnetId>\r\n                    <vpcId>vpc-1aa05170</vpcId>\r\n                    <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                    <ipAddress>52.17.178.133</ipAddress>\r\n                    <sourceDestCheck>true</sourceDestCheck>\r\n                    <groupSet>\r\n                        <item>\r\n                            <groupId>sg-a723d5c8</groupId>\r\n                            <groupName>default</groupName>\r\n                        </item>\r\n                    </groupSet>\r\n                    <architecture>x86_64</architecture>\r\n                    <rootDeviceType>ebs</rootDeviceType>\r\n                    <rootDeviceName>/dev/sda1</rootDeviceName>\r\n                    <blockDeviceMapping>\r\n                        <item>\r\n                            <deviceName>/dev/sda1</deviceName>\r\n                            <ebs>\r\n                                <volumeId>vol-5f87464c</volumeId>\r\n                                <status>attaching</status>\r\n                                <attachTime>2015-04-09T09:14:11.000Z</attachTime>\r\n                                <deleteOnTermination>false</deleteOnTermination>\r\n                            </ebs>\r\n                        </item>\r\n                    </blockDeviceMapping>\r\n                    <virtualizationType>hvm</virtualizationType>\r\n                    <clientToken/>\r\n                    <hypervisor>xen</hypervisor>\r\n                    <networkInterfaceSet>\r\n                        <item>\r\n                            <networkInterfaceId>eni-eef66798</networkInterfaceId>\r\n                            <subnetId>subnet-18a05172</subnetId>\r\n                            <vpcId>vpc-1aa05170</vpcId>\r\n                            <description/>\r\n                            <ownerId>986861764419</ownerId>\r\n                            <status>in-use</status>\r\n                            <macAddress>06:cb:29:77:c5:24</macAddress>\r\n                            <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                            <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                            <sourceDestCheck>true</sourceDestCheck>\r\n                            <groupSet>\r\n                                <item>\r\n                                    <groupId>sg-a723d5c8</groupId>\r\n                                    <groupName>default</groupName>\r\n                                </item>\r\n                            </groupSet>\r\n                            <attachment>\r\n                                <attachmentId>eni-attach-b3c01df3</attachmentId>\r\n                                <deviceIndex>0</deviceIndex>\r\n                                <status>attaching</status>\r\n                                <attachTime>2015-04-09T09:14:08.000Z</attachTime>\r\n                                <deleteOnTermination>true</deleteOnTermination>\r\n                            </attachment>\r\n                            <association>\r\n                                <publicIp>52.17.178.133</publicIp>\r\n                                <publicDnsName>ec2-52-17-178-133.eu-west-1.compute.amazonaws.com</publicDnsName>\r\n                                <ipOwnerId>amazon</ipOwnerId>\r\n                            </association>\r\n                            <privateIpAddressesSet>\r\n                                <item>\r\n                                    <privateIpAddress>172.31.38.222</privateIpAddress>\r\n                                    <privateDnsName>ip-172-31-38-222.eu-west-1.compute.internal</privateDnsName>\r\n                                    <primary>true</primary>\r\n                                    <association>\r\n                                    <publicIp>52.17.178.133</publicIp>\r\n                                    <publicDnsName>ec2-52-17-178-133.eu-west-1.compute.amazonaws.com</publicDnsName>\r\n                                    <ipOwnerId>amazon</ipOwnerId>\r\n                                    </association>\r\n                                </item>\r\n                            </privateIpAddressesSet>\r\n                        </item>\r\n                    </networkInterfaceSet>\r\n                    <ebsOptimized>false</ebsOptimized>\r\n                </item>\r\n            </instancesSet>\r\n        </item>\r\n    </reservationSet>\r\n</DescribeInstancesResponse>\r\n[DEBUG   ] Returned query data: [{'ownerId': '986861764419', 'groupSet': None, 'reservationId': 'r-a8fa5b4f', 'instancesSet': {'item': {'productCodes': None, 'vpcId': 'vpc-1aa05170', 'instanceId': 'i-4bc196ac', 'imageId': 'ami-3013a747', 'keyName': 'Araxis EC2 User', 'clientToken': None, 'subnetId': 'subnet-18a05172', 'amiLaunchIndex': '0', 'instanceType': 't2.micro', 'groupSet': {'item': {'groupName': 'default', 'groupId': 'sg-a723d5c8'}}, 'monitoring': {'state': 'disabled'}, 'dnsName': 'ec2-52-17-178-133.eu-west-1.compute.amazonaws.com', 'privateIpAddress': '172.31.38.222', 'virtualizationType': 'hvm', 'privateDnsName': 'ip-172-31-38-222.eu-west-1.compute.internal', 'reason': None, 'sourceDestCheck': 'true', 'blockDeviceMapping': {'item': {'deviceName': '/dev/sda1', 'ebs': {'status': 'attaching', 'deleteOnTermination': 'false', 'volumeId': 'vol-5f87464c', 'attachTime': '2015-04-09T09:14:11.000Z'}}}, 'placement': {'groupName': None, 'tenancy': 'default', 'availabilityZone': 'eu-west-1a'}, 'instanceState': {'code': '0', 'name': 'pending'}, 'networkInterfaceSet': {'item': {'status': 'in-use', 'macAddress': '06:cb:29:77:c5:24', 'sourceDestCheck': 'true', 'vpcId': 'vpc-1aa05170', 'description': None, 'networkInterfaceId': 'eni-eef66798', 'privateDnsName': 'ip-172-31-38-222.eu-west-1.compute.internal', 'groupSet': {'item': {'groupName': 'default', 'groupId': 'sg-a723d5c8'}}, 'attachment': {'status': 'attaching', 'deviceIndex': '0', 'deleteOnTermination': 'true', 'attachmentId': 'eni-attach-b3c01df3', 'attachTime': '2015-04-09T09:14:08.000Z'}, 'subnetId': 'subnet-18a05172', 'ownerId': '986861764419', 'privateIpAddressesSet': {'item': {'privateDnsName': 'ip-172-31-38-222.eu-west-1.compute.internal', 'association': {'publicIp': '52.17.178.133', 'publicDnsName': 'ec2-52-17-178-133.eu-west-1.compute.amazonaws.com', 'ipOwnerId': 'amazon'}, 'primary': 'true', 'privateIpAddress': '172.31.38.222'}}, 'association': {'publicIp': '52.17.178.133', 'publicDnsName': 'ec2-52-17-178-133.eu-west-1.compute.amazonaws.com', 'ipOwnerId': 'amazon'}, 'privateIpAddress': '172.31.38.222'}}, 'ebsOptimized': 'false', 'launchTime': '2015-04-09T09:14:08.000Z', 'architecture': 'x86_64', 'hypervisor': 'xen', 'rootDeviceType': 'ebs', 'ipAddress': '52.17.178.133', 'rootDeviceName': '/dev/sda1'}}}]\r\n[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc\r\n[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc\r\n[DEBUG   ] Sending event - data = {'_stamp': '2015-04-09T09:14:14.052962', 'event': 'setting tags', 'tags': {'Name': 'test.example.com'}}\r\n[DEBUG   ] Tags to set for test.example.com: {'Name': 'test.example.com'}\r\n[DEBUG   ] Using EC2 endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] EC2 Request: https://ec2.eu-west-1.amazonaws.com/\r\n[TRACE   ] EC2 Request Parameters: {'SignatureVersion': '2', 'AWSAccessKeyId': '<REDACTED>', 'ResourceId.1': 'i-4bc196ac', 'Timestamp': '2015-04-09T09:14:19Z', 'Tag.0.Key': 'Name', 'Tag.0.Value': 'test.example.com', 'SignatureMethod': 'HmacSHA256', 'Version': '2013-10-01', 'Signature': 'H0cvQ7OCNSBIXKaQG4AQxT1654BWuNsWRFU8P+6n03g=', 'Action': 'CreateTags'}\r\n[DEBUG   ] EC2 Response Status Code: 200\r\n[TRACE   ] EC2 Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<CreateTagsResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-01/\">\r\n    <requestId>d604a0f9-f5c2-4f15-b807-4a4ee9a8007e</requestId>\r\n    <return>true</return>\r\n</CreateTagsResponse>\r\n[DEBUG   ] Using EC2 endpoint: ec2.eu-west-1.amazonaws.com\r\n[DEBUG   ] EC2 Request: https://ec2.eu-west-1.amazonaws.com/\r\n[TRACE   ] EC2 Request Parameters: {'SignatureVersion': '2', 'AWSAccessKeyId': '<REDACTED>', 'Filter.1.Name': 'resource-id', 'Timestamp': '2015-04-09T09:14:19Z', 'SignatureMethod': 'HmacSHA256', 'Version': '2013-10-01', 'Signature': 'Aodr8H9E56vYNd/ppvkGvBizwSx8WDJ4/s66UzVCD7g=', 'Action': 'DescribeTags', 'Filter.1.Value': 'i-4bc196ac'}\r\n[DEBUG   ] EC2 Response Status Code: 200\r\n[TRACE   ] EC2 Response Text: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<DescribeTagsResponse xmlns=\"http://ec2.amazonaws.com/doc/2013-10-01/\">\r\n    <requestId>3d594b06-9a1b-4f83-8da4-e154d9e6bdc6</requestId>\r\n    <tagSet>\r\n        <item>\r\n            <resourceId>i-4bc196ac</resourceId>\r\n            <resourceType>instance</resourceType>\r\n            <key>Name</key>\r\n            <value>test.example.com</value>\r\n        </item>\r\n    </tagSet>\r\n</DescribeTagsResponse>\r\n[DEBUG   ] Setting the tags returned: [{'resourceType': 'instance', 'resourceId': 'i-4bc196ac', 'value': 'test.example.com', 'key': 'Name'}]\r\n[INFO    ] Created node test.example.com\r\n[INFO    ] Salt node data. Public_ip: 52.17.178.133\r\n[DEBUG   ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc\r\n[DEBUG   ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc\r\n[DEBUG   ] Sending event - data = {'_stamp': '2015-04-09T09:14:19.716515', 'ip_address': '52.17.178.133', 'event': 'waiting for ssh'}\r\n[DEBUG   ] Attempting connection to host 52.17.178.133 on port 22\r\n[DEBUG   ] Caught exception in wait_for_port: timed out\r\n[DEBUG   ] Retrying connection to host 52.17.178.133 on port 22 (try 1)\r\n[DEBUG   ] Caught exception in wait_for_port: [Errno 61] Connection refused\r\n[DEBUG   ] Retrying connection to host 52.17.178.133 on port 22 (try 2)\r\n[DEBUG   ] Caught exception in wait_for_port: [Errno 61] Connection refused\r\n...\r\n[DEBUG   ] Retrying connection to host 52.17.178.133 on port 22 (try 202)\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 1 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54084  STDOUT_FD: 4  STDERR_FD: 8\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 2 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54103  STDOUT_FD: 4  STDERR_FD: 11\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 3 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54104  STDOUT_FD: 4  STDERR_FD: 13\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 4 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54105  STDOUT_FD: 4  STDERR_FD: 15\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 5 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54106  STDOUT_FD: 4  STDERR_FD: 17\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 6 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54107  STDOUT_FD: 4  STDERR_FD: 19\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 7 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54108  STDOUT_FD: 4  STDERR_FD: 21\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 8 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54109  STDOUT_FD: 4  STDERR_FD: 23\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 9 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54110  STDOUT_FD: 4  STDERR_FD: 25\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 10 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54111  STDOUT_FD: 4  STDERR_FD: 27\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 11 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54112  STDOUT_FD: 4  STDERR_FD: 29\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 12 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54113  STDOUT_FD: 4  STDERR_FD: 31\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 13 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54114  STDOUT_FD: 4  STDERR_FD: 33\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n[DEBUG   ] Using /etc/salt/keys/araxis-ec2-user as the key_filename\r\n[DEBUG   ] Attempting to authenticate as ec2-user (try 14 of 15)\r\n[DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date'\r\n[DEBUG   ] Child Forked! PID: 54115  STDOUT_FD: 4  STDERR_FD: 35\r\n[DEBUG   ] Terminal Command: /bin/sh -c ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /etc/salt/keys/araxis-ec2-user -p 22 ec2-user@52.17.178.133 date\r\n[WARNING ] Failed to spawn the VT: [Errno 6] Device not configured: '/dev/tty'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 203, in __init__\r\n    self._spawn()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 394, in _spawn\r\n    self.pid, self.child_fd, self.child_fde = self.__fork_ptys()\r\n  File \"/usr/local/lib/python2.7/site-packages/salt/utils/vt.py\", line 525, in __fork_ptys\r\n    tty_fd = os.open('/dev/tty', os.O_WRONLY)\r\nOSError: [Errno 6] Device not configured: '/dev/tty'\r\n[ERROR   ] A wrong password has been issued while establishing ssh session\r\n^C\r\nExiting gracefully on Ctrl-c\r\n```\r\n\r\nAnd, for good measure, the version information for the salt 2014.7.4 installation:\r\n```\r\n# salt --versions-report\r\n           Salt: 2014.7.4\r\n         Python: 2.7.9 (default, Jan  9 2015, 14:27:53)\r\n         Jinja2: 2.7.3\r\n       M2Crypto: 0.22\r\n msgpack-python: 0.4.2\r\n   msgpack-pure: Not Installed\r\n       pycrypto: 2.6.1\r\n        libnacl: Not Installed\r\n         PyYAML: 3.11\r\n          ioflo: Not Installed\r\n          PyZMQ: 14.5.0\r\n           RAET: Not Installed\r\n            ZMQ: 4.0.5\r\n           Mako: Not Installed\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/114306405","html_url":"https://github.com/saltstack/salt/issues/22498#issuecomment-114306405","issue_url":"https://api.github.com/repos/saltstack/salt/issues/22498","id":114306405,"user":{"login":"techhat","id":287147,"avatar_url":"https://avatars.githubusercontent.com/u/287147?v=3","gravatar_id":"","url":"https://api.github.com/users/techhat","html_url":"https://github.com/techhat","followers_url":"https://api.github.com/users/techhat/followers","following_url":"https://api.github.com/users/techhat/following{/other_user}","gists_url":"https://api.github.com/users/techhat/gists{/gist_id}","starred_url":"https://api.github.com/users/techhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techhat/subscriptions","organizations_url":"https://api.github.com/users/techhat/orgs","repos_url":"https://api.github.com/users/techhat/repos","events_url":"https://api.github.com/users/techhat/events{/privacy}","received_events_url":"https://api.github.com/users/techhat/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T23:50:59Z","updated_at":"2015-06-22T23:50:59Z","body":"I'm glad, thanks guys!"}}