- From: Jeff Blaine <
>
- To:
- Subject: [chef] Git failures, Windows, Chef
- Date: Mon, 11 Aug 2014 10:26:17 -0400
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)
$
- [chef] Git failures, Windows, Chef, Jeff Blaine, 08/11/2014
Archive powered by MHonArc 2.6.16.