- From: Sean Escriva <
>
- To: Jeff Blaine <
>,
- Cc:
- Subject: [chef] Re: Re: Git failures, Windows, Chef
- Date: Thu, 14 Aug 2014 21:40:38 -0400
Hi Jeff!
Jeff Blaine
<
>
writes:
>
I'm very surprised nobody's having these issues. Maybe everyone
>
doing git+chef work is on Windows 7 still?
I haven't seen this issue with chef+git+windows. In one case, though not
chef specific, I have regularly used git on windows with a largish repo
(150MB+).
Perhaps at the very least you could obtain more info with GIT_TRACE and
maybe GIT_CURL_VERBOSE
since you're using git bash, this should at least give you a lot more
debug output
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
knife cookbook site install vagrant --verbose
maybe that will give you a better idea what's failing.
>
>
On 8/11/2014 10:26 AM, Jeff Blaine wrote:
>
> I can't be the only person experiencing frustration with Git on Windows,
>
> which is essential do using any Windows box as a Chef Workstation of
>
> course. I've been unable to find any reason and solution to the
>
> following. If anyone has ideas, please share. I find it hard to believe
>
> people use Windows as a Chef workstation on a daily basis with the
>
> configuration below. What's the secret?
>
>
>
> * Windows 8 (I had these same issues ~7 months ago) and Windows
>
> 8.1 (now)
>
> * Git 1.9.4 installer from git-scm.org
>
> * Git-Bash as the command shell
>
>
>
> I intermittently get:
>
>
>
> ERROR: Errno::EIO: Input/output error - CreateProcessW
>
>
>
> ... and then the command in question will work fine.
>
>
>
> ...or I get some unknown failure as part of 'knife cookbook site
>
> install...' commands that also then leave me sitting on some
>
> chef-vendor-XXXXX branch:
>
>
>
>
>
>
>
> ~/chef-repo (master)
>
> $ knife cookbook site install vagrant --verbose
>
> Installing vagrant to c:/Users/Jeff/chef-repo/cookbooks
>
> Checking out the master branch.
>
> Pristine copy branch (chef-vendor-vagrant) exists, switching to it.
>
> Downloading vagrant from the cookbooks site at version 0.2.0 to
>
> c:/Users/Jeff/chef-repo/cookbooks/vagrant.tar.gz
>
> Cookbook saved: c:/Users/Jeff/chef-repo/cookbooks/vagrant.tar.gz
>
> Removing pre-existing version.
>
> Uncompressing vagrant version 0.2.0.
>
> removing downloaded tarball
>
> No changes made to vagrant
>
> Checking out the master branch.
>
> Installing dmg to c:/Users/Jeff/chef-repo/cookbooks
>
> Checking out the master branch.
>
> Pristine copy branch (chef-vendor-dmg) exists, switching to it.
>
> Downloading dmg from the cookbooks site at version 2.2.0 to
>
> c:/Users/Jeff/chef-repo/cookbooks/dmg.tar.gz
>
> Cookbook saved: c:/Users/Jeff/chef-repo/cookbooks/dmg.tar.gz
>
> Removing pre-existing version.
>
> Uncompressing dmg version 2.2.0.
>
> removing downloaded tarball
>
> 3 files updated, committing changes
>
> ERROR: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit
>
> with [0], but received '1'
>
> ---- Begin output of git commit -m "Import dmg version 2.2.0" -- dmg ----
>
> STDOUT: On branch chef-vendor-dmg
>
> nothing to commit, working directory clean
>
> STDERR:
>
> ---- End output of git commit -m "Import dmg version 2.2.0" -- dmg ----
>
> Ran git commit -m "Import dmg version 2.2.0" -- dmg returned 1
>
>
>
>
>
>
>
> ~/chef-repo (chef-vendor-dmg)
>
> $
--
-sean
Archive powered by MHonArc 2.6.16.