Make sure agent config gets done on api hosts
Change-Id: I0bfec0ba88c81f458052dfa2d5c70127c6ba6cea
This commit is contained in:
parent
98139fa406
commit
a8d9b26935
@ -414,7 +414,7 @@ def get_values(val):
|
||||
return [x.strip() for x in val.split(',')] if val else []
|
||||
|
||||
def createL2AgentManifests(config):
|
||||
global compute_hosts, dhcp_host, l3_hosts
|
||||
global api_hosts, compute_hosts, dhcp_host, l3_hosts
|
||||
|
||||
if controller.CONF["CONFIG_NEUTRON_L2_PLUGIN"] == "openvswitch":
|
||||
host_var = 'CONFIG_NEUTRON_OVS_HOST'
|
||||
@ -440,7 +440,7 @@ def createL2AgentManifests(config):
|
||||
|
||||
# Install l2 agents on every compute host in addition to any hosts listed
|
||||
# specifically for the l2 agent
|
||||
for host in compute_hosts | dhcp_hosts | l3_hosts:
|
||||
for host in api_hosts | compute_hosts | dhcp_hosts | l3_hosts:
|
||||
controller.CONF[host_var] = host
|
||||
manifestfile = "%s_neutron.pp" % (host,)
|
||||
manifestdata = getManifestTemplate(template_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user