gehuwork

Untitled

Oct 23rd, 2015
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. [2015-10-23T13:24:42+00:00] INFO: Processing execute[/sbin/sysctl -p] action run (el-sysctl::default line 20)
  2.  
  3. ================================================================================
  4. Error executing action `run` on resource 'execute[/sbin/sysctl -p]'
  5. ================================================================================
  6.  
  7. Mixlib::ShellOut::ShellCommandFailed
  8. ------------------------------------
  9. Expected process to exit with [0], but received '255'
  10. ---- Begin output of /sbin/sysctl -p ----
  11. STDOUT:
  12. STDERR: error: "Read-only file system" setting key "net.ipv4.ip_forward"
  13. error: "Read-only file system" setting key "net.ipv4.conf.default.rp_filter"
  14. error: "Read-only file system" setting key "net.ipv4.conf.default.accept_source_route"
  15. error: "Read-only file system" setting key "kernel.sysrq"
  16. error: "Read-only file system" setting key "kernel.core_uses_pid"
  17. error: "net.ipv4.tcp_syncookies" is an unknown key
  18. error: "Read-only file system" setting key "kernel.msgmnb"
  19. error: "Read-only file system" setting key "kernel.msgmax"
  20. error: "Read-only file system" setting key "kernel.shmmax"
  21. error: "Read-only file system" setting key "kernel.shmall"
  22. ---- End output of /sbin/sysctl -p ----
  23. Ran /sbin/sysctl -p returned 255
  24.  
  25. Resource Declaration:
  26. ---------------------
  27. # In /var/chef-solo/cookbooks/el-sysctl/recipes/default.rb
  28.  
  29. 20: execute "/sbin/sysctl -p" do
  30. 21: action :nothing
  31. 22: end
  32. 23:
  33.  
  34. Compiled Resource:
  35. ------------------
  36. # Declared in /var/chef-solo/cookbooks/el-sysctl/recipes/default.rb:20:in `from_file'
  37.  
  38. execute("/sbin/sysctl -p") do
  39. recipe_name "default"
  40. returns 0
  41. command "/sbin/sysctl -p"
  42. retry_delay 2
  43. action [:nothing]
  44. cookbook_name :"el-sysctl"
  45. backup 5
  46. retries 0
  47. end
  48.  
  49. [2015-10-23T13:24:42+00:00] ERROR: Running exception handlers
  50. [2015-10-23T13:24:42+00:00] ERROR: Exception handlers complete
  51. [2015-10-23T13:24:43+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
  52. [2015-10-23T13:24:43+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[/sbin/sysctl -p] (el-sysctl::default line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '255'
  53. ---- Begin output of /sbin/sysctl -p ----
  54. STDOUT:
  55. STDERR: error: "Read-only file system" setting key "net.ipv4.ip_forward"
  56. error: "Read-only file system" setting key "net.ipv4.conf.default.rp_filter"
  57. error: "Read-only file system" setting key "net.ipv4.conf.default.accept_source_route"
  58. error: "Read-only file system" setting key "kernel.sysrq"
  59. error: "Read-only file system" setting key "kernel.core_uses_pid"
  60. error: "net.ipv4.tcp_syncookies" is an unknown key
  61. error: "Read-only file system" setting key "kernel.msgmnb"
  62. error: "Read-only file system" setting key "kernel.msgmax"
  63. error: "Read-only file system" setting key "kernel.shmmax"
  64. error: "Read-only file system" setting key "kernel.shmall"
  65. ---- End output of /sbin/sysctl -p ----
  66. Ran /sbin/sysctl -p returned 255
  67. SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
  68. The command '/bin/sh -c mkdir -p /var/config && ln -s /var/chef-solo/config/chef_config /var/config/chef_config.rb && chef-solo -c /var/chef-solo/soloconf.rb -j /var/chef-solo/runlist.json' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment