{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/290","labels_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/290/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/290/events","html_url":"https://github.com/mitchellh/vagrant-aws/issues/290","id":41829974,"number":290,"title":"Vagrantfile breaking in 1.6.4 but fine in 1.6.3","user":{"login":"skotzko","id":311226,"avatar_url":"https://avatars.githubusercontent.com/u/311226?v=3","gravatar_id":"","url":"https://api.github.com/users/skotzko","html_url":"https://github.com/skotzko","followers_url":"https://api.github.com/users/skotzko/followers","following_url":"https://api.github.com/users/skotzko/following{/other_user}","gists_url":"https://api.github.com/users/skotzko/gists{/gist_id}","starred_url":"https://api.github.com/users/skotzko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skotzko/subscriptions","organizations_url":"https://api.github.com/users/skotzko/orgs","repos_url":"https://api.github.com/users/skotzko/repos","events_url":"https://api.github.com/users/skotzko/events{/privacy}","received_events_url":"https://api.github.com/users/skotzko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-09-03T15:34:39Z","updated_at":"2015-04-17T17:08:35Z","closed_at":null,"body":"I upgraded to Vagrant 1.6.4 yesterday and a functioning Vagrantfile from 1.6.3 now breaks.\r\n\r\nHere is the console output raised when I run `vagrant up --provider=aws`. The errors at top about access keys and vm.box are new (those are present), as is the error at bottom about the communicator:\r\n\r\n```\r\n~/projects/terra(vagrant-setup) $ vagrant up --provider=aws\r\nBringing machine 'default' up with 'aws' provider...\r\n==> default: HandleBoxUrl middleware is deprecated. Use HandleBox instead.\r\n==> default: This is a bug with the provider. Please contact the creator\r\n==> default: of the provider you use to fix this.\r\nThere are errors in the configuration of this machine. Please fix\r\nthe following errors and try again:\r\n\r\nvm:\r\n* A box must be specified.\r\n\r\nAWS Provider:\r\n* An access key ID must be specified via \"access_key_id\"\r\n* A secret access key is required via \"secret_access_key\"\r\n* vagrant_aws.config.ami_required\r\n\r\n\r\n~/projects/terra(vagrant-setup) $ vagrant up --provider=aws\r\nBringing machine 'default' up with 'aws' provider...\r\n==> default: HandleBoxUrl middleware is deprecated. Use HandleBox instead.\r\n==> default: This is a bug with the provider. Please contact the creator\r\n==> default: of the provider you use to fix this.\r\n==> default: Warning! The AWS provider doesn't support any of the Vagrant\r\n==> default: high-level network configurations (`config.vm.network`). They\r\n==> default: will be silently ignored.\r\n==> default: Launching an instance with the following settings...\r\n==> default:  -- Type: t2.small\r\n==> default:  -- AMI: ami-e13f79d1\r\n==> default:  -- Region: us-west-2\r\n==> default:  -- Keypair: REDACTED\r\n==> default:  -- Security Groups: [\"REDACTED\"]\r\n==> default:  -- Block Device Mapping: []\r\n==> default:  -- Terminate On Shutdown: false\r\n==> default:  -- Monitoring: false\r\n==> default:  -- EBS optimized: false\r\n==> default:  -- Assigning a public IP address in a VPC: false\r\n==> default: Waiting for instance to become \"ready\"...\r\n==> default: Waiting for SSH to become available...\r\n==> default: Machine is booted and ready for use!\r\n==> default: Terminating the instance...\r\n/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/plugins/communicators/ssh/communicator.rb:573:in `shell_execute': undefined local variable or method `stdout' for #<VagrantPlugins::CommunicatorSSH::Communicator:0x000001039d11e8> (NameError)\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/plugins/communicators/ssh/communicator.rb:188:in `block in execute'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/plugins/communicators/ssh/communicator.rb:280:in `connect'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/plugins/communicators/ssh/communicator.rb:182:in `execute'\r\n\tfrom /Users/andrew/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/sync_folders.rb:32:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/provision.rb:80:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builder.rb:116:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `block in run'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/util/busy.rb:19:in `busy'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `run'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/call.rb:53:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/andrew/.vagrant.d/gems/gems/vagrant-aws-0.5.0/lib/vagrant-aws/action/connect_aws.rb:42:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/handle_box.rb:56:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/handle_box_url.rb:9:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builder.rb:116:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `block in run'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/util/busy.rb:19:in `busy'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `run'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:196:in `action_raw'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:173:in `block in action'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/environment.rb:474:in `lock'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:161:in `call'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:161:in `action'\r\n\tfrom /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'\r\n~/projects/terra(vagrant-setup) $\r\n```\r\n\r\nAnd here is the formerly functioning `Vagrantfile` (slightly redacted):\r\n```\r\n# -*- mode: ruby -*-\r\n# vi: set ft=ruby :\r\nrequire 'yaml'\r\n \r\nsettings = YAML.load_file 'vagrant.yml'\r\n \r\nVagrant.configure(\"2\") do |config|\r\n  config.vm.box = \"dummy\"\r\n  config.ssh.pty = true # so vagrant can run sudo commands over SSH (something like that, not sure)\r\n \r\n  config.vm.provider :aws do |aws, override|\r\n    aws.access_key_id = settings['aws']['access_key_id']\r\n    aws.secret_access_key = settings['aws']['secret_access_key']\r\n \r\n    aws.region = \"us-west-2\"\r\n    aws.ami = \"ami-e13f79d1\" # private AMI with project stack already installed\r\n    aws.security_groups = ['REDACTED']\r\n    aws.instance_type = \"t2.small\"\r\n \r\n    aws.tags = {\r\n      'Name' => 'rhel2',\r\n    }\r\n \r\n    override.ssh.username = \"ec2-user\" # ec2-user since this is RHEL, not ubuntu\r\n \r\n    aws.keypair_name = \"REDACTED\"\r\n    override.ssh.private_key_path = settings['aws']['private_key_path']\r\n  end\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/comments/94028826","html_url":"https://github.com/mitchellh/vagrant-aws/issues/290#issuecomment-94028826","issue_url":"https://api.github.com/repos/mitchellh/vagrant-aws/issues/290","id":94028826,"user":{"login":"vito","id":1880,"avatar_url":"https://avatars.githubusercontent.com/u/1880?v=3","gravatar_id":"","url":"https://api.github.com/users/vito","html_url":"https://github.com/vito","followers_url":"https://api.github.com/users/vito/followers","following_url":"https://api.github.com/users/vito/following{/other_user}","gists_url":"https://api.github.com/users/vito/gists{/gist_id}","starred_url":"https://api.github.com/users/vito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vito/subscriptions","organizations_url":"https://api.github.com/users/vito/orgs","repos_url":"https://api.github.com/users/vito/repos","events_url":"https://api.github.com/users/vito/events{/privacy}","received_events_url":"https://api.github.com/users/vito/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T17:08:35Z","updated_at":"2015-04-17T17:08:35Z","body":"Still running into this all the time; constantly having to downgrade to 1.6.3. We continuously deliver boxes and this is forcing anyone trying to use them to downgrade."}}