We have found a regression in the chef-client released this week - 12.13.30. The regression surfaces when you have a log_location
configured and pointing to a file path in your client.rb
. Multiple users have reported that they see the message: log writing failed. closed stream
appear several times when running chef-client
to the console and the log file is not written.
We have tracked this down to an issue in the mixlib-logv1.7.0. We have released a fix to that gem with an accompanying fix in the
ohai` gem. So we are planning to release v12.13.37 on Monday that includes new versions of Ohai and mixlib-log fixing the above regression.
12.13.37 is currently in our current channel and you can install them now using:
curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current -P chef -v 12.13.37
or
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -channel current -project chef -version 12.13.37
The changelog can be found here
Thanks!
Matt