mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #15526 from basepi/fp-15378
Forward-port #15378 to 2014.7
This commit is contained in:
commit
47cdefa33b
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,6 +39,7 @@ htmlcov/
|
||||
/.pydevproject
|
||||
/.idea
|
||||
/.ropeproject
|
||||
.ropeproject
|
||||
/*.iml
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
|
@ -469,6 +469,10 @@ class MultiMinion(MinionBase):
|
||||
minions.append(Minion(s_opts, 5, False))
|
||||
except SaltClientError as exc:
|
||||
log.error('Error while bringing up minion for multi-master. Is master at {0} responding?'.format(master))
|
||||
if len(minions) == 0:
|
||||
err = 'Error while bringing up minion for multi-master. All configured masters [{0}] are not responding!!!'.format(", ".join(map(str, set(self.opts['master']))))
|
||||
log.error(err)
|
||||
raise SaltClientError(err)
|
||||
return minions
|
||||
|
||||
def minions(self):
|
||||
|
Loading…
Reference in New Issue
Block a user