chef / chef/chef-server

Chef server cpu 100 % usage due to dependency cookbooks not found on server.

Open
#1,099 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Component: opscode-erchef Status: Sustaining Backlog Triage: Try Reproducing Type: Bug
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

Similar to this issue https://github.com/chef/chef-server/issues/526
Looks like this issue is not resolved yet. Please see the below error. During this time the cpu is 100%
Error:
{<<"method=PUT; path=/organizations/chef-org/nodes/nodename; status=404; ">>,"Not Found"}
2017-02-15 11:57:57 =ERROR REPORT====
{<<"method=POST; path=/organizations/chef-org/environments/_default/cookbook_versions; status=412; ">>,"Precondition Failed"}
2017-02-15 13:25:44 =ERROR REPORT====
{<<"method=POST; path=/organizations/chef-org/environments/_default/cookbook_versions; status=412; ">>,"Precondition Failed"}

Chef Server details:
chef-server-core-12.7.0-1.el6.x86_64
chef-manage-2.4.0-1.el6.x86_64

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the related chef/chef-server issue 526 and the reported PUT 404 and cookbook_versions POST 412 errors on chef-server-core 12.7.0 with chef-manage 2.4.0. Reproduce the dependency-cookbook scenario and investigate why it drives CPU usage to 100%; done means the requests complete without the reported errors and CPU usage remains normal.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.