The errors returned by Chef are not always the most useful when the error occurs in the operating system rather than in the Chef client. Sometimes we just need more info on what the Chef Client is doing. Give "chef-client -l debug" a try. This should give you all the info you will ever need about your chef client run.
There are additional log levels when running the Chef client besides debug. Those levels include info, warn, error, and fatal. You can try the different levels to get different information back from the Chef Client run.
tl;dr
Try
chef-client -l debug
More info at: (search for log_level)
https://docs.chef.io/ctl_chef_client.html
No comments:
Post a Comment