Created
January 22, 2014 02:03
-
-
Save slyness/8552294 to your computer and use it in GitHub Desktop.
ERROR: constant Chef::CookbookSynchronizer::EAGER_SEGMENTS not defined
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
| 192.168.56.102 96: # Force full cookbook downloads | |
| 192.168.56.102 97>> CookbookSynchronizer.send(:remove_const, :EAGER_SEGMENTS) | |
| 192.168.56.102 98: CookbookSynchronizer.const_set(:EAGER_SEGMENTS, CookbookVersion::COOKBOOK_SEGMENTS) | |
| 192.168.56.102 99: Chef::Log.warn 'Performing full cookbook sync...' | |
| 192.168.56.102 100: rest = Chef::REST.new(Chef::Config[:chef_server_url], node.name, Chef::Config[:client_key]) | |
| 192.168.56.102 101: run_list_expansion = node.run_list.expand(node.chef_environment) | |
| 192.168.56.102 102: cookbook_hash = rest.post_rest( | |
| 192.168.56.102 103: "environments/#{node.chef_environment}/cookbook_versions", | |
| 192.168.56.102 104: :run_list => run_list_expansion.recipes.with_version_constraints_strings | |
| 192.168.56.102 105: ) | |
| 192.168.56.102 106: CookbookSynchronizer.new(cookbook_hash, EventDispatch::Dispatcher.new).sync_cookbooks | |
| 192.168.56.102 | |
| 192.168.56.102 | |
| 192.168.56.102 | |
| 192.168.56.102 [2014-01-21T17:51:13-08:00] ERROR: Running exception handlers | |
| 192.168.56.102 [2014-01-21T17:51:13-08:00] ERROR: Exception handlers complete | |
| 192.168.56.102 [2014-01-21T17:51:13-08:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
| 192.168.56.102 Chef Client failed. 1 resources updated | |
| 192.168.56.102 [2014-01-21T17:51:14-08:00] ERROR: constant Chef::CookbookSynchronizer::EAGER_SEGMENTS not defined | |
| 192.168.56.102 [2014-01-21T17:51:14-08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) |
Ah worked it out, chef 11.4.0 specific, broken in 11.12.8 :(
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Aaron, what is the reason for this? I just got it as well...