salt icon indicating copy to clipboard operation
salt copied to clipboard

Multimaster fails when using TCP transport mechanism

Open justinta opened this issue 11 years ago • 6 comments

When using the TCP transport mechanism with multimaster, the minion tracebacks.

I added tcp to the minion and master configs

transport: tcp

This works when not using multimaster.

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/tornado/ioloop.py", line 567, in _run_callback
    ret = callback()
  File "/usr/lib64/python2.7/site-packages/tornado/stack_context.py", line 274, in null_wrapper
    return fn(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/tornado/ioloop.py", line 573, in <lambda>
    self.add_future(ret, lambda f: f.result())
  File "/usr/lib64/python2.7/site-packages/tornado/concurrent.py", line 208, in result
    raise_exc_info(self._exc_info)
  File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 810, in run
    yielded = self.gen.throw(*sys.exc_info())
  File "/usr/lib/python2.7/site-packages/salt/minion.py", line 527, in _connect_minion
    if auth_wait < self.max_auth_wait:
AttributeError: 'MultiMinion' object has no attribute 'max_auth_wait'
2015-07-28 17:10:40,681 [salt.minion      ][ERROR   ][14871] Error while bringing up minion for multi-master. Is master at 45.33.14.39 responding?
2015-07-28 17:10:40,681 [tornado.application][ERROR   ][14871] Exception in callback <functools.partial object at 0x1d87b50>

justinta avatar Jul 28 '15 17:07 justinta

This has nothing to do with Tornado. Multi-master itself is broken when an upstream master can't be contacted.

cachedout avatar Jul 30 '15 18:07 cachedout

@jacksontj It looks like we just forgot to define a var here. Did you have something explicit in mind or shall we just try a few times?

cachedout avatar Jul 30 '15 18:07 cachedout

Fix in #25922 ;) Really need to get those topology tests finished up ;) I know someone was working on that... can't remember for the life of me.

jacksontj avatar Jul 31 '15 16:07 jacksontj

I know the QA guys have that on their list but I'm not sure where they are with it right now.

cachedout avatar Jul 31 '15 16:07 cachedout

Yea, I was chatting with someone about it over IRC-- so they are actively working on it :)

On Fri, Jul 31, 2015 at 9:12 AM, Mike Place [email protected] wrote:

I know the QA guys have that on their list but I'm not sure where they are with it right now.

— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/25795#issuecomment-126736986.

jacksontj avatar Jul 31 '15 16:07 jacksontj

Fix merged. Closing issue.

cachedout avatar Aug 03 '15 20:08 cachedout