{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/chef-server/issues/648","labels_url":"https://api.github.com/repos/chef/chef-server/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-server/issues/648/comments","events_url":"https://api.github.com/repos/chef/chef-server/issues/648/events","html_url":"https://github.com/chef/chef-server/issues/648","id":119924490,"number":648,"title":"500 errors in resolving cookbook for runlist - bad argument in call to erlang in chef_depsolver_worker","user":{"login":"umang1912","id":1926541,"avatar_url":"https://avatars.githubusercontent.com/u/1926541?v=3","gravatar_id":"","url":"https://api.github.com/users/umang1912","html_url":"https://github.com/umang1912","followers_url":"https://api.github.com/users/umang1912/followers","following_url":"https://api.github.com/users/umang1912/following{/other_user}","gists_url":"https://api.github.com/users/umang1912/gists{/gist_id}","starred_url":"https://api.github.com/users/umang1912/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umang1912/subscriptions","organizations_url":"https://api.github.com/users/umang1912/orgs","repos_url":"https://api.github.com/users/umang1912/repos","events_url":"https://api.github.com/users/umang1912/events{/privacy}","received_events_url":"https://api.github.com/users/umang1912/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-02T11:43:28Z","updated_at":"2015-12-02T13:12:37Z","closed_at":"2015-12-02T13:12:37Z","body":"Hi,\r\nOur staging chef server is throwing these errors when running chef-client on the nodes. Restarting services on chef-server didnt help.\r\n\r\nclient.log on the node -\r\n> ERROR: Server returned error 500 for https://chef_server_ip/organizations/qubole/environments/staging/cookbook_versions, retrying 1/5 in 3s\r\n\r\ncrash.log -\r\n> =SUPERVISOR REPORT====\r\nSupervisor: {local,pooler_chef_depsolver_member_sup}\r\nContext: child_terminated\r\nReason: {badarg,[{erlang,binary_to_term,[<<131,104,2,100,0,2,111,107,108,0,0,0,4,104,2,109,0,0,0,8,119,101,98,115,108,97,118,101,104,3,97,0,98,2,165,221,160,97,1,104,2,109,0,0,0,12,99,104,101,102,95,104,97,110,100,108,101,114,104,3,97,1,97,1,97,8,104,2,109,0,0,0,16,113,100,115,95,115,101,110,115,117,95,99,108,105,101,110,116,104,3,97,1,97,0,97,0,104,2,109,0,0,0,4,99,114,111,110,104,3,97,1,97,6,97,1>>],[]},{chef_depsolver_worker,handle_call,3,[{file,\"src/chef_depsolver_worker.erl\"},{line,178}]},{gen_server,try_handle_call,4,[{file,\"gen_server.erl\"},{line,607}]},{gen_server,handle_msg,5,[{file,\"gen_server.erl\"},{line,639}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,237}]}]}\r\nOffender: [{pid,<0.2334.0>},{name,chef_depsolver_worker},{mfargs,{chef_depsolver_worker,start_link,undefined}},{restart_type,temporary},{shutdown,brutal_kill},{child_type,worker}]\r\n\r\nerchef.log -\r\n> [error] Supervisor pooler_chef_depsolver_member_sup had child chef_depsolver_worker started with {chef_depsolver_worker,start_link,undefined} at <0.2275.0> exit with reason bad argument in call to erlang:binary_to_term(<<131,104,2,100,0,2,111,107,108,0,0,0,4,104,2,109,0,0,0,8,119,101,98,115,108,97,118,101,104,3,97,...>>) in chef_depsolver_worker:handle_call/3 line 178 in context child_terminated\r\n\r\nHaven't seen this issue before, and unable to fix it now. Can anyone help?"}}