Changes not reflected in chef-manage/knife cookbook list
discentem opened this issue · 6 comments
/var/chef/grocery_delivery_work/ops/cookbooks
has the up-to-date chef data after a grocery delivery run but chef manage doesn’t reflect the changes. I don't think the knife upload is occurring correctly.
How should I investigate this discrepancy?
(I don't think this is an issue with the code base, just my attempt to use it)
What do the logs show?
I am not sure which logs to look at. None of the logs in /var/log/opscode
seem to give relevant info. Can you point me in the right direction?
(A manual knife upload
works, which is good I guess.)
grocery_delivery logs to syslog by default, so /var/log/messages or /var/log/syslog depending on your distro.
Here is the log output from grocery_delivery:
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Attempting to acquire lock
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Lock acquired
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Updating repo
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Determing changes... from 726f43906d971904b0de0aa4db2888a78a05053b to 00efc2598d60e625c09142c33fe00a42d4bc36e9
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Added cookbooks: []
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Deleted cookbooks: []
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Added roles: []
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Deleted roles: []
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Added databags: []
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Deleted databags: []
Mar 12 18:00:11 ubuntu grocery-delivery[15137]: WARN: Success at 00efc2598d60e625c09142c33fe00a42d4bc36e9
Despite making changes to a cookbook named "test" and the local git repo being updated, chef manage does not show the latest changes to "test".
Configuration issue. I defined a path incorrectly for where my cookbooks were stored I think. Closing.