Skip to content

Commit

Permalink
Fixes: fab join_cluster aborts for adding redhat node to ha cluster
Browse files Browse the repository at this point in the history
Enabling join_cluster if the contrail_internal_vip is present in testbed.
Closes-Bug: 1654151

Change-Id: Iee240b65765d87e09cd5579a38a448c7dd201cf3
  • Loading branch information
Ranjeet R committed Jan 9, 2017
1 parent de0adfd commit 79a59ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fabfile/tasks/ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ def join_ha_cluster(new_ctrl_host):
execute('increase_limits_node', new_ctrl_host)
execute('join_orchestrator', new_ctrl_host)

if get_contrail_internal_vip():
if new_ctrl_host in env.roledefs['database']:
execute('setup_database_node', new_ctrl_host)
execute('fix_zookeeper_config')
Expand Down

0 comments on commit 79a59ab

Please sign in to comment.