Closed andrewjmackay closed 7 years ago
Sorry, simple issue.
(chef-client-12.17.44) uses a new temporary path so you just need to be aware to update the remote path
"type": "chef-solo",
"remote_cookbook_paths": [
"c:/windows/temp/packer-chef-**solo**/cookbooks-0",
"c:/windows/temp/packer-chef-**solo**/cookbooks-1"
Issue with running remote cookbook "type": "chef-solo", "remote_cookbook_paths": [ "c:/windows/temp/packer-chef-client/cookbooks-0", "c:/windows/temp/packer-chef-client/cookbooks-1"
PS C:\Windows\Temp\packer-chef-solo\local-mode-cache\cache> cat .\chef-stacktrace.out Generated at 2016-12-13 14:53:45 +0000 Net::HTTPFatalError: 500 "Internal Server Error" c:/opscode/chef/embedded/lib/ruby/2.3.0/net/http/response.rb:120:in'
error!' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/http.rb:150:in
request' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/http.rb:131:inpost' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/node.rb:616:in
create' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/node.rb:569:inrescue in find_or_create' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/node.rb:565:in
find_or_create' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/policy_builder/dynamic.rb:72:inload_node' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/client.rb:468:in
load_node' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/client.rb:270:inrun' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application.rb:276:in
run_with_graceful_exit_option' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application.rb:252:inblock in run_chef_client' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/local_mode.rb:44:in
with_server_connectivity' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application.rb:235:inrun_chef_client' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application/client.rb:464:in
sleep_then_run_chef_client' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application/client.rb:451:inblock in interval_run_chef_client' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application/client.rb:450:in
loop' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application/client.rb:450:ininterval_run_chef_client' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application/client.rb:434:in
run_application' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application.rb:59:inrun' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/lib/chef/application/solo.rb:226:in
run' c:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.17.44-universal-mingw32/bin/chef-solo:25:in<top (required)>'c:/opscode/chef/bin/chef-solo:68:in
load' c:/opscode/chef/bin/chef-solo:68:in `