Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thank you very much! This tutorial was excellent. I got my chef server up and running in no time.
Thank you very much…!! Ii worked… but in bootstrap command, it gave me error, "chef-client command not found on client ", then i installed chef-client on client machine by manually doing ssh. do we need to go to client machine and install chef-client for every client? in real scenario if I Have 1000 machines then it will be tedious job… Is there any solution for this in bootstrapping step?
d.dattatray: I’m not sure what went wrong, but the entire idea behind the bootstrap command is that it installs the chef-client automatically. Is that the exact error message you received (verbatim)? I’m unable to find any reference to that message specifically on google.
It’s possible that the node could not connect to the Chef website to download the omnibus installer at that time.
I would explore these two links to find out more about what is happening:
http://docs.opscode.com/install_bootstrap.html
http://docs.opscode.com/essentials_nodes_bootstrap.html
I suggest trying another another time. Post back if you are still having problems and we can try to troubleshoot.
Thank you very much for your reply… I will retry from scratch as per your suggestion… just a small doubt. is it necessary , while boot strapping from workstation machine , client needs to be connected to internet…? because in my environment, i have internet access only to server machine… Thanks again for reply
d.dattatray: Yes, by default, the bootstrap command assumes that the client computer has access to the Chef website to download the most recent version of the installer.
There is a bug report here that looks to add the functionality to download the installer from another source (such as a machine on your local network): https://tickets.opscode.com/browse/CHEF-4697
Until this gets fixed though, the Chef client needs access to the Chef website to acquire the necessary files. Hope that helps.
@kenny: Looking the error output, what’s actually failing (returning error code 7, could not connect) is a call to:
<pre> curl -sf http://127.0.0.1:8000/_status </pre>
That is supposed to return the status of chef_solr. What happens when you run that manually? What’s the output of “chef-server-ctl status”
I actually got this figured out before I saw your comment and I don’t remember what curl -sf http://127.0.0.1:8000/_status or chef-server-ctl status returned.
Setting my hosts file to this fixed the install:
127.0.0.1 localhost.localdomain localhost MY-IP chef.my-domain.com chef
Thank alot buddy for this excellent tutorial, This is not the first time i came across to your website in order to follow a tutorial.
This is what excactly i needed…a straight forward tutorial that helped me set up a chef enviroment in just 30 min where with the other tutorials out there i was lost not even halfway.
Good work
I’m using VM workstation with ubuntu i386 for workstation and client ubuntu amd64 for chef server Is there any way to work around this problem?