From ea3e08bfe63970ac13738d995a86fd41337ec900 Mon Sep 17 00:00:00 2001
From: Delia Popescu <delia.popescu@enea.com>
Date: Tue, 16 Oct 2018 14:45:21 +0300
Subject: Enable IPv6 on compute nodes for noha and ha

Change-Id: I46c89e3005aefea8ccbeb4779efe513bf2be84e8
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
(cherry picked from commit d730e4b011a5770ef29655028638b490fe34a339)
---
 mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml   | 4 +++-
 mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

(limited to 'mcp/reclass')

diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml
index c7338bb67..b9bf6aac6 100644
--- a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml
+++ b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml
@@ -8,6 +8,7 @@
 ---
 classes:
   - system.linux.system.repo.mcp.mirror.v1.openstack
+  - system.linux.system.single.simple
   - system.glusterfs.client.cluster
   - system.nova.compute.cluster
   - system.nova.compute.nfv.hugepages
@@ -66,9 +67,10 @@ parameters:
         sysctl:
           vm.dirty_ratio: 10
           vm.dirty_background_ratio: 5
-        boot_options:
+        ~boot_options:
           - spectre_v2=off
           - nopti
+          - ipv6.disable=0
   neutron:
     gateway:
       vlan_aware_vms: true
diff --git a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml
index 0409974ba..efdc2ffb1 100644
--- a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml
+++ b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml
@@ -8,6 +8,7 @@
 ---
 classes:
   - service.nfs.client
+  - system.linux.system.single.simple
   - system.nova.compute.single
   - service.cinder.volume.single
   - system.cinder.volume.backend.lvm
@@ -84,3 +85,5 @@ parameters:
         sysctl:
           vm.dirty_ratio: 10
           vm.dirty_background_ratio: 5
+        ~boot_options:
+          - ipv6.disable=0
-- 
cgit