Knife Bootstrap Hanging

Hi,

I am trying to bootstrap a node but it keeps hanging at this point no matter
what I enter in afterwards.

my.server
my.server rake’s executable “rake” conflicts with /usr/bin/rake
my.server Overwrite the executable? [yN]

Any ideas as to why this might be hanging? I am running in double verbose mode
but it doesn’t tell me anything else. Is there any place I can look on the
remote server for additional debugging?

Thanks in advance,
Jay

Which bootstrap template are you using? Can you please show the full
command issued and debug output from Knife Bootstrap by enabling the
Very Verbose flags (-VV)

Cheers,

AJ

On 25 May 2013 11:44, JayP bosoxjay@gmail.com wrote:

Hi,

I am trying to bootstrap a node but it keeps hanging at this point no matter
what I enter in afterwards.

my.server
my.server rake's executable "rake" conflicts with /usr/bin/rake
my.server Overwrite the executable? [yN]

Any ideas as to why this might be hanging? I am running in double verbose mode
but it doesn't tell me anything else. Is there any place I can look on the
remote server for additional debugging?

Thanks in advance,
Jay

Hi AJ,

I am using the centos5-gem template. I was able to figure out what it was
hanging on though, see the code
herehttps://github.com/opscode/chef/blob/master/lib/chef/knife/bootstrap/centos5-gems.erb#L25.
When running the command by hand on the remote system it was prompting for
several gems to overwrite. This is probably because when the box was first
created I ran 'gem install chef' but then removed it but the other
dependencies weren't removed thus when the bootstrap ran it was continually
prompting to override but not displaying it to the user except the first
one. This caused the run to hang. I managed to get by it by running the
'gem update' manually then running the bootstrap again.

Thanks,
Jay

On Fri, May 24, 2013 at 8:29 PM, AJ Christensen aj@junglist.gen.nz wrote:

Which bootstrap template are you using? Can you please show the full
command issued and debug output from Knife Bootstrap by enabling the
Very Verbose flags (-VV)

Cheers,

AJ

On 25 May 2013 11:44, JayP bosoxjay@gmail.com wrote:

Hi,

I am trying to bootstrap a node but it keeps hanging at this point no
matter
what I enter in afterwards.

my.server
my.server rake's executable "rake" conflicts with /usr/bin/rake
my.server Overwrite the executable? [yN]

Any ideas as to why this might be hanging? I am running in double
verbose mode
but it doesn't tell me anything else. Is there any place I can look on
the
remote server for additional debugging?

Thanks in advance,
Jay

Something to consider maybe is to try using the omnibus installer for
Chef. The template is 'chef-full'. You'll get a fully installed Chef
to /opt with no conflicts with your system state. [0]

Cheers,

AJ

[0] omnibus chef/chef server install page: http://www.opscode.com/chef/install

On 25 May 2013 12:49, Jay Perry bosoxjay@gmail.com wrote:

Hi AJ,

I am using the centos5-gem template. I was able to figure out what it was
hanging on though, see the code here. When running the command by hand on
the remote system it was prompting for several gems to overwrite. This is
probably because when the box was first created I ran 'gem install chef' but
then removed it but the other dependencies weren't removed thus when the
bootstrap ran it was continually prompting to override but not displaying it
to the user except the first one. This caused the run to hang. I managed
to get by it by running the 'gem update' manually then running the bootstrap
again.

Thanks,
Jay

On Fri, May 24, 2013 at 8:29 PM, AJ Christensen aj@junglist.gen.nz wrote:

Which bootstrap template are you using? Can you please show the full
command issued and debug output from Knife Bootstrap by enabling the
Very Verbose flags (-VV)

Cheers,

AJ

On 25 May 2013 11:44, JayP bosoxjay@gmail.com wrote:

Hi,

I am trying to bootstrap a node but it keeps hanging at this point no
matter
what I enter in afterwards.

my.server
my.server rake's executable "rake" conflicts with /usr/bin/rake
my.server Overwrite the executable? [yN]

Any ideas as to why this might be hanging? I am running in double
verbose mode
but it doesn't tell me anything else. Is there any place I can look on
the
remote server for additional debugging?

Thanks in advance,
Jay

Hi AJ,

Where do I get the chef-full template from? I tried using chef-full in the
bootstrap options but it fails.

Thanks,
Jay

On Fri, May 24, 2013 at 9:04 PM, AJ Christensen aj@junglist.gen.nz wrote:

Something to consider maybe is to try using the omnibus installer for
Chef. The template is 'chef-full'. You'll get a fully installed Chef
to /opt with no conflicts with your system state. [0]

Cheers,

AJ

[0] omnibus chef/chef server install page:
http://www.opscode.com/chef/install

On 25 May 2013 12:49, Jay Perry bosoxjay@gmail.com wrote:

Hi AJ,

I am using the centos5-gem template. I was able to figure out what it
was
hanging on though, see the code here. When running the command by hand
on
the remote system it was prompting for several gems to overwrite. This
is
probably because when the box was first created I ran 'gem install chef'
but
then removed it but the other dependencies weren't removed thus when the
bootstrap ran it was continually prompting to override but not
displaying it
to the user except the first one. This caused the run to hang. I
managed
to get by it by running the 'gem update' manually then running the
bootstrap
again.

Thanks,
Jay

On Fri, May 24, 2013 at 8:29 PM, AJ Christensen aj@junglist.gen.nz
wrote:

Which bootstrap template are you using? Can you please show the full
command issued and debug output from Knife Bootstrap by enabling the
Very Verbose flags (-VV)

Cheers,

AJ

On 25 May 2013 11:44, JayP bosoxjay@gmail.com wrote:

Hi,

I am trying to bootstrap a node but it keeps hanging at this point no
matter
what I enter in afterwards.

my.server
my.server rake's executable "rake" conflicts with /usr/bin/rake
my.server Overwrite the executable? [yN]

Any ideas as to why this might be hanging? I am running in double
verbose mode
but it doesn't tell me anything else. Is there any place I can look
on
the
remote server for additional debugging?

Thanks in advance,
Jay

Never mind I had a typo, I'm trying the chef-full now.

Thanks!

On Fri, May 24, 2013 at 9:11 PM, Jay Perry bosoxjay@gmail.com wrote:

Hi AJ,

Where do I get the chef-full template from? I tried using chef-full in
the bootstrap options but it fails.

Thanks,
Jay

On Fri, May 24, 2013 at 9:04 PM, AJ Christensen aj@junglist.gen.nzwrote:

Something to consider maybe is to try using the omnibus installer for
Chef. The template is 'chef-full'. You'll get a fully installed Chef
to /opt with no conflicts with your system state. [0]

Cheers,

AJ

[0] omnibus chef/chef server install page:
http://www.opscode.com/chef/install

On 25 May 2013 12:49, Jay Perry bosoxjay@gmail.com wrote:

Hi AJ,

I am using the centos5-gem template. I was able to figure out what it
was
hanging on though, see the code here. When running the command by hand
on
the remote system it was prompting for several gems to overwrite. This
is
probably because when the box was first created I ran 'gem install
chef' but
then removed it but the other dependencies weren't removed thus when the
bootstrap ran it was continually prompting to override but not
displaying it
to the user except the first one. This caused the run to hang. I
managed
to get by it by running the 'gem update' manually then running the
bootstrap
again.

Thanks,
Jay

On Fri, May 24, 2013 at 8:29 PM, AJ Christensen aj@junglist.gen.nz
wrote:

Which bootstrap template are you using? Can you please show the full
command issued and debug output from Knife Bootstrap by enabling the
Very Verbose flags (-VV)

Cheers,

AJ

On 25 May 2013 11:44, JayP bosoxjay@gmail.com wrote:

Hi,

I am trying to bootstrap a node but it keeps hanging at this point no
matter
what I enter in afterwards.

my.server
my.server rake's executable "rake" conflicts with /usr/bin/rake
my.server Overwrite the executable? [yN]

Any ideas as to why this might be hanging? I am running in double
verbose mode
but it doesn't tell me anything else. Is there any place I can look
on
the
remote server for additional debugging?

Thanks in advance,
Jay