Hello Chefs. We have a knife-windows release candidate on which we’d like
to get your feedback. It’s been a while since the last release, so there
are a lot of fixed tickets listed below. If you find issues with your
scenarios please report them with a ticket in
https://tickets.opscode.com/browse/KNIFE and send it to the mailing list.
To test, you’ll need to do the following instead of a gem install (see end
of the message if you’d like to know why):
gem install bundler # if it’s not already installed
git clone https://github.com/opscode/knife-windows
cd knife-windows
bundle install
bundle exec knife bootstrap windows winrm 192.168.0.6 -x administrator -P
’yourpassword’ -c path-to-your-knife-config
Broadly, many of the changes involved more robust error-handling and
retries to the bootstrap process for Windows, additional instrumentation
for troubleshooting, and closer parity with the non-Windows knife bootstrap
command-line.
The specific list of issues addressed in this knife-windows 0.5.14 release
is given below:
KNIFE-401 Windows Bootstrap logs RSA Private Key
KNIFE-391 Knife-ec2 + Knife-windows fails to bootstrap Windows
2012 machine
KNIFE-371 knife-windows github page links to not accessible
ticket page
KNIFE-354 Knife-windows error on installing to Server 2012 R2 and
Windows 8.1
KNIFE-336 Add hint to set basic auth
KNIFE-325 Support no_proxy
KNIFE-323 Add travis and fix rubygems source
KNIFE-296 knife-windows overrides -x option with winrm-user
KNIFE-286 Windows bootstrap template does not render
json-attributes
KNIFE-285 Error during windows bootstrapping
KNIFE-276 winrm should support nested attributes
KNIFE-270 knife bootstrap ssh for a windows node fails when TEMP
directory has spaces
KNIFE-259 knife-windows should use “no UI” flag for msiexec
KNIFE-249 Bootstrap Windows Returns 404 on chef-client.msi
download (bad url in REMOTE_SOURCE_MSI_URL)
KNIFE-242 Add support to pass JSON attributes to ‘knife bootstrap
windows winrm’
KNIFE-235 knife-windows winrm doesn’t work – returns no nodes
from search
KNIFE-232 knife winrm
will errantly exclude all nodes
KNIFE-29 Should be able to choose msi version
*Gem testing note: Due to https://tickets.opscode.com/browse/CHEF-4696,
pre-release knife gems won’t be loaded by recent versions of Chef, hence
the bundler workaround given above. The ticket lists additional
workarounds. If your version of Chef is not affected by the bug (Chef
11.4.0 or earlier), you can test the release candidate through a normal gem
install since we have published the gem at
http://rubygems.org/gems/knife-windows/versions/0.5.14.rc.1. CHEF-4696 has
a fix that’s being tested for a future release of Chef.
Thank you.
-Adam