Tons of erchef errors in log


#1

Hi,

I have a freshly installed chef 11 server, to which I’ve uploaded my chef
repo. Unfortunately, in checking around in the logs, I noticed that erchef
is throwing errors like crazy:

2014-02-27_02:45:19.52444 =ERROR REPORT==== 27-Feb-2014::02:45:19 ===
2014-02-27_02:45:19.52445 webmachine error:
path="/environments/production/cookbook_versions"
2014-02-27_02:45:19.52445 {error,
2014-02-27_02:45:19.52446 {error,
2014-02-27_02:45:19.52446 {badrecord,chef_cookbook_version},
2014-02-27_02:45:19.52447
[{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52447
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52448
{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52449
[{file,“src/chef_wm_depsolver.erl”},{line,268}]},
2014-02-27_02:45:19.52449 {chef_wm_depsolver,assemble_response,3,
2014-02-27_02:45:19.52450
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52450 {webmachine_resource,resource_call,3,
2014-02-27_02:45:19.52451
[{file,“src/webmachine_resource.erl”},{line,166}]},
2014-02-27_02:45:19.52451 {webmachine_resource,do,3,
2014-02-27_02:45:19.52452
[{file,“src/webmachine_resource.erl”},{line,125}]},
2014-02-27_02:45:19.52452
{webmachine_decision_core,resource_call,1,
2014-02-27_02:45:19.52454
[{file,“src/webmachine_decision_core.erl”},{line,48}]},
2014-02-27_02:45:19.52455 {webmachine_decision_core,decision,1,
2014-02-27_02:45:19.52455
[{file,“src/webmachine_decision_core.erl”},{line,458}]},
2014-02-27_02:45:19.52456
{webmachine_decision_core,handle_request,2,
2014-02-27_02:45:19.52458
[{file,“src/webmachine_decision_core.erl”},{line,33}]}]}}

I’m not really sure how to go about debugging this, as the error message
doesn’t include any of the parameters used in the request that failed.

Any advice?

Thank you!
Brian


#2

Bump. Any resources or guidance would be welcomed.

On Thu, Feb 27, 2014 at 12:36 PM, Brian Hatfield bmhatfield@gmail.comwrote:

Hi,

I have a freshly installed chef 11 server, to which I’ve uploaded my chef
repo. Unfortunately, in checking around in the logs, I noticed that erchef
is throwing errors like crazy:

2014-02-27_02:45:19.52444 =ERROR REPORT==== 27-Feb-2014::02:45:19 ===
2014-02-27_02:45:19.52445 webmachine error:
path="/environments/production/cookbook_versions"
2014-02-27_02:45:19.52445 {error,
2014-02-27_02:45:19.52446 {error,
2014-02-27_02:45:19.52446 {badrecord,chef_cookbook_version},
2014-02-27_02:45:19.52447
[{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52447
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52448
{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52449
[{file,“src/chef_wm_depsolver.erl”},{line,268}]},
2014-02-27_02:45:19.52449 {chef_wm_depsolver,assemble_response,3,
2014-02-27_02:45:19.52450
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52450 {webmachine_resource,resource_call,3,
2014-02-27_02:45:19.52451
[{file,“src/webmachine_resource.erl”},{line,166}]},
2014-02-27_02:45:19.52451 {webmachine_resource,do,3,
2014-02-27_02:45:19.52452
[{file,“src/webmachine_resource.erl”},{line,125}]},
2014-02-27_02:45:19.52452
{webmachine_decision_core,resource_call,1,
2014-02-27_02:45:19.52454
[{file,“src/webmachine_decision_core.erl”},{line,48}]},
2014-02-27_02:45:19.52455 {webmachine_decision_core,decision,1,
2014-02-27_02:45:19.52455
[{file,“src/webmachine_decision_core.erl”},{line,458}]},
2014-02-27_02:45:19.52456
{webmachine_decision_core,handle_request,2,
2014-02-27_02:45:19.52458
[{file,“src/webmachine_decision_core.erl”},{line,33}]}]}}

I’m not really sure how to go about debugging this, as the error message
doesn’t include any of the parameters used in the request that failed.

Any advice?

Thank you!
Brian


#3

Hi Brian,

A couple of questions: what version of the Chef Server are you running? You
said you recently installed it. Was it an upgrade of a previous Chef Server?

-Stephen

On Fri, Feb 28, 2014 at 12:02 PM, Brian Hatfield bmhatfield@gmail.comwrote:

Bump. Any resources or guidance would be welcomed.

On Thu, Feb 27, 2014 at 12:36 PM, Brian Hatfield bmhatfield@gmail.comwrote:

Hi,

I have a freshly installed chef 11 server, to which I’ve uploaded my chef
repo. Unfortunately, in checking around in the logs, I noticed that erchef
is throwing errors like crazy:

2014-02-27_02:45:19.52444 =ERROR REPORT==== 27-Feb-2014::02:45:19 ===
2014-02-27_02:45:19.52445 webmachine error:
path="/environments/production/cookbook_versions"
2014-02-27_02:45:19.52445 {error,
2014-02-27_02:45:19.52446 {error,
2014-02-27_02:45:19.52446 {badrecord,chef_cookbook_version},
2014-02-27_02:45:19.52447
[{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52447
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52448
{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52449
[{file,“src/chef_wm_depsolver.erl”},{line,268}]},
2014-02-27_02:45:19.52449 {chef_wm_depsolver,assemble_response,3,
2014-02-27_02:45:19.52450
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52450 {webmachine_resource,resource_call,3,
2014-02-27_02:45:19.52451
[{file,“src/webmachine_resource.erl”},{line,166}]},
2014-02-27_02:45:19.52451 {webmachine_resource,do,3,
2014-02-27_02:45:19.52452
[{file,“src/webmachine_resource.erl”},{line,125}]},
2014-02-27_02:45:19.52452
{webmachine_decision_core,resource_call,1,
2014-02-27_02:45:19.52454
[{file,“src/webmachine_decision_core.erl”},{line,48}]},
2014-02-27_02:45:19.52455 {webmachine_decision_core,decision,1,
2014-02-27_02:45:19.52455
[{file,“src/webmachine_decision_core.erl”},{line,458}]},
2014-02-27_02:45:19.52456
{webmachine_decision_core,handle_request,2,
2014-02-27_02:45:19.52458
[{file,“src/webmachine_decision_core.erl”},{line,33}]}]}}

I’m not really sure how to go about debugging this, as the error message
doesn’t include any of the parameters used in the request that failed.

Any advice?

Thank you!
Brian


Stephen Delano
Software Development Engineer
Opscode, Inc.
1008 Western Avenue
Suite 601
Seattle, WA 98104


#4

Hi Stephen,

Thanks so much for your response. This was a clean install,
11.0.11-1.ubuntu.12.04 from Omnibus.

Brian

On Fri, Feb 28, 2014 at 3:19 PM, Stephen Delano stephen@opscode.com wrote:

Hi Brian,

A couple of questions: what version of the Chef Server are you running?
You said you recently installed it. Was it an upgrade of a previous Chef
Server?

-Stephen

On Fri, Feb 28, 2014 at 12:02 PM, Brian Hatfield bmhatfield@gmail.comwrote:

Bump. Any resources or guidance would be welcomed.

On Thu, Feb 27, 2014 at 12:36 PM, Brian Hatfield bmhatfield@gmail.comwrote:

Hi,

I have a freshly installed chef 11 server, to which I’ve uploaded my
chef repo. Unfortunately, in checking around in the logs, I noticed that
erchef is throwing errors like crazy:

2014-02-27_02:45:19.52444 =ERROR REPORT==== 27-Feb-2014::02:45:19 ===
2014-02-27_02:45:19.52445 webmachine error:
path="/environments/production/cookbook_versions"
2014-02-27_02:45:19.52445 {error,
2014-02-27_02:45:19.52446 {error,
2014-02-27_02:45:19.52446 {badrecord,chef_cookbook_version},
2014-02-27_02:45:19.52447
[{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52447
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52448
{chef_wm_depsolver,’-assemble_response/3-lc$^0/1-0-’,1,
2014-02-27_02:45:19.52449
[{file,“src/chef_wm_depsolver.erl”},{line,268}]},
2014-02-27_02:45:19.52449
{chef_wm_depsolver,assemble_response,3,
2014-02-27_02:45:19.52450
[{file,“src/chef_wm_depsolver.erl”},{line,266}]},
2014-02-27_02:45:19.52450 {webmachine_resource,resource_call,3,
2014-02-27_02:45:19.52451
[{file,“src/webmachine_resource.erl”},{line,166}]},
2014-02-27_02:45:19.52451 {webmachine_resource,do,3,
2014-02-27_02:45:19.52452
[{file,“src/webmachine_resource.erl”},{line,125}]},
2014-02-27_02:45:19.52452
{webmachine_decision_core,resource_call,1,
2014-02-27_02:45:19.52454
[{file,“src/webmachine_decision_core.erl”},{line,48}]},
2014-02-27_02:45:19.52455 {webmachine_decision_core,decision,1,
2014-02-27_02:45:19.52455
[{file,“src/webmachine_decision_core.erl”},{line,458}]},
2014-02-27_02:45:19.52456
{webmachine_decision_core,handle_request,2,
2014-02-27_02:45:19.52458
[{file,“src/webmachine_decision_core.erl”},{line,33}]}]}}

I’m not really sure how to go about debugging this, as the error message
doesn’t include any of the parameters used in the request that failed.

Any advice?

Thank you!
Brian


Stephen Delano
Software Development Engineer
Opscode, Inc.
1008 Western Avenue
Suite 601
Seattle, WA 98104