[DRE-maint] Bug#701629: ruby-json: After upgrade ruby-json from 1.7.3-2 to 1.7.3-3 chef-client stops working
Bastian Neuburger
B.Neuburger at gsi.de
Wed Feb 27 13:10:13 UTC 2013
Hi,
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.
Cheers,
Bastian
More information about the Pkg-ruby-extras-maintainers
mailing list