Fixed firewall protocols
Resource provider for firewall does not accept array as value for parameter 'proto'. This patch is fixing it. Change-Id: Iba55657f35a5c79149b22873e8eb753b71b6ceda Fixes: rhbz#1100993
This commit is contained in:
@@ -295,9 +295,9 @@ def create_storage_manifest(config, messages):
|
||||
hosts |= split_hosts(config['CONFIG_COMPUTE_HOSTS'])
|
||||
|
||||
config['FIREWALL_SERVICE_NAME'] = "swift storage and rsync"
|
||||
config['FIREWALL_PORTS'] = "'6000', '6001', '6002', '873'"
|
||||
config['FIREWALL_PORTS'] = "['6000', '6001', '6002', '873']"
|
||||
config['FIREWALL_CHAIN'] = "INPUT"
|
||||
|
||||
config['FIREWALL_PROTOCOL'] = 'tcp'
|
||||
for host in hosts:
|
||||
config['FIREWALL_ALLOWED'] = "'%s'" % host
|
||||
config['FIREWALL_SERVICE_ID'] = "swift_storage_and_rsync_%s" % host
|
||||
|
||||
Reference in New Issue
Block a user