Continue if master in multi-master is down

This commit is contained in:
Mike Place 2014-08-11 15:28:03 -06:00
parent 72214d9a5c
commit 7572012313

View File

@ -467,7 +467,7 @@ class MultiMinion(MinionBase):
try: try:
minions.append(Minion(s_opts, 5, False)) minions.append(Minion(s_opts, 5, False))
except SaltClientError as exc: except SaltClientError as exc:
log.error('Error while bring up minion for multi-master. Is master responding?') log.error('Error while bringing up minion for multi-master. Is master at {0} responding?'.format(master))
raise raise
return minions return minions
@ -1349,7 +1349,7 @@ class Minion(MinionBase):
if creds == 'full': if creds == 'full':
return creds return creds
elif creds != 'retry': elif creds != 'retry':
log.info('Authentication with master successful!') log.info('Authentication with master at {0} successful!'.format(self.opts['master_ip']))
break break
log.info('Waiting for minion key to be accepted by the master.') log.info('Waiting for minion key to be accepted by the master.')
if acceptance_wait_time: if acceptance_wait_time: