2014-09-24 07:35:30,798 [DEBUG] CloudFormation client initialized with endpoint https://cloudformation.eu-west-1.amazonaws.com 2014-09-24 07:35:30,798 [DEBUG] Describing resource LaunchConfig in stack arn:aws:cloudformation:eu-west-1::stack//c8b99b70-43bb-11e4-9cbd-50014118ecb4 2014-09-24 07:35:31,937 [DEBUG] Creating Scheduled Task for cfn-init resume 2014-09-24 07:35:32,201 [DEBUG] Scheduled Task created 2014-09-24 07:35:32,217 [INFO] Running configSets: default 2014-09-24 07:35:32,217 [INFO] Running configSet default 2014-09-24 07:35:32,217 [INFO] Running config config 2014-09-24 07:35:32,217 [DEBUG] No packages specified 2014-09-24 07:35:32,217 [DEBUG] No groups specified 2014-09-24 07:35:32,217 [DEBUG] No users specified 2014-09-24 07:35:32,217 [DEBUG] No sources specified 2014-09-24 07:35:32,217 [DEBUG] c:\Chef\configure-chef.ps1 already exists 2014-09-24 07:35:32,217 [DEBUG] Moving c:\Chef\configure-chef.ps1 to c:\Chef\configure-chef.ps1.bak 2014-09-24 07:35:32,217 [DEBUG] Writing content to c:\Chef\configure-chef.ps1 2014-09-24 07:35:32,217 [DEBUG] No mode specified for c:\Chef\configure-chef.ps1 2014-09-24 07:35:32,217 [WARNING] Unsupported OS for setting owner/group: nt 2014-09-24 07:35:32,217 [DEBUG] Writing content to c:\Chef\customer_secret 2014-09-24 07:35:32,217 [DEBUG] Retrieving contents from https://s3-eu-west-1.amazonaws.com/bucket 2014-09-24 07:35:32,311 [DEBUG] No mode specified for c:\Chef\customer_secret 2014-09-24 07:35:32,311 [WARNING] Unsupported OS for setting owner/group: nt 2014-09-24 07:35:32,311 [DEBUG] c:\Chef\first-boot.json already exists 2014-09-24 07:35:32,311 [DEBUG] Moving c:\Chef\first-boot.json to c:\Chef\first-boot.json.bak 2014-09-24 07:35:32,311 [DEBUG] Writing content to c:\Chef\first-boot.json 2014-09-24 07:35:32,311 [DEBUG] Content will be serialized as a JSON structure 2014-09-24 07:35:32,311 [DEBUG] No mode specified for c:\Chef\first-boot.json 2014-09-24 07:35:32,311 [WARNING] Unsupported OS for setting owner/group: nt 2014-09-24 07:35:32,311 [DEBUG] c:\chef\client.rb already exists 2014-09-24 07:35:32,311 [DEBUG] Moving c:\chef\client.rb to c:\chef\client.rb.bak 2014-09-24 07:35:32,311 [DEBUG] Writing content to c:\chef\client.rb 2014-09-24 07:35:32,311 [DEBUG] No mode specified for c:\chef\client.rb 2014-09-24 07:35:32,311 [WARNING] Unsupported OS for setting owner/group: nt 2014-09-24 07:35:32,342 [DEBUG] No services specified 2014-09-24 07:35:32,358 [DEBUG] Running command 0-set-executionpolicy 2014-09-24 07:35:32,358 [DEBUG] No test for command 0-set-executionpolicy 2014-09-24 07:35:40,236 [INFO] Command 0-set-executionpolicy succeeded 2014-09-24 07:35:40,236 [DEBUG] Command 0-set-executionpolicy output: 2014-09-24 07:35:40,252 [DEBUG] Running command 1-configure-chef 2014-09-24 07:35:40,252 [DEBUG] No test for command 1-configure-chef 2014-09-24 07:35:49,144 [INFO] Command 1-configure-chef succeeded 2014-09-24 07:35:49,144 [DEBUG] Command 1-configure-chef output: Directory: C:\chef Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 9/24/2014 7:35 AM log 2014-09-24 07:35:49,160 [DEBUG] Running command 2-chef-client-first-boot 2014-09-24 07:35:49,160 [DEBUG] No test for command 2-chef-client-first-boot 2014-09-24 07:40:31,536 [ERROR] Command 2-chef-client-first-boot (C:\opscode\chef\bin\chef-client -E development -l info -L C:\Chef\log\first-boot.log -j first-boot.json --no-color) failed 2014-09-24 07:40:31,536 [DEBUG] Command 2-chef-client-first-boot output: sethostname: Use the Network Control Panel Applet to set hostname. hostname -s is not supported. ================================================================================ Error executing action `create` on resource 'windows_task[chef-client]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of schtasks /Create /TN "chef-client" /SC minute /MO 30 /TR "C:/opscode/chef/embedded/bin/ruby.exe C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300" /RL HIGHEST ---- STDOUT: STDERR: ERROR: No mapping between account names and security IDs was done. (20,8):UserId: ---- End output of schtasks /Create /TN "chef-client" /SC minute /MO 30 /TR "C:/opscode/chef/embedded/bin/ruby.exe C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300" /RL HIGHEST ---- Ran schtasks /Create /TN "chef-client" /SC minute /MO 30 /TR "C:/opscode/chef/embedded/bin/ruby.exe C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300" /RL HIGHEST returned 1 Resource Declaration: --------------------- # In C:/chef/cache/cookbooks/chef-client/recipes/task.rb 31: windows_task 'chef-client' do 32: run_level :highest 33: command "#{node['chef_client']['ruby_bin']} #{node['chef_client']['bin']} \ 34: -L #{File.join(node['chef_client']['log_dir'], 'client.log')} \ 35: -c #{File.join(node['chef_client']['conf_dir'], 'client.rb')} -s #{node['chef_client']['splay']}" 36: frequency :minute 37: frequency_modifier(node['chef_client']['interval'].to_i / 60) 38: end Compiled Resource: ------------------ # Declared in C:/chef/cache/cookbooks/chef-client/recipes/task.rb:31:in `from_file' windows_task("chef-client") do action :create retries 0 retry_delay 2 guard_interpreter :default cookbook_name "chef-client" recipe_name "task" run_level :highest _node_override # @command: "C:/opscode/chef/embedded/bin/ruby.exe C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300" @frequency: :minute @frequency_modifier: 30 @user: nil @force: false @start_day: nil @start_time: nil>> command "C:/opscode/chef/embedded/bin/ruby.exe C:/opscode/chef/bin/chef-client -L C:/chef/log/client.log -c C:/chef/client.rb -s 300" frequency :minute frequency_modifier 30 end SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed 2014-09-24 07:40:31,536 [ERROR] Error encountered during build of config: Command 2-chef-client-first-boot failed Traceback (most recent call last): File "cfnbootstrap\construction.pyc", line 513, in run_config File "cfnbootstrap\construction.pyc", line 125, in run_commands File "cfnbootstrap\command_tool.pyc", line 113, in apply ToolError: Command 2-chef-client-first-boot failed 2014-09-24 07:40:31,536 [ERROR] Unhandled exception during build: Command 2-chef-client-first-boot failed Traceback (most recent call last): File "cfn-init", line 122, in File "cfnbootstrap\construction.pyc", line 117, in build File "cfnbootstrap\construction.pyc", line 502, in build File "cfnbootstrap\construction.pyc", line 513, in run_config File "cfnbootstrap\construction.pyc", line 125, in run_commands File "cfnbootstrap\command_tool.pyc", line 113, in apply ToolError: Command 2-chef-client-first-boot failed 2014-09-24 10:09:02,921 [DEBUG] Starting resume 2014-09-24 10:09:02,983 [DEBUG] Creating Scheduled Task for cfn-init resume 2014-09-24 10:09:03,000 [DEBUG] Scheduled task already exists; not updating 2014-09-24 10:09:03,249 [DEBUG] Deleting Scheduled Task for cfn-init resume 2014-09-24 10:09:03,421 [DEBUG] Scheduled Task deleted 2014-09-24 10:09:03,483 [DEBUG] Resume completed