Advertisement
Guest User

Untitled

a guest
May 26th, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. [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'
  2. Converging 1202 resources
  3. Recipe: _discovery::default
  4. * 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)
  5. (up to date)
  6. * 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)
  7. (up to date)
  8. * execute[hostsFileEntry] action run[2015-05-27T01:22:21+00:00] INFO: Processing execute[hostsFileEntry] action run (_discovery::default line 53)
  9.  
  10.  
  11. ================================================================================
  12. Error executing action `run` on resource 'execute[hostsFileEntry]'
  13. ================================================================================
  14.  
  15. Errno::ENOMEM
  16. -------------
  17. Cannot allocate memory - fork(2)
  18.  
  19. Resource Declaration:
  20. ---------------------
  21. # In /var/cache/chef/cookbooks/_discovery/recipes/default.rb
  22.  
  23. 53: execute "hostsFileEntry" do
  24. 54: command "printf \"%s\t%s\" #{node['ipaddress']} #{node['hostname']} >> /etc/hosts"
  25. 55: not_if "grep -q #{node['hostname']} /etc/hosts"
  26. 56: action :run
  27. 57: end
  28. 58:
  29.  
  30. Compiled Resource:
  31. ------------------
  32. # Declared in /var/cache/chef/cookbooks/_discovery/recipes/default.rb:53:in `from_file'
  33.  
  34. execute("hostsFileEntry") do
  35. action [:run]
  36. retries 0
  37. retry_delay 2
  38. guard_interpreter :default
  39. command "printf \"%s\t%s\" 10.8.36.84 dev-inez >> /etc/hosts"
  40. backup 5
  41. returns 0
  42. cookbook_name "_discovery"
  43. recipe_name "default"
  44. not_if "grep -q dev-inez /etc/hosts"
  45. end
  46.  
  47. [2015-05-27T01:22:21+00:00] INFO: Running queued delayed notifications before re-raising exception
  48.  
  49. Running handlers:
  50. [2015-05-27T01:22:21+00:00] ERROR: Running exception handlers
  51. - ChefReport::ProcessComplete
  52. Running handlers complete
  53. [2015-05-27T01:22:21+00:00] ERROR: Exception handlers complete
  54. [2015-05-27T01:22:21+00:00] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
  55. Chef Client failed. 0 resources updated in 14.006761209 seconds
  56. [2015-05-27T01:22:22+00:00] ERROR: execute[hostsFileEntry] (_discovery::default line 53) had an error: Errno::ENOMEM: Cannot allocate memory - fork(2)
  57. [2015-05-27T01:22:22+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
  58. dev-inez:/etc/disabled inez
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement