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: Ib5b4198d3e31ca59d27c4fdeea8ce2ed7dd2d2fb
Closes-Bug: 1654151
  • Loading branch information
Ranjeet R committed Jan 7, 2017
1 parent 48917e0 commit 22c5de2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fabfile/tasks/ha.py
Expand Up @@ -1055,6 +1055,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 22c5de2

Please sign in to comment.