Windows chefdk 0.1.1 verify failing when run in base directory #102
Comments
I'm seeing this same issue with trying to run Test Kitchen on Windows boxes. Trying to do a Kitchen: Message: Input/output error - CreateProcessW So I want to get a +1 on this more or less. |
Thanks for the reports guys. I think these will be separate issues. @tfitch can you give us a little bit more detail on your config? Are you only seeing this when you're in root as well? |
@sersut Sorry for the delayed response (lost in an avalanche of GitHub notifications). I'm actually relaying this messaging on behalf of one of our enterprise customers. He's got pretty good access to tweak his machine, it isn't totally locked down like some people have, but he's still getting this error. He can run his command prompt as Administrator (aka root) and still got this error. One thing I know he's doing that interests me is he's using ConEmu for his command prompt. I don't know why, other than I'm sure it's what he's most comfortable with. I suspect the core issue is around his $PATH. Lots of moving parts here... He's tried both ChefDK and removing the DK and manually installing the DK tools as gems and still got the exact same error. So with that info, it's feeling more like a TK issue... But the only reference I've seen to the CreateProcessW error was on this issue logged in the DK and not in TK. Thus I'm talking about it here. |
I'm the enterprise customer referenced above. The error occurs in the native Windows command prompt as well. Mischa and Seth recommended ConEmu in their Learning Chef book. It provides a tabbed interface which is convenient for managing multiple terminal sessions concurrently. |
This appears to be fixed in the latest version of ChefDK (0.3.2) |
move ohai install after chef install
System info:
Windows 7
Microsoft Windows [Version 6.1.7601]
When running in the base directory chef verify is failing:
Running in a directory is successful.
C:\Dev>chef verify
Running verification for component 'berkshelf'
Running verification for component 'test-kitchen'
Running verification for component 'chef-client'
Running verification for component 'chef-dk'
........................................
Verification of component 'chef-client' succeeded.
Verification of component 'berkshelf' succeeded.
Verification of component 'chef-dk' succeeded.
Verification of component 'test-kitchen' succeeded.
The text was updated successfully, but these errors were encountered: