mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Continue if master in multi-master is down
This commit is contained in:
parent
72214d9a5c
commit
7572012313
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user