Merge pull request #15526 from basepi/fp-15378

Forward-port #15378 to 2014.7
This commit is contained in:
Thomas S Hatch 2014-09-04 15:04:29 -06:00
commit 47cdefa33b
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -39,6 +39,7 @@ htmlcov/
/.pydevproject
/.idea
/.ropeproject
.ropeproject
/*.iml
*.sublime-project
*.sublime-workspace

View File

@ -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):