Chef-client automated runs

We recently upgraded our environment to use chef-client 12.19.36. Since then the automated chef runs stopped working. Running chef-client manually works, and does not return any error. The automated runs fail. Here is a snipped of the chef client.log file (typed not copied):

Error: Encountered error while running plugins: #<ohai::Exceptions::AttributeNotFOund:No such attribute: ‘platform’>
Error: Running exception handlers
Error: Exception handlers Complete
Error: No such attribute: 'platform’
Error: Chef:Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

I’m not able to copy and paste the entire log for security reasons.

We found that restarting chef client service resolves this issue. I wouldn’t have expected that solution. But it works.

This issue is resolved/