CONFIG_NEUTRON_LBAAS_HOSTS should be empty in allinone
Change-Id: Ia087636f2556a67b735c0ec255d6e3bf7f0ca57d Fixes: rhbz#1040585
This commit is contained in:
		@@ -676,6 +676,9 @@ def single_step_install(options):
 | 
				
			|||||||
    hosts = [host.strip() for host in hosts.split(',')]
 | 
					    hosts = [host.strip() for host in hosts.split(',')]
 | 
				
			||||||
    for group in controller.getAllGroups():
 | 
					    for group in controller.getAllGroups():
 | 
				
			||||||
        for param in group.parameters.itervalues():
 | 
					        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
 | 
					            # and directives that contain _HOST are set to the controller node
 | 
				
			||||||
            if param.CONF_NAME.find("_HOST") != -1:
 | 
					            if param.CONF_NAME.find("_HOST") != -1:
 | 
				
			||||||
                overrides[param.CONF_NAME] = hosts[0]
 | 
					                overrides[param.CONF_NAME] = hosts[0]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user