Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2015-05-27T01:22:21+00:00] WARN: Current directory[/etc/apache2/conf.d]: /var/cache/chef/cookbooks/_deploy/recipes/deployClient.rb:4:in `block in from_file'
- Converging 1202 resources
- Recipe: _discovery::default
- * template[/etc/resolv.conf] action create[2015-05-27T01:22:21+00:00] INFO: Processing template[/etc/resolv.conf] action create (_discovery::default line 46)
- (up to date)
- * template[/etc/resolvconf/resolv.conf.d/original] action create[2015-05-27T01:22:21+00:00] INFO: Processing template[/etc/resolvconf/resolv.conf.d/original] action create (_discovery::default line 46)
- (up to date)
- * execute[hostsFileEntry] action run[2015-05-27T01:22:21+00:00] INFO: Processing execute[hostsFileEntry] action run (_discovery::default line 53)
- ================================================================================
- Error executing action `run` on resource 'execute[hostsFileEntry]'
- ================================================================================
- Errno::ENOMEM
- -------------
- Cannot allocate memory - fork(2)
- Resource Declaration:
- ---------------------
- # In /var/cache/chef/cookbooks/_discovery/recipes/default.rb
- 53: execute "hostsFileEntry" do
- 54: command "printf \"%s\t%s\" #{node['ipaddress']} #{node['hostname']} >> /etc/hosts"
- 55: not_if "grep -q #{node['hostname']} /etc/hosts"
- 56: action :run
- 57: end
- 58:
- Compiled Resource:
- ------------------
- # Declared in /var/cache/chef/cookbooks/_discovery/recipes/default.rb:53:in `from_file'
- execute("hostsFileEntry") do
- action [:run]
- retries 0
- retry_delay 2
- guard_interpreter :default
- command "printf \"%s\t%s\" 10.8.36.84 dev-inez >> /etc/hosts"
- backup 5
- returns 0
- cookbook_name "_discovery"
- recipe_name "default"
- not_if "grep -q dev-inez /etc/hosts"
- end
- [2015-05-27T01:22:21+00:00] INFO: Running queued delayed notifications before re-raising exception
- Running handlers:
- [2015-05-27T01:22:21+00:00] ERROR: Running exception handlers
- - ChefReport::ProcessComplete
- Running handlers complete
- [2015-05-27T01:22:21+00:00] ERROR: Exception handlers complete
- [2015-05-27T01:22:21+00:00] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
- Chef Client failed. 0 resources updated in 14.006761209 seconds
- [2015-05-27T01:22:22+00:00] ERROR: execute[hostsFileEntry] (_discovery::default line 53) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
- [2015-05-27T01:22:22+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
- dev-inez:/etc/disabled inez
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement