-
Notifications
You must be signed in to change notification settings - Fork 585
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
Intermittent "No such file or directory" on Windows converge #699
Comments
This may be a timing issue where berks is expecting the |
I tried running
And the following is the beginning of when it throws the error:
Successful converge logs |
I also can't seem to reproduce this with OSX as the host instead of Windows. |
Closing this for now as I'm pretty certain I'm hitting the Windows maximum path length limit. |
I'm reopening this as it's not that difficult to run into this limit on Windows hosts and my colleague wasted hours on this. At a minimum, might I suggest a warning to the effect of the Windows path limit? |
Hey @stonith - it looks like its failing when Berkshelf is resolving the dependencies. Can you try updating (or adding if it doesn't exist) your chefignore file to ignore Berkshelf will respect the |
@tyler-ball Thanks. I recently ran into this issue and adding |
@tyler-ball I continue to get this error after adding a |
@valerie-roske are you using the latest version (0.6.0) of the ChefDK? |
@tyler-ball Yes, I'm using the latest version of ChefDK, and it's still trying to look into the sandbox directory. Any thoughts on this? |
@valerie-roske can you give the output of you |
@tyler-ball yep, on Windows 7!
|
@valerie-roske Sorry to keep asking for more information, but I'm still perplexed - can you include the contents of |
Also, I was totally wrong - the file is just |
Seeing this issue too from a Windows Server 2008 R2 host. ChefDK 0.6.0. Strangely, Berkshelf seems to be ignoring my chefignore, stacktrace, & |
By the looks of chef-boneyard/chef-dk#386 the entries in chefignore should look like |
@valerie-roske and others -- Please note the filename is |
@zl4bv Man, I totally messed this one up. I haven't used a |
@tyler-ball Yes, it did help me. Well, I was seeing the same error and stack trace with my bundle directory but replacing Also, I eventually stumbled across some Opscode documentation on the |
So it seems like the issue is to create a chefignore file that includes the |
Thanks @tyler-ball and @zl4bv, this has solved my issue! :) |
Hi All, I have a similar issue while logging into kitchen after converge. I do have all the setup as per your discussion above. I have the below files which is mentioned as not found.. Someone please advice. :) C:/Users/vmariappan/AppData/Local/chefdk/gem/ruby/2.1.0/gems/test-kitchen-1.4.2/lib/kitchen/instance.rb:220:in
|
@vmariappan your error is not like the ones above - if you are on a Windows host I believe you will need to ensure that you have SSH installed (the git package for windows brings this in). Also this should be it's own issue as opposed to piggybacking on a long closed issue |
Thanks for your response, i could login to my kitchen using Git Bash. |
@vmariappan glad you got working! Let us know if we can help further. |
I also encountered this problem after I had ran |
Using Windows host/guest with ChefDK 0.50rc5. Sometimes
kitchen converge
works without issue however, sometimes it fails with:The kitchen.log is here: https://gist.github.com/stonith/688ed3384c80b0e7b89a
This seems to happen intermittently. Sometimes trying
kitchen converge
again works but often it doesn't.The text was updated successfully, but these errors were encountered: