CONFIG_NEUTRON_LBAAS_HOSTS should be empty in allinone

Change-Id: Ia087636f2556a67b735c0ec255d6e3bf7f0ca57d
Fixes: rhbz#1040585
This commit is contained in:
Martin Magr
2013-12-11 17:45:44 +01:00
parent 9abf6670e6
commit 7e1453fa73

View File

@@ -676,6 +676,9 @@ def single_step_install(options):
hosts = [host.strip() for host in hosts.split(',')]
for group in controller.getAllGroups():
for param in group.parameters.itervalues():
# we don't need magic in case CONFIG_NEUTRON_LBAAS_HOSTS
if param.CONF_NAME == 'CONFIG_NEUTRON_LBAAS_HOSTS':
continue
# and directives that contain _HOST are set to the controller node
if param.CONF_NAME.find("_HOST") != -1:
overrides[param.CONF_NAME] = hosts[0]