[Keystone][Firewall] Open Keystone port for ALL

Fixes: bz#1041560

Change-Id: Id7dadfcab58263e80ead286973c03bf9ef5c2f88
This commit is contained in:
Francesco Vollero
2014-01-09 18:09:57 +01:00
parent 0f2298e473
commit f2374aab64

View File

@@ -121,12 +121,7 @@ def initSequences(controller):
def create_manifest(config):
manifestfile = "%s_keystone.pp" % config['CONFIG_KEYSTONE_HOST']
manifestdata = getManifestTemplate("keystone.pp")
hosts = set()
for key, value in host_iter(config):
if (key.find("MYSQL") != -1) or (key.find("QPID") != -1):
continue
hosts.add(value.strip())
config['FIREWALL_ALLOWED'] = ",".join(["'%s'" % i for i in hosts])
config['FIREWALL_ALLOWED'] = "'ALL'"
config['FIREWALL_SERVICE_NAME'] = "keystone"
config['FIREWALL_PORTS'] = "'5000', '35357'"
manifestdata += getManifestTemplate("firewall.pp")