Revert "Only perform fencing duties on primary"

This reverts commit 464c69aac6.

Actually, yea, this made sense - if the primary fails, it can't
fence itself.
This commit is contained in:
Joshua Boniface 2019-06-25 12:36:48 -04:00
parent 85a5a8a0c9
commit 75d0e7f989
1 changed files with 28 additions and 29 deletions

View File

@ -1120,8 +1120,7 @@ def update_zookeeper():
# Close the Libvirt connection # Close the Libvirt connection
lv_conn.close() lv_conn.close()
# Look for dead nodes and fence them (primary only) # Look for dead nodes and fence them
if this_node.router_state == 'primary'
if debug: if debug:
print("Look for dead nodes and fence them") print("Look for dead nodes and fence them")
if config['daemon_mode'] == 'coordinator': if config['daemon_mode'] == 'coordinator':