chef - Knife bootstrap does nothing -


When using a command knife, a node is run on bootstrap, it just boots up and then nothing does < / P>

  Pseudo Knife Bootstrap 10.0.0.2 -x Root-P PSSword-N CFNnnode   

And Output is - Bootstrapping Chef at 10.0.0.2 < p> And then the execution of the order stops, what can be the reason, because I can ping Cheffer from workstation and vice versaI can ping from the node to the chef server, but the cook can not contact the server node. Could this be the reason? I'm not sure because this is not giving any error? Is there any way to see the log of this command because it can help pinpoint the problem

Log on to the node and check the hostname. If you are able to bootstrap with hostname, then see I was also facing this issue. For some reason the IP you use is not specifically known by the workstation when you are on the wigrates hostnames can be obtained by running the 'hostname' command on the node. Apart from this, the second option for me was bootstrapped using SSH.

Knife Bootstrap Hostname --ssh- User Username --ssh-password Password --ssh-port 2222 - Row-List "recipe [if any]" --Suo

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -