Skip to content

Instantly share code, notes, and snippets.

@chantra
Created April 18, 2015 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chantra/ca72f12880cd270e93c1 to your computer and use it in GitHub Desktop.
Save chantra/ca72f12880cd270e93c1 to your computer and use it in GitHub Desktop.
==> default: stdin: is not a tty
==> default: [2015-04-18T15:27:53+00:00] INFO: Forking chef instance to converge...
==> default: [2015-04-18T15:27:53+00:00] INFO: *** Chef 12.2.1 ***
==> default: [2015-04-18T15:27:53+00:00] INFO: Chef-client pid: 1724
==> default: [2015-04-18T15:27:59+00:00] INFO: Setting the run_list to ["recipe[sysinit::default]"] from CLI options
==> default: [2015-04-18T15:27:59+00:00] INFO: Run List is [recipe[sysinit::default]]
==> default: [2015-04-18T15:27:59+00:00] INFO: Run List expands to [sysinit::default]
==> default: [2015-04-18T15:27:59+00:00] INFO: Starting Chef Run for sysinit-berkshelf
==> default: [2015-04-18T15:27:59+00:00] INFO: Running start handlers
==> default: [2015-04-18T15:27:59+00:00] INFO: Start handlers complete.
==> default: [2015-04-18T15:27:59+00:00] INFO: whyrun_safe_ruby_block[sysctl sanity checks] called
==> default: [2015-04-18T15:27:59+00:00] INFO: template[/etc/sysctl.conf] backed up to /var/chef/backup/etc/sysctl.conf.chef-20150418152759.810846
==> default: [2015-04-18T15:27:59+00:00] INFO: template[/etc/sysctl.conf] updated file contents /etc/sysctl.conf
==> default: [2015-04-18T15:27:59+00:00] INFO: template[/etc/sysctl.conf] sending run action to execute[read-sysctl] (immediate)
==> default: [2015-04-18T15:27:59+00:00] INFO: execute[read-sysctl] ran successfully
==> default:
==> default: ================================================================================
==> default: Error executing action `run` on resource 'execute[reread-sysctl]'
==> default: ================================================================================
==> default:
==> default:
==> default: NoMethodError
==> default: -------------
==> default: undefined method `sysctl_in_sync?' for FB::FBSysctl:Module
==> default:
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default: /tmp/vagrant-chef/bdd319f8d3aadd60d9d0e4cf0a7aaa58/cookbooks/fb_sysctl/recipes/default.rb:60:in `block (2 levels) in from_file'
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef/bdd319f8d3aadd60d9d0e4cf0a7aaa58/cookbooks/fb_sysctl/recipes/default.rb
==> default:
==> default: 59: execute 'reread-sysctl' do
==> default: 60: not_if { FB::FBSysctl.sysctl_in_sync? }
==> default: 61: command '/sbin/sysctl -p'
==> default: 62: end
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef/bdd319f8d3aadd60d9d0e4cf0a7aaa58/cookbooks/fb_sysctl/recipes/default.rb:59:in `from_file'
==> default:
==> default: execute("reread-sysctl") do
==> default: action "run"
==> default: retries 0
==> default: retry_delay 2
==> default: default_guard_interpreter :execute
==> default: command "/sbin/sysctl -p"
==> default: backup 5
==> default: returns 0
==> default: declared_type :execute
==> default: cookbook_name :fb_sysctl
==> default: recipe_name "default"
==> default: not_if { #code block }
==> default: end
==> default:
==> default: [2015-04-18T15:27:59+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2015-04-18T15:27:59+00:00] ERROR: Running exception handlers
==> default: [2015-04-18T15:27:59+00:00] ERROR: Exception handlers complete
==> default: [2015-04-18T15:27:59+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2015-04-18T15:27:59+00:00] ERROR: execute[reread-sysctl] (fb_sysctl::default line 59) had an error: NoMethodError: undefined method `sysctl_in_sync?' for FB::FBSysctl:Module
==> default: [2015-04-18T15:28:00+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment