Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChefConfig determines the cache path 31 times when running basic knife command #9053

Open
tas50 opened this issue Nov 4, 2019 · 0 comments

Comments

@tas50
Copy link
Member

@tas50 tas50 commented Nov 4, 2019

Just running knife list I get the following with trace output enabled:

TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef
TRACE: Unable to access cache at /var/chef. Switching cache to /Users/tsmith/.chef

Seems pretty pointless for us to do multiple directory checks 31 times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.