No failovers with nvp plugin

This commit is contained in:
James Page 2013-07-08 13:33:58 +01:00
parent 374d2814ba
commit 5e1a973484

View File

@ -294,6 +294,11 @@ def get_ca_cert():
def cluster_departed():
if PLUGIN == 'nvp':
utils.juju_log('WARNING',
'Unable to re-assign agent resources'
' for failed nodes with nvp')
return
conf = get_keystone_conf()
if conf and cluster.eligible_leader(None):
qutils.reassign_agent_resources(conf)