Chef 0.10.4 Release Candidate 1


#1

We’ve got Chef 0.10.4 warm on the stove and we’ve released the first
release candidate.

We have over 80 fixes in this release. It is of particular importance
to users of Redhat based distributions as it contains a /slew/ of bug
fixes, mostly thanks to Matthew Kent.

Since this is a pre-release, it is only available via gems and you’ll
need to use the “–pre” option to gem to get 0.10.4.rc.1. Installing
Opscode Chef normally will continue to get you 0.10.2 for now. For
instance:

$ sudo gem install chef chef-server --pre --no-rdoc --no-ri

We’ve been working new policy into our release process. I’m working on
getting it online and will be sure to send a note when I do. As part
of this, our new policy for release candidates is that if no blocking
bugs are reported within three days we will ship the final release. If
you haven’t been following master in your test environment, now is the
time to pitch in and test out 0.10.4.rc.1! If there was anything you
were hoping would make it but didn’t, do not fear as we’ll be
continuing with the increasingly regular release cycle on the heels of
shipping 0.10.4.

Here’s a list of what is in this release:

CHEF-2474 When loading a role from a json file, a role object is not returned
CHEF-2471 knife exit specs fail on Ubuntu
CHEF-2456 knife cookbook site install -D description is incorrect and
opposite behavior of -d from the old cookbook site vendor
CHEF-2449 yum provider - slow parsing of yum-dump output
CHEF-2444 yum provider - yum-dump.py broken with older versions of yum
CHEF-2437 clear attribute list after each Knife::NodeShow.run
CHEF-2432 yum-dump - provides broken on centos 4
CHEF-2431 Present node JSON data in a similar manner to editing a node
CHEF-2429 yum provider - remote provides loaded for :remove and :purge
CHEF-2428 yum provider raises an exception when asked to remove an
uninstalled package
CHEF-2416 Chef web ui is unable to edit data bag items
CHEF-2399 default group provider does not work on suse Linux
CHEF-2398 easy_install package provider doesn’t use options attribute
CHEF-2396 NoMethodError accessing non-existent members of Encrypted
Data Bag Items
CHEF-2387 systemd service provider
CHEF-2386 Make knife bootstrap (and ssh) use ui.msg for output
CHEF-2379 Allow recipe to specify additional remotes to git resources
CHEF-2378 Chef expander’s “rake install” fails with undefined method `version’
CHEF-2377 Broken client scenario "Synchronize dependent cookbooks"
CHEF-2376 Broken client scenario "Remove cached file checksums that
are no longer needed"
CHEF-2375 knife bootstrap needs a bootstrap-proxy option
CHEF-2373 GET /environments/:environment/recipes fails if there is a
cookbook with no available versions
CHEF-2367 support multiple lines in DAEMONS list in rc.conf on Arch linux
CHEF-2354 Notifies :restart always triggers in remote_directory resource
CHEF-2350 rubygems spec relies on rspec version which changed its
format in rspec2
CHEF-2342 knife bootstrap script for centos should use rhel.rpm from
aegisco to install yum repository
CHEF-2330 yum provider - allow flushing of cache
CHEF-2325 Knife cookbook upload needs to verify that dependencies of a
cookbook are/will be available when uploading
CHEF-2316 knife help can’t find its man pages outside of a gem file heiarchy
CHEF-2314 “knife cookbook site install” fails with cookbook name
partially matching another cookbook name
CHEF-2313 cookbook_uploader exception when exception is raised in
uploader_function_for method
CHEF-2312 webui doesn’t show fully expanded run list as expected
CHEF-2311 Knife default display does not correctly display cloud
providers public IP
CHEF-2310 knife ssh documentation missing -i option
CHEF-2309 knife bootstrap throws optparse error for -E when
bootstrapping less than 0.10.0
CHEF-2308 The cookbook shadowing feature should either be officially
deprecated or well documented with a commitment to support it
indefinitely
CHEF-2301 general yum provider improvements
CHEF-2300 net-ssh-multi dependancy it too restrictive
CHEF-2298 Add support for remote encryption key support to knife
CHEF-2295 README.rdoc in Chef source is outdated
CHEF-2293 bump rubygems version in bootstrap templates
CHEF-2283 yum/rpm providers - rpm version handling
CHEF-2280 general yum-dump.py improvements
CHEF-2272 yum-dump.py - commas are valid in package names
CHEF-2271 knife client bulk delete not consistent with node delete
CHEF-2250 knife cookbook site vendor fails on windows with ShellCommandFailed
CHEF-2235 chef-client failed when trying to install freebsd package from ports
CHEF-2234 dpkg package provider ignores ~ in versions
CHEF-2222 mount resource issue with its “options” attribute
CHEF-2193 knife bootstrap - search for bootstrap templates in external
knife plugins
CHEF-2129 Old zypper Versions will crash because they don’T know the
commandline arguments
CHEF-2127 chef-client daemon does not pick up changes from chef server
CHEF-2096 Yum provider should support installing packages via provides
when the name is not an exact match
CHEF-2085 YumCache needs unit tests
CHEF-2041 Allow file paths in package names to populate source attribute
CHEF-1982 mount provider fails to recognize existing /etc/fstab entries
CHEF-1968 windows caching configuration problem
CHEF-1956 We should upgrade jQuery to 1.5.2 and remove old jQuery and
jquery.livequery plugin
CHEF-1947 Alphabetical sort of keys in JSON editor
CHEF-1946 Lightweight resources should have access to run_context and
node during class definition, for use in DSL (e.g. attribute default
values)
CHEF-1929 ‘knife ssh’ should read config file for attribute, ssh-user,
identity-file
CHEF-1907 OSX Macports package provider does not respect options
CHEF-1891 When using rake new_cookbook, deprecation message should
show correct syntax of creating cookbook via knife tool
CHEF-1887 Mount provider should not check existence of Fuse devices
CHEF-1848 http_request provider does not propagate request headers
when following redirects
CHEF-1838 Remove dead code from Chef::Runner
CHEF-1819 Chef isn’t recognizing yum .x86_64 syntax
CHEF-1790 Modify package/yum.rb upgrade_package to support "downgrade"
in certain situations
CHEF-1588 knife cookbook upload should have a -d option to upload the
specified cookbooks dependencies
CHEF-1576 yum gets confused with available packge in different arch
CHEF-1565 mount resource does not respect action :nothing
CHEF-1439 apt package provider should be able to detect and install
’virtual’ packages
CHEF-1424 Upstart provider fails restart action if service is not started yet
CHEF-1413 FreeBSD "Unexpected form for PKGNAME variable in …"
CHEF-1287 speed up yum provider
CHEF-1245 Yum package provider fails poorly when it encounters
unexpected output from yum-dump.py
CHEF-1063 yum query/yum-dump.py fails when a locally-compiled Python is in $PATH
CHEF-1054 Chef SOLR gem has an empty README.rdoc
CHEF-909 Rollback on deploy errors
CHEF-519 value_for_platform should accept an array for version
CHEF-311 yum provider - better cache refresh
CHEF-39 Resources need a retry parameter which allows the action to
repeat a set number of times until success is achieved.


Bryan McLellan | opscode | senior systems administrator
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org


#2

0.10.4 RC1 is now in RBEL nightly also.

Rgds.

On Wed, Jul 27, 2011 at 12:52 AM, Bryan McLellan btm@opscode.com wrote:

We’ve got Chef 0.10.4 warm on the stove and we’ve released the first
release candidate.

We have over 80 fixes in this release. It is of particular importance
to users of Redhat based distributions as it contains a /slew/ of bug
fixes, mostly thanks to Matthew Kent.

Since this is a pre-release, it is only available via gems and you’ll
need to use the “–pre” option to gem to get 0.10.4.rc.1. Installing
Opscode Chef normally will continue to get you 0.10.2 for now. For
instance:

$ sudo gem install chef chef-server --pre --no-rdoc --no-ri

We’ve been working new policy into our release process. I’m working on
getting it online and will be sure to send a note when I do. As part
of this, our new policy for release candidates is that if no blocking
bugs are reported within three days we will ship the final release. If
you haven’t been following master in your test environment, now is the
time to pitch in and test out 0.10.4.rc.1! If there was anything you
were hoping would make it but didn’t, do not fear as we’ll be
continuing with the increasingly regular release cycle on the heels of
shipping 0.10.4.

Here’s a list of what is in this release:

CHEF-2474 When loading a role from a json file, a role object is not returned
CHEF-2471 knife exit specs fail on Ubuntu
CHEF-2456 knife cookbook site install -D description is incorrect and
opposite behavior of -d from the old cookbook site vendor
CHEF-2449 yum provider - slow parsing of yum-dump output
CHEF-2444 yum provider - yum-dump.py broken with older versions of yum
CHEF-2437 clear attribute list after each Knife::NodeShow.run
CHEF-2432 yum-dump - provides broken on centos 4
CHEF-2431 Present node JSON data in a similar manner to editing a node
CHEF-2429 yum provider - remote provides loaded for :remove and :purge
CHEF-2428 yum provider raises an exception when asked to remove an
uninstalled package
CHEF-2416 Chef web ui is unable to edit data bag items
CHEF-2399 default group provider does not work on suse Linux
CHEF-2398 easy_install package provider doesn’t use options attribute
CHEF-2396 NoMethodError accessing non-existent members of Encrypted
Data Bag Items
CHEF-2387 systemd service provider
CHEF-2386 Make knife bootstrap (and ssh) use ui.msg for output
CHEF-2379 Allow recipe to specify additional remotes to git resources
CHEF-2378 Chef expander’s “rake install” fails with undefined method `version’
CHEF-2377 Broken client scenario "Synchronize dependent cookbooks"
CHEF-2376 Broken client scenario "Remove cached file checksums that
are no longer needed"
CHEF-2375 knife bootstrap needs a bootstrap-proxy option
CHEF-2373 GET /environments/:environment/recipes fails if there is a
cookbook with no available versions
CHEF-2367 support multiple lines in DAEMONS list in rc.conf on Arch linux
CHEF-2354 Notifies :restart always triggers in remote_directory resource
CHEF-2350 rubygems spec relies on rspec version which changed its
format in rspec2
CHEF-2342 knife bootstrap script for centos should use rhel.rpm from
aegisco to install yum repository
CHEF-2330 yum provider - allow flushing of cache
CHEF-2325 Knife cookbook upload needs to verify that dependencies of a
cookbook are/will be available when uploading
CHEF-2316 knife help can’t find its man pages outside of a gem file heiarchy
CHEF-2314 “knife cookbook site install” fails with cookbook name
partially matching another cookbook name
CHEF-2313 cookbook_uploader exception when exception is raised in
uploader_function_for method
CHEF-2312 webui doesn’t show fully expanded run list as expected
CHEF-2311 Knife default display does not correctly display cloud
providers public IP
CHEF-2310 knife ssh documentation missing -i option
CHEF-2309 knife bootstrap throws optparse error for -E when
bootstrapping less than 0.10.0
CHEF-2308 The cookbook shadowing feature should either be officially
deprecated or well documented with a commitment to support it
indefinitely
CHEF-2301 general yum provider improvements
CHEF-2300 net-ssh-multi dependancy it too restrictive
CHEF-2298 Add support for remote encryption key support to knife
CHEF-2295 README.rdoc in Chef source is outdated
CHEF-2293 bump rubygems version in bootstrap templates
CHEF-2283 yum/rpm providers - rpm version handling
CHEF-2280 general yum-dump.py improvements
CHEF-2272 yum-dump.py - commas are valid in package names
CHEF-2271 knife client bulk delete not consistent with node delete
CHEF-2250 knife cookbook site vendor fails on windows with ShellCommandFailed
CHEF-2235 chef-client failed when trying to install freebsd package from ports
CHEF-2234 dpkg package provider ignores ~ in versions
CHEF-2222 mount resource issue with its “options” attribute
CHEF-2193 knife bootstrap - search for bootstrap templates in external
knife plugins
CHEF-2129 Old zypper Versions will crash because they don’T know the
commandline arguments
CHEF-2127 chef-client daemon does not pick up changes from chef server
CHEF-2096 Yum provider should support installing packages via provides
when the name is not an exact match
CHEF-2085 YumCache needs unit tests
CHEF-2041 Allow file paths in package names to populate source attribute
CHEF-1982 mount provider fails to recognize existing /etc/fstab entries
CHEF-1968 windows caching configuration problem
CHEF-1956 We should upgrade jQuery to 1.5.2 and remove old jQuery and
jquery.livequery plugin
CHEF-1947 Alphabetical sort of keys in JSON editor
CHEF-1946 Lightweight resources should have access to run_context and
node during class definition, for use in DSL (e.g. attribute default
values)
CHEF-1929 ‘knife ssh’ should read config file for attribute, ssh-user,
identity-file
CHEF-1907 OSX Macports package provider does not respect options
CHEF-1891 When using rake new_cookbook, deprecation message should
show correct syntax of creating cookbook via knife tool
CHEF-1887 Mount provider should not check existence of Fuse devices
CHEF-1848 http_request provider does not propagate request headers
when following redirects
CHEF-1838 Remove dead code from Chef::Runner
CHEF-1819 Chef isn’t recognizing yum .x86_64 syntax
CHEF-1790 Modify package/yum.rb upgrade_package to support "downgrade"
in certain situations
CHEF-1588 knife cookbook upload should have a -d option to upload the
specified cookbooks dependencies
CHEF-1576 yum gets confused with available packge in different arch
CHEF-1565 mount resource does not respect action :nothing
CHEF-1439 apt package provider should be able to detect and install
’virtual’ packages
CHEF-1424 Upstart provider fails restart action if service is not started yet
CHEF-1413 FreeBSD "Unexpected form for PKGNAME variable in …"
CHEF-1287 speed up yum provider
CHEF-1245 Yum package provider fails poorly when it encounters
unexpected output from yum-dump.py
CHEF-1063 yum query/yum-dump.py fails when a locally-compiled Python is in $PATH
CHEF-1054 Chef SOLR gem has an empty README.rdoc
CHEF-909 Rollback on deploy errors
CHEF-519 value_for_platform should accept an array for version
CHEF-311 yum provider - better cache refresh
CHEF-39 Resources need a retry parameter which allows the action to
repeat a set number of times until success is achieved.


Bryan McLellan | opscode | senior systems administrator
© 206.607.7108 | (t) @btmspox | (b) http://blog.loftninjas.org


#3

On Thu, Jul 28, 2011 at 1:43 AM, Sergio Rubio rubiojr@frameos.org wrote:

0.10.4 RC1 is now in RBEL nightly also.

Awesome Sergio!

Thanks to everyone for testing so far. Greg Thornton found and fixed a
regression [1] yesterday so we’ve pushed 0.10.4.rc.2 up to
rubygems.org for testing.

New ship date for 0.10.4 is Monday.

[1] http://tickets.opscode.com/browse/CHEF-2493


#4

On Thu, Jul 28, 2011 at 2:16 PM, Bryan McLellan btm@loftninjas.org wrote:

Thanks to everyone for testing so far. Greg Thornton found and fixed a
regression [1] yesterday so we’ve pushed 0.10.4.rc.2 up to
rubygems.org for testing.

Pushed to RBEL nightly.

New ship date for 0.10.4 is Monday.

[1] http://tickets.opscode.com/browse/CHEF-2493