Skip to content

Commit

Permalink
Partial-Bug: #1413364
Browse files Browse the repository at this point in the history
On multi-interface,
Allowed hosts should have mgmt ip list in addtion to control data ip
list, as in non-ha setup ,some of the service seems to connect with mgmt
IP and there is no mysql grant.

Change-Id: I17c2e2ef79890e032bb9a9b3372d2aa9d988d6bf
  • Loading branch information
thilakrajs committed Feb 26, 2015
1 parent 6e735cf commit 93d7021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server_mgr_puppet.py
Expand Up @@ -2067,7 +2067,7 @@ def build_openstack_hiera_file(

if openstack_ip != None and openstack_ip != "":
mysql_allowed_hosts.append(openstack_ip)
mysql_allowed_hosts = mysql_allowed_hosts + list(set(os_ip_list + config_ip_list ))
mysql_allowed_hosts = mysql_allowed_hosts + list(set(os_ip_list + config_ip_list + role_ips_dict['config'] + role_ips_dict['openstack'] ))

if openstack_ip is None or openstack_ip == '':
if self_ip in role_ips_dict['openstack']:
Expand Down

0 comments on commit 93d7021

Please sign in to comment.