This might be a stupid question. I don't know a lot about chef. I am using chef 11.8.2 on a node. I have a weird problem which might be caused by the chef client caching things rather than downloading from the chef server. Does chef do this? Cache things locally? If so, is it possible to clear the local cache on a chef node before running chef-client
so that I can be sure that my problem isn't from caching?
My cookbook conflicts with a community cookbook. There doesn't seem to be a knife option to rename or delete a cookbook.
Is there a way to delete a chef cookbook from a server or a way to rename an existing cookbook?
I've recently moved my clients from one chef server to another, and now none of my nodes are checking in properly. I can manually run 'chef-client' successfully, and I do have the chef-client::default
cookbook defined, yet they will not "check in".
These are Ubuntu 14.04 nodes connecting to a Chef 12 server on Ubuntu 14.04. The only difference between this server and the old one was that I've also moved to using named environments with specific cookbook versions for our own cookbooks. I haven't explicitly provided entries for the chef-client cookbook or any others since I'm fine with running the latest versions.
I can manually run chef-client
without error, but I do not see any logs under /var/log/chef
so I'm not sure where else to look. I even went so far as to set the chef_client::interval
attribute on the environment to 1800
, but still no luck. Any help would be greatly appreciated.
I have a Chef server running on our local network and tested it with other machines on the same network and everything worked fine. I started up a ec2 instance, and try to bootstrap and it works until it tries to connect to the Chef server. My question is, is there any way around having the Chef server public? Or is there a way that I can bypass whatever the node requires from the server?
I'm running a Chef server in the cloud. I can't log into the "Chef Manage" web interface because I forgot my password.
I can still use knife to (for example) update nodes from my workstation using the server.
I can still ssh to the server using my private key. I tried running sudo private-chef-ctl password myusername
and "successfully" changed my password; however, when I try to sign in using the new password, the web interface still says "Maximum login failures reached, please reset your password."
When I submit the password reset form in the web interface, it says "Your password reset email has been sent", but my server isn't configured to send emails.
How can I reset my password so that I can log into the Chef server using the web interface?