- From: Mike <
>
- To:
- Subject: [chef] Re: Will will not work with a command
- Date: Wed, 10 Oct 2012 07:13:55 -0400
This isn't a chef problem, it's a module problem.
You are probably missing nf_conntrack module. (nf = netfilter)
BTW - search engines are really good at finding these answers.
On Wed, Oct 10, 2012 at 6:36 AM, David Montgomery
<
>
wrote:
>
Hi,
>
>
I am havihng a severe issue with chef executing a command.
>
>
>
If I manually execute this command after fail the I can boot strap.
>
But even in a prior recipe I execute this command
>
>
execute "thes" do
>
command "echo 'ip_conntrack' >> /etc/modules"
>
action :run
>
end
>
>
>
chef fails with this error. When I load a template and execute sysctl
>
-p /etc/sysctl.conf
>
>
---- Begin output of sysctl -p /etc/sysctl.conf ----
>
STDOUT: net.ipv4.tcp_tw_recycle = 0
>
net.ipv4.tcp_tw_reuse = 0
>
net.ipv4.tcp_orphan_retries = 1
>
net.ipv4.tcp_fin_timeout = 25
>
net.ipv4.tcp_max_orphans = 8192
>
net.ipv4.ip_local_port_range = 32768 61000
>
STDERR: error: "net.ipv4.netfilter.ip_conntrack_max" is an unknown key
>
---- End output of sysctl -p /etc/sysctl.conf ----
>
Ran sysctl -p /etc/sysctl.conf returned 255
>
^Z
>
[1]+ Stopped tail -f chef_bootstrap.out
>
>
From the command line I execute echo 'ip_conntrack' >> /etc/modules
>
>
Then I rerun and it works.
>
>
>
Why will not chef work?
Archive powered by MHonArc 2.6.16.