I’ve just started the Learn Chef Rally tutorials and I’m on the Infrastructure Automation track in the “Manage a Node with Chef Server” tutorial. I’m using the hosted chef environment. I’m on the “Bootstrap your node” step. I’ve created a Vagrant/VirtualBox chef node on my Windows 8.1 machine using a bento/centos-7.2 vagrant box so the chef node just has the OS on it so far. I’ve signed on to the node with vagrant ssh and verified that the node has internet connectivity.
Now I’m trying to bootstrap the node with the following command in PowerShell as shown in the tutorial:
PS C:\temp\Chef\learn-chef> knife bootstrap localhost --ssh-port 2222 --ssh-user vagrant --sudo --identity-file C:\Te
Chef.vagrant\machines\default\virtualbox\private_key --node-name node1-centos --run-list ‘recipe[learn_chef_httpd]’
However, the command just sits there and nothing happens. What troubleshooting steps should I follow to see why the knife bootstrap command is not progressing? I’ve tried adding the -VV option but that doesn’t seem to make a difference. I’d like to find out where knife bootstrap is getting stuck.