From ffffbb301fc9a3a89edf7f6b71d3fb39a5ccd0db Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Fri, 19 Oct 2018 15:36:02 +0400 Subject: Enable IPv6 on entire cluster by default IPv6 has been enabled back by commenting out the cis-3-3-3 yaml/class source in linux service reclass. Change-Id: Ia8f4e2ddbb98f9316e6ce5136badbb14ecb277c5 Signed-off-by: Michael Polenchuk --- .../docker/0002-OPNFV-package-installation-Ubuntu-user.patch | 2 +- mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2 | 5 ----- mcp/reclass/classes/cluster/mcp-common-ha/openstack_proxy.yml.j2 | 4 ---- mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/init.yml | 7 ------- mcp/reclass/classes/cluster/mcp-ovn-noha/init.yml | 6 ------ mcp/salt-formulas/salt-formula-linux | 2 +- 6 files changed, 2 insertions(+), 24 deletions(-) diff --git a/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch b/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch index 07694c1ac..00650c150 100644 --- a/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch +++ b/mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch @@ -33,7 +33,7 @@ index 2c75586..d7d4c49 100644 ARG RECLASS_BASE="/srv/salt/reclass" ENV RECLASS_BASE $RECLASS_BASE - RUN echo "Layer python/salt module prerequisites, formulas" \ -+ RUN echo "Layer python/salt module prerequisites, formulas (26 Sep 2018)" \ ++ RUN echo "Layer python/salt module prerequisites, formulas (25 Oct 2018)" \ && mkdir -p /srv/salt \ && curl -sSqL https://raw.githubusercontent.com/salt-formulas/salt-formulas-scripts/master/formula-fetch.sh -o /srv/salt/formula-fetch.sh \ && bash -c 'source /srv/salt/formula-fetch.sh && setupPyEnv && fetchAll' \ diff --git a/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2 b/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2 index e16453e03..fb45b13fe 100644 --- a/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2 +++ b/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2 @@ -10,7 +10,6 @@ # NOTE: pod_config is generated and transferred into its final location on # cfg01 only during deployment to prevent leaking sensitive data classes: - - system.linux.system.single.simple - system.maas.region.single - service.maas.cluster.single - cluster.all-mcp-arch-common.opnfv.lab_proxy_pdf @@ -107,10 +106,6 @@ parameters: cluster: saltstack_repo_xenial: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/ xenial main" linux: - system: - kernel: - ~boot_options: - - ipv6.disable=0 network: interface: mcpcontrol_interface: diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_proxy.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_proxy.yml.j2 index 759bdc1ba..c23b50993 100644 --- a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_proxy.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_proxy.yml.j2 @@ -8,7 +8,6 @@ --- classes: - system.linux.system.repo.mcp.mirror.v1.openstack - - system.linux.system.single.simple - system.nginx.server.single - system.nginx.server.proxy.openstack_api - system.nginx.server.proxy.openstack_vnc @@ -40,9 +39,6 @@ parameters: package: libapache2-mod-wsgi: version: latest - kernel: - ~boot_options: - - ipv6.disable=0 {%- if not conf.MCP_VCP %} nginx: server: 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 ec0d36cf2..737af52e3 100644 --- a/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/init.yml +++ b/mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/init.yml @@ -11,10 +11,3 @@ 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 49e7e46eb..82f4632bd 100644 --- a/mcp/reclass/classes/cluster/mcp-ovn-noha/init.yml +++ b/mcp/reclass/classes/cluster/mcp-ovn-noha/init.yml @@ -10,9 +10,3 @@ 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 diff --git a/mcp/salt-formulas/salt-formula-linux b/mcp/salt-formulas/salt-formula-linux index cf1b5b322..a0d8b2d8b 160000 --- a/mcp/salt-formulas/salt-formula-linux +++ b/mcp/salt-formulas/salt-formula-linux @@ -1 +1 @@ -Subproject commit cf1b5b322a077dc8d6f9bf5b36a7a0a71a2b3a06 +Subproject commit a0d8b2d8b108bff351d6ed60ad427dcbdccc57de -- cgit 1.2.3-korg