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.

Change-Id: Ibbf4e92e1d0d4cd776d5d12bab38c4b21ba93b73
Closes-Bug: 1654151
  • Loading branch information
Ranjeet R committed Jan 20, 2017
1 parent 8685033 commit 873be37
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 873be37

Please sign in to comment.