-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Net::HTTPServerException: 412 "Precondition Failed" with fresh cookbook #45
Comments
Could you run this again with |
yep. Thanks for the prompt answer. root@oss:~# chef-client -l debug [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin linode [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin network [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin hostname [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin linux::hostname [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin hostname -s STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: oss [2013-08-29T17:49:18+00:00] DEBUG: ---- End hostname -s STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin hostname -s STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: [2013-08-29T17:49:18+00:00] DEBUG: ---- End hostname -s STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: Ran (hostname -s) returned 0 [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin hostname --fqdn STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: oss.hostly.com [2013-08-29T17:49:18+00:00] DEBUG: ---- End hostname --fqdn STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin hostname --fqdn STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: [2013-08-29T17:49:18+00:00] DEBUG: ---- End hostname --fqdn STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: Ran (hostname --fqdn) returned 0 [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin linux::network [2013-08-29T17:49:18+00:00] DEBUG: default_interface set to eth0 [2013-08-29T17:49:18+00:00] DEBUG: default_gateway set to 10.141.201.65 [2013-08-29T17:49:18+00:00] DEBUG: Unable to determine default inet6 interface [2013-08-29T17:49:18+00:00] DEBUG: [inet] Using default interface eth0 and default gateway 10.141.201.65 to set the default ip to 10.141.201.75 [2013-08-29T17:49:18+00:00] INFO: [inet6] no default interface, picking the first ipaddress [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin eucalyptus [2013-08-29T17:49:18+00:00] DEBUG: has_euca_mac? == false [2013-08-29T17:49:18+00:00] DEBUG: has_euca_mac? == false [2013-08-29T17:49:18+00:00] DEBUG: has_euca_mac? == false [2013-08-29T17:49:18+00:00] DEBUG: looks_like_euca? == false [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin platform [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin linux::platform [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin linux::lsb [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin openstack [2013-08-29T17:49:18+00:00] DEBUG: NOT ohai openstack [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin c [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin gcc -v STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: [2013-08-29T17:49:18+00:00] DEBUG: ---- End gcc -v STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin gcc -v STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) [2013-08-29T17:49:18+00:00] DEBUG: ---- End gcc -v STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: Ran (gcc -v) returned 0 [2013-08-29T17:49:18+00:00] DEBUG: Plugin c threw exception #<Ohai::Exceptions::Exec: command /lib/libc.so.6 doesn't exist or is not in the PATH> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:341:in rescue in popen4' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:345:in popen4'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:98:in run_command_unix' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:50:in block in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in chdir' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/c.rb:41:in block in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/c.rb:40:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/c.rb:40:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in instance_eval'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:216:in block in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:140:in block (2 levels) in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in block in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:241:in run_ohai'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:452:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:18+00:00] DEBUG: Loading plugin ohai [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin rackspace [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin ssh_host_key [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin keys [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin php [2013-08-29T17:49:18+00:00] DEBUG: Plugin php threw exception #<Ohai::Exceptions::Exec: command php -v doesn't exist or is not in the PATH> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:341:in rescue in popen4' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:345:in popen4'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:98:in run_command_unix' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:50:in block in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in chdir' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/php.rb:27:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in instance_eval'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:216:in block in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:140:in block (2 levels) in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in block in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:241:in run_ohai'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:452:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:18+00:00] DEBUG: Loading plugin perl [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin perl -V:version -V:archname STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: version='5.14.2'; archname='x86_64-linux-gnu-thread-multi'; [2013-08-29T17:49:18+00:00] DEBUG: ---- End perl -V:version -V:archname STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin perl -V:version -V:archname STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: [2013-08-29T17:49:18+00:00] DEBUG: ---- End perl -V:version -V:archname STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: Ran (perl -V:version -V:archname) returned 0 [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin dmi [2013-08-29T17:49:18+00:00] DEBUG: unrecognized output line; discarding: No SMBIOS nor DMI entry point found, sorry.[2013-08-29T17:49:18+00:00] DEBUG: Loading plugin mono [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin ec2 [2013-08-29T17:49:18+00:00] DEBUG: looks_like_ec2? == true [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin passwd [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin lua [2013-08-29T17:49:18+00:00] DEBUG: Plugin lua threw exception #<Ohai::Exceptions::Exec: command lua -v doesn't exist or is not in the PATH> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:341:in rescue in popen4' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:345:in popen4'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:98:in run_command_unix' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:50:in block in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in chdir' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/lua.rb:27:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in instance_eval'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:216:in block in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:140:in block (2 levels) in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in block in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:241:in run_ohai'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:452:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:18+00:00] DEBUG: Loading plugin java [2013-08-29T17:49:18+00:00] DEBUG: Plugin java threw exception #<Ohai::Exceptions::Exec: command java -version doesn't exist or is not in the PATH> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:341:in rescue in popen4' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:345:in popen4'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:98:in run_command_unix' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:50:in block in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in chdir' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/java.rb:30:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in instance_eval'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:216:in block in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:140:in block (2 levels) in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in block in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:241:in run_ohai'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:452:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:18+00:00] DEBUG: Loading plugin python [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] [2013-08-29T17:49:18+00:00] DEBUG: ---- End python -c "import sys; print sys.version" STDOUT ---- [2013-08-29T17:49:18+00:00] DEBUG: ---- Begin python -c "import sys; print sys.version" STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: [2013-08-29T17:49:18+00:00] DEBUG: ---- End python -c "import sys; print sys.version" STDERR ---- [2013-08-29T17:49:18+00:00] DEBUG: Ran (python -c "import sys; print sys.version") returned 0 [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin uptime [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin cloud [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin nodejs [2013-08-29T17:49:18+00:00] DEBUG: Plugin nodejs threw exception #<Ohai::Exceptions::Exec: command node -v doesn't exist or is not in the PATH> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:341:in rescue in popen4' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:345:in popen4'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:98:in run_command_unix' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:50:in block in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in chdir' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/nodejs.rb:27:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in instance_eval'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:216:in block in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:140:in block (2 levels) in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in block in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:241:in run_ohai'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:452:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:18+00:00] DEBUG: Loading plugin network_listeners [2013-08-29T17:49:18+00:00] DEBUG: Plugin network_listeners threw exception #<LoadError: cannot load such file -- sigar> /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/network_listeners.rb:19:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in instance_eval'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:216:in block in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:140:in block (2 levels) in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in block in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:241:in run_ohai'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:452:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:18+00:00] DEBUG: Loading plugin ip_scopes [2013-08-29T17:49:18+00:00] DEBUG: ip_scopes: cannot load gem, plugin disabled: cannot load such file -- ipaddr_extensions [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin chef [2013-08-29T17:49:18+00:00] DEBUG: Loading plugin groovy [2013-08-29T17:49:19+00:00] DEBUG: Plugin groovy threw exception #<Ohai::Exceptions::Exec: command groovy -v doesn't exist or is not in the PATH> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:341:in rescue in popen4' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:345:in popen4'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:98:in run_command_unix' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:50:in block in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in chdir' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/command.rb:49:in run_command'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/plugins/groovy.rb:27:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in instance_eval'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mixin/from_file.rb:29:in from_file' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:216:in block in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in each' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:211:in require_plugin'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:140:in block (2 levels) in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:133:in block in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in each'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/system.rb:131:in all_plugins' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:241:in run_ohai'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:452:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:19+00:00] DEBUG: Loading plugin ohai_time [2013-08-29T17:49:19+00:00] DEBUG: Loading plugin linux::ps [2013-08-29T17:49:19+00:00] DEBUG: Loading plugin linux::cpu [2013-08-29T17:49:19+00:00] DEBUG: Loading plugin linux::memory [2013-08-29T17:49:19+00:00] DEBUG: Loading plugin linux::filesystem [2013-08-29T17:49:19+00:00] DEBUG: Loading plugin linux::block_device [2013-08-29T17:49:19+00:00] DEBUG: Loading plugin linux::uptime [2013-08-29T17:49:19+00:00] DEBUG: Loading plugin linux::kernel [2013-08-29T17:49:19+00:00] DEBUG: ---- Begin uname -o STDOUT ---- [2013-08-29T17:49:19+00:00] DEBUG: GNU/Linux [2013-08-29T17:49:19+00:00] DEBUG: ---- End uname -o STDOUT ---- [2013-08-29T17:49:19+00:00] DEBUG: ---- Begin uname -o STDERR ---- [2013-08-29T17:49:19+00:00] DEBUG: [2013-08-29T17:49:19+00:00] DEBUG: ---- End uname -o STDERR ---- [2013-08-29T17:49:19+00:00] DEBUG: Ran (uname -o) returned 0 [2013-08-29T17:49:19+00:00] DEBUG: Client key /etc/chef/client.pem is present - skipping registration [2013-08-29T17:49:19+00:00] DEBUG: Building node object for oss.hostly.com [2013-08-29T17:49:19+00:00] DEBUG: Signing the request as oss.hostly.com [2013-08-29T17:49:19+00:00] DEBUG: String to sign: 'Method:GET Hashed Path:heuvfeX3Sn50NH9TtfiwtkxHgro= X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk= X-Ops-Timestamp:2013-08-29T17:49:19Z X-Ops-UserId:oss.hostly.com' Header hash: {"X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Userid"=>"oss.hostly.com", "X-Ops-Timestamp"=>"2013-08-29T17:49:19Z", "X-Ops-Content-Hash"=>"2jmj7l5rSw0yVb/vlWAYkK/YBwk=", "X-Ops-Authorization-1"=>"kbFZVfz7y4Oc6HvKXK3McIwDD60HZdS2uRGjdOCWOC9jI6AgpBImCMkqVL4Y", "X-Ops-Authorization-2"=>"0hbLAQH61ibPEGrSOkZRddY+hHpzmaoPi+t7SBF3BcUwttyxRsZ9dDOUVe3V", "X-Ops-Authorization-3"=>"glCDNxddulLa6m0uXV8tOCi1eOnUp4W/5KfFmMnPlVk05F84GvH7gHIJrA6V", "X-Ops-Authorization-4"=>"dIGyU4+8bP3a+lExfJFjSjXiGzEKSUF75u+sW85PXSzBm5ID+rtg0pWaVKSr", "X-Ops-Authorization-5"=>"MsT+p5CAgiBEm5Z4cxleE1S8BXTHtrguiJVPZO7zNsATkcNstZuDyNscQEY5", "X-Ops-Authorization-6"=>"IgsVVjSUIq6dncp+MIIAmPebD07F2EqNEes7z96MhA=="} [2013-08-29T17:49:19+00:00] DEBUG: Sending HTTP Request via GET to chef.hostly.com:443/nodes/oss.hostly.com [2013-08-29T17:49:19+00:00] DEBUG: ---- HTTP Status and Header Data: ---- [2013-08-29T17:49:19+00:00] DEBUG: HTTP 1.1 200 OK [2013-08-29T17:49:19+00:00] DEBUG: server: nginx/1.2.3 [2013-08-29T17:49:19+00:00] DEBUG: date: Thu, 29 Aug 2013 17:49:19 GMT [2013-08-29T17:49:19+00:00] DEBUG: content-type: application/json [2013-08-29T17:49:19+00:00] DEBUG: transfer-encoding: chunked [2013-08-29T17:49:19+00:00] DEBUG: connection: close [2013-08-29T17:49:19+00:00] DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.2.6 [2013-08-29T17:49:19+00:00] DEBUG: content-encoding: gzip [2013-08-29T17:49:19+00:00] DEBUG: ---- End HTTP Status/Header Data ---- [2013-08-29T17:49:19+00:00] DEBUG: decompressing gzip response [2013-08-29T17:49:19+00:00] DEBUG: Extracting run list from JSON attributes provided on command line [2013-08-29T17:49:19+00:00] DEBUG: Applying attributes from json file [2013-08-29T17:49:19+00:00] DEBUG: Platform is ubuntu version 12.04 [2013-08-29T17:49:19+00:00] DEBUG: Signing the request as oss.hostly.com [2013-08-29T17:49:19+00:00] DEBUG: String to sign: 'Method:GET Hashed Path:LfcMyEWLnNc52dkMKjBcQ0vxyLg= X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk= X-Ops-Timestamp:2013-08-29T17:49:19Z X-Ops-UserId:oss.hostly.com' Header hash: {"X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Userid"=>"oss.hostly.com", "X-Ops-Timestamp"=>"2013-08-29T17:49:19Z", "X-Ops-Content-Hash"=>"2jmj7l5rSw0yVb/vlWAYkK/YBwk=", "X-Ops-Authorization-1"=>"DyX5KGm0bOKEr2Xgz+AVjoeMobPNPTcv8i6rnXFNBzhBFXKLD1RBJyGntMvc", "X-Ops-Authorization-2"=>"8XkwBvHIHftRjeRk6KihUHvZbKf2Xi0qRu+MeQoGPqrDMjqHv0h8BMxVhYOs", "X-Ops-Authorization-3"=>"IoAU+ejgiLDfN+ankZJ+PV5zAKzGFMIroPCXRxMQv0YmBcV6AH000CeCfIVd", "X-Ops-Authorization-4"=>"r3yQVGk51bYlFOuisI8UqolqO/y3V5ajtdk7LXOYShYFAQwEH+37FphjaRYX", "X-Ops-Authorization-5"=>"aEAH9rK8f3+oZhXV0gTR3CXTlsa3H4jjmfP6iEDn4Eu5LxmpespUXJE4qs9Y", "X-Ops-Authorization-6"=>"PvjZBU/P39Qa56Lr9JHpi5mZHP3Vc47sTfBTFmNZKw=="} [2013-08-29T17:49:19+00:00] DEBUG: Sending HTTP Request via GET to chef.hostly.com:443/roles/base_server [2013-08-29T17:49:19+00:00] DEBUG: ---- HTTP Status and Header Data: ---- [2013-08-29T17:49:19+00:00] DEBUG: HTTP 1.1 200 OK [2013-08-29T17:49:19+00:00] DEBUG: server: nginx/1.2.3 [2013-08-29T17:49:19+00:00] DEBUG: date: Thu, 29 Aug 2013 17:49:19 GMT [2013-08-29T17:49:19+00:00] DEBUG: content-type: application/json [2013-08-29T17:49:19+00:00] DEBUG: transfer-encoding: chunked [2013-08-29T17:49:19+00:00] DEBUG: connection: close [2013-08-29T17:49:19+00:00] DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.2.6 [2013-08-29T17:49:19+00:00] DEBUG: content-encoding: gzip [2013-08-29T17:49:19+00:00] DEBUG: ---- End HTTP Status/Header Data ---- [2013-08-29T17:49:19+00:00] DEBUG: decompressing gzip response [2013-08-29T17:49:19+00:00] INFO: Run List is [role[base_server], recipe[etc_hosts], recipe[nexus]] [2013-08-29T17:49:19+00:00] INFO: Run List expands to [vim, htop, iotop, mc, git, newrelic, zabbix, motd-tail, sudo, users::root, chef-client, chef-client::delete_validation, etc_hosts, nexus] [2013-08-29T17:49:19+00:00] DEBUG: Signing the request as oss.hostly.com [2013-08-29T17:49:19+00:00] DEBUG: String to sign: 'Method:POST Hashed Path:7vvkAsVhjh78xHmbpxN3HvD1kXs= X-Ops-Content-Hash:MRhBuIXLswtWBb0IZgchGZ33/pg= X-Ops-Timestamp:2013-08-29T17:49:19Z X-Ops-UserId:oss.hostly.com' Header hash: {"X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Userid"=>"oss.hostly.com", "X-Ops-Timestamp"=>"2013-08-29T17:49:19Z", "X-Ops-Content-Hash"=>"MRhBuIXLswtWBb0IZgchGZ33/pg=", "X-Ops-Authorization-1"=>"H+LOc9o0JtcZ3A2xo4kdl//jRqihSV5xwC3nLSdF3qIslhYRdgFwXOuj4ox0", "X-Ops-Authorization-2"=>"i+LLTFgVOL4ITLmTpvZ4gfm1SKtmCdiUJNBLWTy/pzxW0nUuAvTUbjaxX3HH", "X-Ops-Authorization-3"=>"xPH0WJYdoLltTdCthRStNtowQs5OiiSbLzqyzT42uK5IKQFKanarGTuBLxQ+", "X-Ops-Authorization-4"=>"gnFxG6N2DskaoHavCHXy9YlOZgB8lc0J2lDnHg6ViSXH7fIBbKmLTVYsgkU6", "X-Ops-Authorization-5"=>"vGuWJx6Z1ef3tIob32TKTOxjSfkrn5h0Y25mTfnWC+iYtod7Az9Jan4abyCb", "X-Ops-Authorization-6"=>"OpV0wr0X878AYF7kEP6fcNzT9hXMJtEOd1QgB+Lh2A=="} [2013-08-29T17:49:19+00:00] DEBUG: Sending HTTP Request via POST to chef.hostly.com:443/reports/nodes/oss.hostly.com/runs [2013-08-29T17:49:19+00:00] DEBUG: ---- HTTP Status and Header Data: ---- [2013-08-29T17:49:19+00:00] DEBUG: HTTP 1.1 404 Object Not Found [2013-08-29T17:49:19+00:00] DEBUG: server: nginx/1.2.3 [2013-08-29T17:49:19+00:00] DEBUG: date: Thu, 29 Aug 2013 17:49:19 GMT [2013-08-29T17:49:19+00:00] DEBUG: content-type: text/html [2013-08-29T17:49:19+00:00] DEBUG: transfer-encoding: chunked [2013-08-29T17:49:19+00:00] DEBUG: connection: close [2013-08-29T17:49:19+00:00] DEBUG: content-encoding: gzip [2013-08-29T17:49:19+00:00] DEBUG: ---- End HTTP Status/Header Data ---- [2013-08-29T17:49:19+00:00] DEBUG: decompressing gzip response [2013-08-29T17:49:19+00:00] DEBUG: Received 404 attempting to generate run history id (URL Path: reports/nodes/oss.hostly.com/runs), assuming feature is not supported on server. [2013-08-29T17:49:19+00:00] INFO: Starting Chef Run for oss.hostly.com [2013-08-29T17:49:19+00:00] INFO: Running start handlers [2013-08-29T17:49:19+00:00] INFO: Start handlers complete. [2013-08-29T17:49:19+00:00] DEBUG: Synchronizing cookbooks resolving cookbooks for run list: ["vim", "htop", "iotop", "mc", "git", "newrelic", "zabbix", "motd-tail", "sudo", "users::root", "chef-client", "chef-client::delete_validation", "etc_hosts", "nexus"] [2013-08-29T17:49:19+00:00] DEBUG: Signing the request as oss.hostly.com [2013-08-29T17:49:19+00:00] DEBUG: String to sign: 'Method:POST Hashed Path:zXHyJOjo6pCoVGEbbPQWMq1P1mY= X-Ops-Content-Hash:6grcppo+ZfECCUDIAuPV1OWvfxI= X-Ops-Timestamp:2013-08-29T17:49:19Z X-Ops-UserId:oss.hostly.com' Header hash: {"X-Ops-Sign"=>"algorithm=sha1;version=1.0;", "X-Ops-Userid"=>"oss.hostly.com", "X-Ops-Timestamp"=>"2013-08-29T17:49:19Z", "X-Ops-Content-Hash"=>"6grcppo+ZfECCUDIAuPV1OWvfxI=", "X-Ops-Authorization-1"=>"DLmBPZqpye1T2C/nBD01vAihJPmQmeMmmq9o6WoO3H0xfV1rEIhCBrEUk/eh", "X-Ops-Authorization-2"=>"ziHl/61WlDdGamc2cyUlRi2Z0x5ZPf7EJCVE49lew7g7NeGhku6hLcKtbtyD", "X-Ops-Authorization-3"=>"g1/BeRnzE8GI4zJd8ml9dXmbWZ3VxKQrF1ueuZx1fFRcn19Mvm+rxx9VC9ZE", "X-Ops-Authorization-4"=>"v73NTL/yMTunOAREhNEWwNZngeOll8NuAqC3intYVWXf7DrwasMyVoExZv1D", "X-Ops-Authorization-5"=>"NGbJzXwrMcYNGYx3LllHIX0uhWrE0kYj4K/x51B/bUMyZEe3TZI+mLWRZyl3", "X-Ops-Authorization-6"=>"aMjr7UD4MfSmIqir8FZq8nPByyE+HoJqSbavRp0e5w=="} [2013-08-29T17:49:19+00:00] DEBUG: Sending HTTP Request via POST to chef.hostly.com:443/environments/_default/cookbook_versions [2013-08-29T17:49:19+00:00] DEBUG: ---- HTTP Status and Header Data: ---- [2013-08-29T17:49:19+00:00] DEBUG: HTTP 1.1 412 Precondition Failed [2013-08-29T17:49:19+00:00] DEBUG: server: nginx/1.2.3 [2013-08-29T17:49:19+00:00] DEBUG: date: Thu, 29 Aug 2013 17:49:19 GMT [2013-08-29T17:49:19+00:00] DEBUG: content-type: application/json [2013-08-29T17:49:19+00:00] DEBUG: content-length: 3601 [2013-08-29T17:49:19+00:00] DEBUG: connection: close [2013-08-29T17:49:19+00:00] DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.2.6 [2013-08-29T17:49:19+00:00] DEBUG: ---- End HTTP Status/Header Data ---- [2013-08-29T17:49:19+00:00] INFO: HTTP Request Returned 412 Precondition Failed: {"message"=>"Unable to solve constraints, the following solutions were attempted \n\n Unable to satisfy goal constraints nexus, etc_hosts, chef-client, users, sudo, motd-tail, zabbix, newrelic, git, mc, iotop, htop, vim due to constraint on windows\n (chef-client = 3.0.4) -> (cron = 1.2.6)\n (etc_hosts = 1.0.9)\n (git = 2.6.0) -> (build-essential = 1.4.0)\n (git = 2.6.0) -> (dmg = 2.0.0)\n (git = 2.6.0) -> (runit = 1.1.4) -> (build-essential = 1.4.0)\n (git = 2.6.0) -> (runit = 1.1.4) -> (yum = 2.2.2)\n (git = 2.6.0) -> (windows = 1.9.0) -> (chef_handler = 1.1.4)\n (git = 2.6.0) -> (yum = 2.2.2)\n (htop = 1.1.0) -> (yum = 2.2.2)\n (iotop = 1.1.0)\n (mc = 0.1.0)\n (motd-tail = 1.2.1)\n (newrelic = 0.4.7)\n (nexus = 2.3.0) -> (artifact = 1.6.1) -> (windows ~> 1.8.0)\n (nexus = 2.3.0) -> (java = 1.12.0) -> (windows = 1.9.0) -> (chef_handler = 1.1.4)\n (nexus = 2.3.0) -> (nginx = 1.6.0) -> (apt = 1.10.0)\n (nexus = 2.3.0) -> (nginx = 1.6.0) -> (build-essential = 1.4.0)\n (nexus = 2.3.0) -> (nginx = 1.6.0) -> (ohai = 1.1.8)\n (nexus = 2.3.0) -> (nginx = 1.6.0) -> (runit = 1.1.4) -> (build-essential = 1.4.0)\n (nexus = 2.3.0) -> (nginx = 1.6.0) -> (runit = 1.1.4) -> (yum = 2.2.2)\n (nexus = 2.3.0) -> (nginx = 1.6.0) -> (yum = 2.2.2)\n (sudo = 2.1.5)\n (users = 1.4.9)\n (vim = 1.0.2)\n (zabbix = 0.0.104) -> (apache2 = 1.6.2)\n (zabbix = 0.0.104) -> (ark = 0.3.2)\n (zabbix = 0.0.104) -> (chocolatey = 0.0.5) -> (powershell = 1.0.8) -> (windows = 1.9.0) -> (chef_handler = 1.1.4)\n (zabbix = 0.0.104) -> (database = 1.4.0) -> (aws = 0.101.0)\n (zabbix = 0.0.104) -> (database = 1.4.0) -> (mysql = 3.0.0) -> (build-essential = 1.4.0)\n (zabbix = 0.0.104) -> (database = 1.4.0) -> (mysql = 3.0.0) -> (openssl = 1.0.2)\n (zabbix = 0.0.104) -> (database = 1.4.0) -> (postgresql = 3.0.0) -> (apt = 1.10.0)\n (zabbix = 0.0.104) -> (database = 1.4.0) -> (postgresql = 3.0.0) -> (build-essential = 1.4.0)\n (zabbix = 0.0.104) -> (database = 1.4.0) -> (postgresql = 3.0.0) -> (openssl = 1.0.2)\n (zabbix = 0.0.104) -> (database = 1.4.0) -> (xfs = 1.1.0)\n (zabbix = 0.0.104) -> (mysql = 3.0.0) -> (build-essential = 1.4.0)\n (zabbix = 0.0.104) -> (mysql = 3.0.0) -> (openssl = 1.0.2)\n (zabbix = 0.0.104) -> (nginx = 1.6.0) -> (apt = 1.10.0)\n (zabbix = 0.0.104) -> (nginx = 1.6.0) -> (build-essential = 1.4.0)\n (zabbix = 0.0.104) -> (nginx = 1.6.0) -> (ohai = 1.1.8)\n (zabbix = 0.0.104) -> (nginx = 1.6.0) -> (runit = 1.1.4) -> (build-essential = 1.4.0)\n (zabbix = 0.0.104) -> (nginx = 1.6.0) -> (runit = 1.1.4) -> (yum = 2.2.2)\n (zabbix = 0.0.104) -> (nginx = 1.6.0) -> (yum = 2.2.2)\n (zabbix = 0.0.104) -> (php-fpm = 0.4.3) -> (apt = 1.10.0)\n (zabbix = 0.0.104) -> (php-fpm = 0.4.3) -> (yum = 2.2.2)\n (zabbix = 0.0.104) -> (postgresql = 3.0.0) -> (apt = 1.10.0)\n (zabbix = 0.0.104) -> (postgresql = 3.0.0) -> (build-essential = 1.4.0)\n (zabbix = 0.0.104) -> (postgresql = 3.0.0) -> (openssl = 1.0.2)\n (zabbix = 0.0.104) -> (ufw = 0.6.1) -> (firewall = 0.10.2)\n (zabbix = 0.0.104) -> (yum = 2.2.2)\n", "unsatisfiable_run_list_item"=>["vim", "htop", "iotop", "mc", "git", "newrelic", "zabbix", "motd-tail", "sudo", "users", "chef-client", "etc_hosts", "nexus"], "non_existent_cookbooks"=>[], "most_constrained_cookbooks"=>["(windows ~> 1.8.0)"]} Error Resolving Cookbooks for Run List:Missing Cookbooks:Expanded Run List:
[2013-08-29T17:49:19+00:00] DEBUG: Re-raising exception: Net::HTTPServerException - 412 "Precondition Failed" [2013-08-29T17:49:19+00:00] ERROR: Running exception handlers [2013-08-29T17:49:19+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json [2013-08-29T17:49:19+00:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated [2013-08-29T17:49:19+00:00] DEBUG: Server doesn't support resource history, skipping resource report. [2013-08-29T17:49:19+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2013-08-29T17:49:19+00:00] DEBUG: Net::HTTPServerException: 412 "Precondition Failed" /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:2632:in error!' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:199:in block in raw_http_request'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:280:in retriable_rest_request' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:164:in raw_http_request'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:158:in api_request' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:118:in post'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:377:in sync_cookbooks' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:218:in setup_run_context'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:467:in do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in <top (required)>'/usr/bin/chef-client:23:in load' /usr/bin/chef-client:23:in '[2013-08-29T17:49:19+00:00] FATAL: Net::HTTPServerException: 412 "Precondition Failed" root@oss:~# |
berks upload nexus |
@astlock what version of Berkshelf are you using? |
@reset Berkshelf (2.0.9) |
@astlock could you attempt to resolve the same Berksfile with Berkshelf 3.0.0 (master branch or the release candidate on rubygems) and print the output of a Berks install? I'd love to help identify or rule out Berkshelf's resolver as the culprit. |
gem install berkshelf --pre berks install building universe... And it's stuck in this position |
@astlock are you not able to access http://api.berkshelf.com/universe? |
@reset Seems to ok with this URL. curl -I http://api.berkshelf.com/universe |
@astlock can you can try to run the install command with the |
berks install -d |
D, [2013-08-29T23:09:19.900692 #95000] DEBUG -- : Using Chefignore at '/Users/astlock/chef-repo/chefignore' |
D, [2013-08-29T23:09:26.895725 #95000] DEBUG -- : Using Chefignore at '/Users/astlock/chef-repo/cookbooks/zabbix-master/chefignore' |
then it stuck and start consume my CPU :) |
I've changed at cookbooks/artifact-1.6.1/metadata.rb -depends "windows", " berks upload artifact and the problem is gone. |
@astlock sounds like an issue with the artifact cookbook. Can we close this? |
Possibly related to RiotGamesCookbooks/artifact-cookbook#108, which was fixed in the 1.11.1 release. |
Hi [2020-04-09T08:09:14+00:00] ERROR: Running exception handlers |
Hello. I have an issue with bootstrap and sample run list. I used Berkshelf to upload cookbook to my own chef server.
Error Resolving Cookbooks for Run List:
Missing Cookbooks:
Expanded Run List:
vim
htop
iotop
mc
git
newrelic
zabbix
motd-tail
sudo
users::root
chef-client
chef-client::delete_validation
etc_hosts
nexus
[2013-08-29T15:44:18+00:00] ERROR: Running exception handlers
[2013-08-29T15:44:18+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2013-08-29T15:44:18+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated
[2013-08-29T15:44:18+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-08-29T15:44:18+00:00] FATAL: Net::HTTPServerException: 412 "Precondition Failed"
/var/chef/cache/chef-stacktrace.out
Generated at 2013-08-29 15:45:30 +0000
Net::HTTPServerException: 412 "Precondition Failed"
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:2632:in
error!' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:199:in
block in raw_http_request'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:280:in
retriable_rest_request' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:164:in
raw_http_request'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:158:in
api_request' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/rest.rb:118:in
post'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:377:in
sync_cookbooks' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:218:in
setup_run_context'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:467:in
do_run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/client.rb:200:in
run'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:190:in
run_chef_client' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:297:in
block in run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in
loop' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application/client.rb:290:in
run_application'/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/lib/chef/application.rb:73:in
run' /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.4.4/bin/chef-client:26:in
<top (required)>'/usr/bin/chef-client:23:in
load' /usr/bin/chef-client:23:in
The text was updated successfully, but these errors were encountered: