Skip to content

Commit

Permalink
Fixes Openstack HA install failures when configured on different node…
Browse files Browse the repository at this point in the history
…s from config nodes : Bug #1521511

Change-Id: I0be5fc33e1eca36b31149e6589773f036f4950b2
  • Loading branch information
vkolli committed Feb 12, 2016
1 parent bf2d8a4 commit b2d496b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fabfile/tasks/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1309,12 +1309,12 @@ def pre_check():
exit(1)
if (len(env.roledefs['openstack']) > 1 and
set(env.roledefs['openstack']) == set(env.roledefs['cfgm']) and
get_openstack_internal_vip() != get_openstack_internal_vip()):
get_openstack_internal_vip() != get_contrail_internal_vip()):
print "\nERROR: \n\tOpenstack and cfgm nodes are same, No need for contrail_internal_vip to be specified in testbed.py."
exit(1)
if (len(env.roledefs['openstack']) > 1 and
set(env.roledefs['openstack']) != set(env.roledefs['cfgm']) and
get_openstack_internal_vip() == get_openstack_internal_vip()):
get_openstack_internal_vip() == get_contrail_internal_vip()):
print "\nERROR: \n\tOpenstack and cfgm nodes are different, Need to specify contrail_internal_vip testbed.py."
exit(1)
else:
Expand Down

0 comments on commit b2d496b

Please sign in to comment.