- From: Aaron Abramson <
>
- To:
- Subject: [chef] Re: Re: Re: knife + ec2
- Date: Thu, 9 Feb 2012 09:55:21 -0600
Doublecheck that your DevOps security group has your IP authorized for SSH.
I ran "knife ec2 server create -f m1.large -I ami-1b814f72 -G default -S mykey -N foobar -x ec2-user -V -V" and it hung on SSH, then I remembered that my default group only allows inter-ec2 communication.
This worked for me "knife ec2 server create -f m1.large -I ami-1b814f72 -G default,management -S mykey -N foobar -x ec2-user -V -V"
I use ssh-add to store my ssh key for ease of use.
On Feb 9, 2012, at 8:39 AM, mark bradley wrote: Well, my accident I left it waiting overnight :(
Mark On Thu, Feb 9, 2012 at 8:53 AM, Kevin Harvey <
">
> wrote:
How long are you waiting for sshd to come up there? It can take a minute or more.
-- Kevin Harvey Web Developer
" target="_blank">
On Thu, Feb 9, 2012 at 8:50 AM, mark bradley <
" target="_blank">
> wrote:
Hi,
I'm trying to bootstrap nodes in EC2 using knife as follows: # knife ec2 server create --flavor m1.large -I ami-1b814f72 -G DevOps -S DevOps -N foobar -x ec2-user -i /tmp/DevOps.pem -V -V
but it hangs with the following output:
DEBUG: Using configuration from /root/.chef/knife.rb
Availability Zone: us-east-1b Waiting for server.......................
Public IP Address: 50.19.18.3
Private DNS Name: ip-10-87-1-167.ec2.internal Private IP Address: 10.87.1.167
If, however, I manually log in to the instance everything seems available:
RSA key fingerprint is 0e:da:5e:4b:8d:80:7f:ba:63:89:25:ad:dd:b4:ba:a0.
Are you sure you want to continue connecting (yes/no)? yes See /usr/share/doc/system-release/ for latest release notes.
There are 23 security update(s) out of 32 total update(s) available
Is there any way to get more debugging information from knife? Does anyone know what could be going wrong?
Thanks, Mark
|
Archive powered by MHonArc 2.6.16.