Open carlosaya opened 1 year ago
Would you be able to upload the cookbook that you are seeing this issue with and also a gzip of the log directory that includes the error. That will help us understand a few more things that might be causing this issue.
Logs have been uploaded here
The issue began at 2023-03-02 11:09:46 AEST, or 2023-03-02 00:09:46 UTC
Here is the cookbook version that caused the issue.
Hi, @PrajaktaPurohit I uploaded everything you requested the same day you asked for it, yet this is still marked as Waiting on Contributor
. Can you please remove that tag? Thanks.
Chef Server Version
Standalone CINC Server 14.15.10
Platform Details
RHEL 8,7 on-prem
Configuration
Standalone, recent migration from long-standing Chef Server to CINC
Scenario
Cookbook is pushed to CINC server with potentially unresolvable metadata.rb dependencies.
Steps to Reproduce
Cookbook metadata.rb contained the following...
Expected Result
Cookbook should be uploaded successfully, or return an error if there is something wrong with dependencies.
Actual Result
All Chef client runs were failing with the following errors:
Logs in /var/log/cinc-project/opscode-erchef/crash.log began displaying the following error at the time the cookbook was uploaded:
Observed high CPU usage from
/opt/cinc-project/embedded/service/opscode-erchef/bin/oc_erchef
Observed high CPU usage from 5 instances of the following ruby command:
ruby /opt/cinc-project/embedded/service/opscode-erchef/lib/chef_objects-14.15.10/priv/depselector_rb/depselector.rb
After deleting the newly uploaded cookbook version, Chef server CPU usage begins to return to normal over the course of several minutes and Chef client runs are once again able to run without error.