Closed oeuftete closed 6 years ago
just to be clear what transport are you using?
Could you possibly be running into: https://github.com/saltstack/salt/issues/38367 ?
I'm using the default transport, so I guess that's zeromq
(not zmq
as I said in the summary).
It does sound like I'm running into #38367, though I never would have found that myself... thanks! If I'm reading that one right, the fact that include_localhost=True
is in the argument list in the manager runner still (see https://github.com/saltstack/salt/blob/v2017.7.1/salt/runners/manage.py#L250) suggests that it is almost certainly the same issue.
I can confirm that #38367 is the problem I'm seeing. I have a branch I'll try to get in order for a pull request: https://github.com/oeuftete/salt/tree/fix-manage-runner-presence.
As far as I'm concerned this can be closed, as it was fixed by #43994.
Description of Issue/Question
manage.present
,manage.alived
, etc. (the docs are unhelpful on the distinctions, #22386) continue to report the presence of a minion that islost
. I believe this is a distinct issue from #33466, where from the best I can there was never asalt/presence/change
event for thelost
minion? In any case, that issue appears to be marked as fixed in 2017.7 withzmq
transport, which is what I'm using.Setup
A very vanilla
master
configuration withpresence_events: True
andlog_level: debug
. Four minions (manager[12]
,worker[12]
) with pre-seeded keys. All brought up with vagrant.Steps to Reproduce Issue
Start the hosts. Once everything is up, remove a minion instance with prejudice. (I used
vagrant halt worker2
.)Looking at the
salt/presence
events on the master:Versions Report