aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2019-04-03 15:33:26 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2019-04-03 15:47:06 +0400
commit17fcc05459d126323db699db25dd6a60934ad1cf (patch)
tree9787b8372938d8100f70f37801dca46c03a138bd
parent3c83de3afaebc2deb14deafdc99e999dc33f9340 (diff)
[noha] Deploy dhcp/metadata agents on computes
Sometimes instance doesn't get ip address from dhcp server, which resides only on gateway node, so run additional dhcp/metadata agents on compute nodes to handle tenant networks in place. Change-Id: If1d74af665cf8db64b09f846fac7192f76abdb25 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
-rw-r--r--mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml.j22
-rw-r--r--mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j24
2 files changed, 6 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml.j2 b/mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml.j2
index 25fc82624..63eb6e250 100644
--- a/mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml.j2
@@ -16,6 +16,8 @@ classes:
parameters:
neutron:
compute:
+ dhcp_agent_enabled: true
+ metadata_agent_enabled: true
backend:
tenant_network_types: ${_param:neutron_tenant_network_types}
linux:
diff --git a/mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j2 b/mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j2
index 2707c7f5e..54835ac4f 100644
--- a/mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j2
@@ -15,6 +15,10 @@ classes:
- cluster.mcp-common-noha.openstack_compute
- cluster.mcp-ovs-noha
parameters:
+ neutron:
+ compute:
+ dhcp_agent_enabled: true
+ metadata_agent_enabled: true
linux:
network:
interface: