[DRE-maint] Bug#701629: Bug#701629: ruby-json: After upgrade ruby-json from 1.7.3-2 to 1.7.3-3 chef-client stops working

Joshua Timberman joshua at opscode.com
Wed Feb 27 16:35:03 UTC 2013


On Feb 27, 2013, at 6:10 AM, Bastian Neuburger <B.Neuburger at gsi.de> wrote:

> I experienced the same thing.
> 
> When first registering the client/node at the chef-server chef-client runs fine, but each chef run afterwards, it fails.
> 
> The reason is that the data structure sent by the chef-server to the node was parsed as an object of class Chef::Node with ruby-json 1.7.3-2 and with 1.7.3-3 it is recognized as a hash instead of Chef::Node.
> Therefore the NoMethodError is thrown, since the chef sources only implement a function reset_defaults_and_overrides for the Node class, not for the Hash class.
> 
> After downgrading the ruby-json package to 1.7.3-2 works, chef-client works again.
> 
> I'm not sure if this bug report should also be filed against the chef package with a higher severity, but since the Debian Ruby Extras Maintainer take care of both packages, maybe they can decide.

Changes were made in Chef in order to work with the json 1.7.7 securty patches. Chef 10.22.0 and 11.2.0 include the fix. Here's the release announcement with more detail:

http://www.opscode.com/blog/2013/02/13/chef-client-11-4-0-10-22-0-released/

The CHEF tickets are linked in that post, CHEF-3863.



More information about the Pkg-ruby-extras-maintainers mailing list