You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
ERROR: Server returned error 500 for [https://chef.tattsgroup.com/organizations/tattsgroup/environments/<environmentName>/cookbook_versions](https://chef.domain.local/organizations/myOrg/environments/ProductionDC1/cookbook_versions), retrying 1/5 in 4s
...
...
================================================================================
Error Resolving Cookbooks for Run List:
================================================================================
Unknown Server Error:
---------------------
The server had a fatal error attempting to load the node data.
Server Response:
----------------
internal service error
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: