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

knife spork very slow on latest chef #231

Open
fawaf opened this issue Apr 20, 2020 · 1 comment
Open

knife spork very slow on latest chef #231

fawaf opened this issue Apr 20, 2020 · 1 comment

Comments

@fawaf
Copy link

fawaf commented Apr 20, 2020

% chef -v                      
Chef Workstation version: 0.17.5
Chef Infra Client version: 15.8.23
Chef InSpec version: 4.18.100
Chef CLI version: 2.0.0
Test Kitchen version: 2.4.0
Cookstyle version: 5.22.6

the command run was similar to promote-cookbook env cookbook -VVVVVV
the output is mostly just https://gist.github.com/fawaf/c2c02601b0804e6cc84a2fa7e0dabced repeated for each env file. of note, the line DEBUG: No chefignore file found. No files will be ignored! is repeated 100s of times for each environment.

happy to provide whatever output is needed, but not sure what else i can provide.

@fawaf
Copy link
Author

fawaf commented Jun 4, 2020

after more testing, it looks like it is very slow if it tries to look up the version from the server. if i pass in a specific version on the cli, it is still super speedy.

e.g.
super slow

knife spork promote blah foo

vs.
still super speedy

knife spork promote blah foo -v 3.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant