diff --git a/ansible/roles/neutron/tasks/config.yml b/ansible/roles/neutron/tasks/config.yml index 258f7d383c..90ecf80ff9 100644 --- a/ansible/roles/neutron/tasks/config.yml +++ b/ansible/roles/neutron/tasks/config.yml @@ -4,7 +4,7 @@ when: inventory_hostname in groups['neutron-agents'] - name: Disabling reverse path filter on network node - sysctl: name="net.ipv4.{{ item }}.rp_filter" value=0 sysctl_set=yes + sysctl: name="net.ipv4.conf.{{ item }}.rp_filter" value=0 sysctl_set=yes with_items: - "all" - "default" diff --git a/ansible/roles/nova/tasks/config.yml b/ansible/roles/nova/tasks/config.yml index 33de6ec0f3..29f308e5df 100644 --- a/ansible/roles/nova/tasks/config.yml +++ b/ansible/roles/nova/tasks/config.yml @@ -1,13 +1,13 @@ --- - name: Disabling netfilter for bridges - sysctl: name="net.bridge-nf-call-{{ item }}" value=1 sysctl_set=yes + sysctl: name="net.bridge.bridge-nf-call-{{ item }}" value=1 sysctl_set=yes with_items: - "iptables" - "ip6tables" when: inventory_hostname in groups['compute'] - name: Disabling reverse path filter on compute node - sysctl: name="net.ipv4.{{ item }}.rp_filter" value=0 sysctl_set=yes + sysctl: name="net.ipv4.conf.{{ item }}.rp_filter" value=0 sysctl_set=yes with_items: - "all" - "default"