On Friday, July 26, 2013 at 10:37 AM, Brian Anderson wrote:
I tried booting up a new Windows Server instance today. Since the knife-windows plugin always installs the latest version of Chef, I got 11.6.My chef run blew up pretty quickly at the first cookbook_file I hit:ec2-184-72-136-111.compute-1.amazonaws.com ================================================================================ec2-184-72-136-111.compute-1.amazonaws.com Error executing action `create` on resource 'cookbook_file[/Progra~1/NSClient++/nsclient.ini]'ec2-184-72-136-111.compute-1.amazonaws.com ================================================================================ec2-184-72-136-111.compute-1.amazonaws.com Chef::Exceptions::Win32APIErrorec2-184-72-136-111.compute-1.amazonaws.com -------------------------------ec2-184-72-136-111.compute-1.amazonaws.com The system cannot find the path specified.ec2-184-72-136-111.compute-1.amazonaws.com ---- Begin Win32 API output ----ec2-184-72-136-111.compute-1.amazonaws.com System Error Code: 3ec2-184-72-136-111.compute-1.amazonaws.com System Error Message: The system cannot find the path specified.ec2-184-72-136-111.compute-1.amazonaws.com ---- End Win32 API output ----ec2-184-72-136-111.compute-1.amazonaws.com Resource Declaration:ec2-184-72-136-111.compute-1.amazonaws.com ---------------------ec2-184-72-136-111.compute-1.amazonaws.com # In c:/chef/cache/cookbooks/nagios/recipes/client-win.rbec2-184-72-136-111.compute-1.amazonaws.com 16: cookbook_file "/Progra~1/NSClient++/nsclient.ini" doec2-184-72-136-111.compute-1.amazonaws.com 17: source "nsclient.ini"ec2-184-72-136-111.compute-1.amazonaws.com Compiled Resource:ec2-184-72-136-111.compute-1.amazonaws.com ------------------ec2-184-72-136-111.compute-1.amazonaws.com # Declared in c:/chef/cache/cookbooks/nagios/recipes/client-win.rb:16:in `from_file'ec2-184-72-136-111.compute-1.amazonaws.com cookbook_file("/Progra~1/NSClient++/nsclient.ini") doec2-184-72-136-111.compute-1.amazonaws.com provider Chef::Provider::CookbookFileec2-184-72-136-111.compute-1.amazonaws.com action "create"ec2-184-72-136-111.compute-1.amazonaws.com retry_delay 2ec2-184-72-136-111.compute-1.amazonaws.com path "/Progra~1/NSClient++/nsclient.ini"ec2-184-72-136-111.compute-1.amazonaws.com atomic_update trueec2-184-72-136-111.compute-1.amazonaws.com source "nsclient.ini"ec2-184-72-136-111.compute-1.amazonaws.com cookbook_name "nagios"ec2-184-72-136-111.compute-1.amazonaws.com recipe_name "client-win"I disabled that recipe and got a similar error the first time it hit a template.I read the release notes about the file changes, but I didn't think I was doing anything that should cause trouble. Is there anything in that compiled resource that looks wrong?I rolled back to 11.4.4 on the instance and everything ran as expected.Brian
Archive powered by MHonArc 2.6.16.