From: Michael Polenchuk Date: Thu, 20 Sep 2018 08:23:51 +0000 (+0400) Subject: Enable back IPv6 for OVN based scenario X-Git-Tag: opnfv-8.0.0~151 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F62625%2F1;p=fuel.git Enable back IPv6 for OVN based scenario IPv6 has been disabled recently by default to reduce the attack surface of the system, however OVN/Geneve kernel-based tunnels require it to function properly. [https://www.mail-archive.com/ovs-discuss@openvswitch.org/msg03639.html] Change-Id: Ife86dfad77e7899bd28f83a49c361cd8a623597c Signed-off-by: Michael Polenchuk --- diff --git a/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/init.yml b/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/init.yml index 737af52e3..ec0d36cf2 100644 --- a/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/init.yml +++ b/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/init.yml @@ -11,3 +11,10 @@ classes: parameters: _param: neutron_tenant_network_types: "geneve,flat" + linux: + system: + kernel: + ~boot_options: + - ipv6.disable=0 + - spectre_v2=off + - nopti diff --git a/mcp/reclass/classes/cluster/mcp-ovn-noha/init.yml b/mcp/reclass/classes/cluster/mcp-ovn-noha/init.yml index 82f4632bd..49e7e46eb 100644 --- a/mcp/reclass/classes/cluster/mcp-ovn-noha/init.yml +++ b/mcp/reclass/classes/cluster/mcp-ovn-noha/init.yml @@ -10,3 +10,9 @@ classes: - cluster.mcp-common-noha.init_options - cluster.mcp-ovn-noha.infra - cluster.mcp-ovn-noha.openstack +parameters: + linux: + system: + kernel: + ~boot_options: + - ipv6.disable=0