I followed the Server Fault answer here: http://serverfault.com/questions/641951/knife-cant-ssh-into-newly-instantiated-ec2-serverBut it still doesn't work.The instance is launched fine, but it waits forever on the "waiting for sshd" step.The weird part is that if I run knife bootstrap directly on the private ip (using the --ssh-gateway) option, it works fine.Here is the knife command I'm using:bundle exec knife ec2 server create \--environment edge \--node-name edge-db-e-clients-01 \--subnet subnet-xxx \--flavor m3.medium \--image ami-xxx \--security-group-ids sg-xxx \--iam-profile node \--ssh-user ubuntu \--ssh-key provisioner \--ssh-gateway " target="_blank"> \--server-connect-attribute private_ip_address \--no-host-key-verify \--ebs-size 50 \--ephemeral /dev/sdb,/dev/sdc,/dev/sdd,/dev/sde \--json-attributes '{"route53":{"value_src":"local_ipv4","type":"A"}}' \--run-list recipe[aw_base::default],recipe[aw_base::auto_dns]The output of that gets stuck here:Waiting for sshd access to become availableDEBUG: Using ssh gateway " target="_blank"> from knife configHere is the knife bootstrap command that works fine through the gateway:bundle exec knife bootstrap 10.x.x.x \--environment edge \--node-name edge-db-e-clients-01 \--ssh-user ubuntu \--ssh-gateway " target="_blank"> \--sudo \--json-attributes '{"route53":{"value_src":"local_ipv4","type":"A"}}' \--run-list recipe[aw_base::default],recipe[aw_base::auto_dns]Any ideas? Thanks for the help.
Archive powered by MHonArc 2.6.16.