[noha] Deploy dhcp/metadata agents on computes 72/67472/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 3 Apr 2019 11:33:26 +0000 (15:33 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 3 Apr 2019 11:47:06 +0000 (15:47 +0400)
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>
mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml.j2
mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j2

index 25fc826..63eb6e2 100644 (file)
@@ -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:
index 2707c7f..54835ac 100644 (file)
@@ -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: