Import into Chef 11 server fails

Hi,

I'm testing an upgrade to Chef Server 11, but my knife upload / always
fails at different places.

Created /cookbooks/locales-0.0.2
Created /cookbooks/nginx-0.99.0
ERROR: internal server error
Response: internal service error

or

Created /cookbooks/zabbix-custom-checks-0.1.1
ERROR: /cookbooks failed to write: HTTP error writing: 400 "Bad Request"
ERROR: /cookbooks failed to write: HTTP error writing: 400 "Bad Request"
ERROR: Failed to upload : 500 Internal Server Error
internal service error
ERROR: RestClient::InternalServerError: 500 Internal Server Error

I see this in the erchef/current log:

2013-07-08_06:45:26.64013 =ERROR REPORT==== 8-Jul-2013::06:45:26 ===
2013-07-08_06:45:26.64014 Checking presence of checksum: <<"8fcd06ae68fdd84715b6bbeda92493d8">> for org <<"00000000000000000000000000000000">> from bucket "bookshelf" has taken longer than 5000 ms
2013-07-08_06:45:26.87937
2013-07-08_06:45:26.87939 =ERROR REPORT==== 8-Jul-2013::06:45:26 ===
2013-07-08_06:45:26.87939 Checking presence of checksum: <<"83aa5f6610b3b3c903b1da79044edc0a">> for org <<"00000000000000000000000000000000">> from bucket "bookshelf" has taken longer than 5000 ms
2013-07-08_06:45:26.88080
2013-07-08_06:45:26.88083 =ERROR REPORT==== 8-Jul-2013::06:45:26 ===
2013-07-08_06:45:26.88083 webmachine error: path="/sandboxes/000000000000cf517579cf0f0ef820b3"
2013-07-08_06:45:26.88084 {error,
2013-07-08_06:45:26.88084 {throw,
2013-07-08_06:45:26.88084 {checksum_check_error,2},
2013-07-08_06:45:26.88084 [{chef_wm_named_sandbox,validate_checksums_uploaded,2,
2013-07-08_06:45:26.88085 [{file,"src/chef_wm_named_sandbox.erl"},{line,144}]},
2013-07-08_06:45:26.88085 {chef_wm_named_sandbox,from_json,2,
2013-07-08_06:45:26.88085 [{file,"src/chef_wm_named_sandbox.erl"},{line,99}]},
2013-07-08_06:45:26.88085 {webmachine_resource,resource_call,3,
2013-07-08_06:45:26.88085 [{file,"src/webmachine_resource.erl"},{line,166}]},
2013-07-08_06:45:26.88086 {webmachine_resource,do,3,
2013-07-08_06:45:26.88086 [{file,"src/webmachine_resource.erl"},{line,125}]},
2013-07-08_06:45:26.88086 {webmachine_decision_core,resource_call,1,
2013-07-08_06:45:26.88086 [{file,"src/webmachine_decision_core.erl"},{line,48}]},
2013-07-08_06:45:26.88087 {webmachine_decision_core,accept_helper,0,
2013-07-08_06:45:26.88087 [{file,"src/webmachine_decision_core.erl"},{line,583}]},
2013-07-08_06:45:26.88087 {webmachine_decision_core,decision,1,
2013-07-08_06:45:26.88087 [{file,"src/webmachine_decision_core.erl"},{line,489}]},
2013-07-08_06:45:26.88088 {webmachine_decision_core,handle_request,2,
2013-07-08_06:45:26.88088 [{file,"src/webmachine_decision_core.erl"},{line,33}]}]}}

Any idea?

Thanks
Steffen

Hi,

ERROR: internal server error

okay.. found an existing bug report:
http://tickets.opscode.com/browse/CHEF-4339

Unfortunately this is blocking me from upgrading :frowning:

Yours
Steffen

On 7/8/13 9:04 AM, Steffen Gebert wrote:

Hi,

I'm testing an upgrade to Chef Server 11, but my knife upload / always
fails at different places.

Created /cookbooks/locales-0.0.2
Created /cookbooks/nginx-0.99.0
ERROR: internal server error
Response: internal service error

or

Created /cookbooks/zabbix-custom-checks-0.1.1
ERROR: /cookbooks failed to write: HTTP error writing: 400 "Bad Request"
ERROR: /cookbooks failed to write: HTTP error writing: 400 "Bad Request"
ERROR: Failed to upload : 500 Internal Server Error
internal service error
ERROR: RestClient::InternalServerError: 500 Internal Server Error

I see this in the erchef/current log:

2013-07-08_06:45:26.64013 =ERROR REPORT==== 8-Jul-2013::06:45:26 ===
2013-07-08_06:45:26.64014 Checking presence of checksum: <<"8fcd06ae68fdd84715b6bbeda92493d8">> for org <<"00000000000000000000000000000000">> from bucket "bookshelf" has taken longer than 5000 ms
2013-07-08_06:45:26.87937
2013-07-08_06:45:26.87939 =ERROR REPORT==== 8-Jul-2013::06:45:26 ===
2013-07-08_06:45:26.87939 Checking presence of checksum: <<"83aa5f6610b3b3c903b1da79044edc0a">> for org <<"00000000000000000000000000000000">> from bucket "bookshelf" has taken longer than 5000 ms
2013-07-08_06:45:26.88080
2013-07-08_06:45:26.88083 =ERROR REPORT==== 8-Jul-2013::06:45:26 ===
2013-07-08_06:45:26.88083 webmachine error: path="/sandboxes/000000000000cf517579cf0f0ef820b3"
2013-07-08_06:45:26.88084 {error,
2013-07-08_06:45:26.88084 {throw,
2013-07-08_06:45:26.88084 {checksum_check_error,2},
2013-07-08_06:45:26.88084 [{chef_wm_named_sandbox,validate_checksums_uploaded,2,
2013-07-08_06:45:26.88085 [{file,"src/chef_wm_named_sandbox.erl"},{line,144}]},
2013-07-08_06:45:26.88085 {chef_wm_named_sandbox,from_json,2,
2013-07-08_06:45:26.88085 [{file,"src/chef_wm_named_sandbox.erl"},{line,99}]},
2013-07-08_06:45:26.88085 {webmachine_resource,resource_call,3,
2013-07-08_06:45:26.88085 [{file,"src/webmachine_resource.erl"},{line,166}]},
2013-07-08_06:45:26.88086 {webmachine_resource,do,3,
2013-07-08_06:45:26.88086 [{file,"src/webmachine_resource.erl"},{line,125}]},
2013-07-08_06:45:26.88086 {webmachine_decision_core,resource_call,1,
2013-07-08_06:45:26.88086 [{file,"src/webmachine_decision_core.erl"},{line,48}]},
2013-07-08_06:45:26.88087 {webmachine_decision_core,accept_helper,0,
2013-07-08_06:45:26.88087 [{file,"src/webmachine_decision_core.erl"},{line,583}]},
2013-07-08_06:45:26.88087 {webmachine_decision_core,decision,1,
2013-07-08_06:45:26.88087 [{file,"src/webmachine_decision_core.erl"},{line,489}]},
2013-07-08_06:45:26.88088 {webmachine_decision_core,handle_request,2,
2013-07-08_06:45:26.88088 [{file,"src/webmachine_decision_core.erl"},{line,33}]}]}}

Any idea?

Thanks
Steffen