Created
April 17, 2015 23:16
-
-
Save ddunlop/bab7e6549ada732a4ec2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ddunlop-MacBook-pro:glimpse-chef daviddunlop (mburns/berkshelf)$ ./bootstrap.py -H ord-glimpse-preprod-ddunlop-test.gl.k1k.me -e preprod | |
Vendoring cookbooks from Berksfile Berksfile to directory cookbooks... | |
== Executing plugin 'install_omnibus_chef' on ord-glimpse-preprod-ddunlop-test.gl.k1k.me == | |
Reading package lists... 0% | |
Reading package lists... 100% | |
Reading package lists... Done | |
Building dependency tree... 0% | |
Building dependency tree... 0% | |
Building dependency tree... 50% | |
Building dependency tree... 50% | |
Building dependency tree | |
Reading state information... 0% | |
Reading state information... 2% | |
Reading state information... Done | |
chef is already the newest version. | |
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded. | |
Reading package lists... 0% | |
Reading package lists... 100% | |
Reading package lists... Done | |
Building dependency tree... 0% | |
Building dependency tree... 0% | |
Building dependency tree... 50% | |
Building dependency tree... 50% | |
Building dependency tree | |
Reading state information... 0% | |
Reading state information... 2% | |
Reading state information... Done | |
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded. | |
Finished executing plugin | |
== Executing plugin 'save_cloud' on ord-glimpse-preprod-ddunlop-test.gl.k1k.me == | |
Saving node configuration to nodes/ord-glimpse-preprod-ddunlop-test.gl.k1k.me.json... | |
Finished executing plugin | |
== Executing plugin 'save_network' on ord-glimpse-preprod-ddunlop-test.gl.k1k.me == | |
Saving node configuration to nodes/ord-glimpse-preprod-ddunlop-test.gl.k1k.me.json... | |
Finished executing plugin | |
== Executing plugin 'save_chef_environment' on ord-glimpse-preprod-ddunlop-test.gl.k1k.me == | |
Saving node configuration to nodes/ord-glimpse-preprod-ddunlop-test.gl.k1k.me.json... | |
Finished executing plugin | |
== Applying role 'base' to ord-glimpse-preprod-ddunlop-test.gl.k1k.me == | |
Synchronizing nodes, environments, roles, cookbooks and data bags... | |
Cooking... | |
[2015-04-17T23:14:07+00:00] INFO: *** Chef 10.26.0 *** | |
[2015-04-17T23:14:07+00:00] INFO: Setting the run_list to ["role[base]"] from JSON | |
[2015-04-17T23:14:07+00:00] INFO: Run List is [role[base]] | |
[2015-04-17T23:14:07+00:00] INFO: Run List expands to [] | |
[2015-04-17T23:14:07+00:00] INFO: Starting Chef Run for ord-glimpse-preprod-ddunlop-test | |
[2015-04-17T23:14:07+00:00] INFO: Running start handlers | |
[2015-04-17T23:14:07+00:00] INFO: Start handlers complete. | |
================================================================================ | |
Recipe Compile Error in /tmp/chef-solo/cookbooks/windows/libraries/windows_package.rb | |
================================================================================ | |
LoadError | |
--------- | |
cannot load such file -- chef/resource/lwrp_base | |
Cookbook Trace: | |
--------------- | |
/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/polyglot-0.3.3/lib/polyglot.rb:63:in `require' | |
/tmp/chef-solo/cookbooks/windows/libraries/windows_package.rb:1:in `<top (required)>' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:140:in `load' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:140:in `block in load_libraries' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:230:in `call' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:230:in `block (2 levels) in foreach_cookbook_load_segment' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:229:in `each' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:229:in `block in foreach_cookbook_load_segment' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:227:in `each' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:227:in `foreach_cookbook_load_segment' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:137:in `load_libraries' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/run_context.rb:62:in `load' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/client.rb:198:in `setup_run_context' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/client.rb:418:in `do_run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/client.rb:176:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/application.rb:133:in `run_chef_client' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/application/solo.rb:224:in `block in run_application' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/application/solo.rb:216:in `loop' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/application/solo.rb:216:in `run_application' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/lib/chef/application.rb:65:in `run' | |
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.26.0/bin/chef-solo:25:in `<top (required)>' | |
/usr/bin/chef-solo:23:in `load' | |
/usr/bin/chef-solo:23:in `<main>' | |
Relevant File Content: | |
---------------------- | |
/opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb: | |
29: # loadpath). | |
30: # | |
31: # The normal <tt>require</tt> functionality of returning false if | |
32: # that file has already been loaded is preserved. | |
33: | |
34: def require path | |
35: if Gem.unresolved_deps.empty? then | |
36>> gem_original_require path | |
37: else | |
38: spec = Gem::Specification.find { |s| | |
39: s.activated? and s.contains_requirable_file? path | |
40: } | |
41: | |
42: unless spec then | |
43: found_specs = Gem::Specification.find_in_unresolved path | |
44: unless found_specs.empty? then | |
45: found_specs = [found_specs.last] | |
[2015-04-17T23:14:07+00:00] ERROR: Running exception handlers | |
[2015-04-17T23:14:07+00:00] ERROR: Exception handlers complete | |
[2015-04-17T23:14:07+00:00] FATAL: Stacktrace dumped to /tmp/chef-solo/cache/chef-stacktrace.out | |
[2015-04-17T23:14:07+00:00] FATAL: LoadError: cannot load such file -- chef/resource/lwrp_base | |
FAILED: chef-solo could not finish configuring the node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[2015-04-17T23:14:07+00:00] FATAL: LoadError: cannot load such file -- chef/resource/lwrp_base
This appears to be a
chef-client
version problem that just so happens to be triggered by the Windows cookbook dependency. Will take some digging to find a good solution for the short-term.