You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
There is no code to use parameter 'event_publisher_pub_hwm' in saltstack-2016.3 #38674
Corerelates to code central or existential to SaltP4Priority 4bugbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
I'am researching the meaning of parameter event_publisher_pub_hwm and salt_event_pub_hwm,and I find them were set in DEFAULT_MASTER_OPTS and DEFAULT_MINION_OPTS in salt/config/init.py`, but no code to use them. Did these parameters not work?
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
Versions Report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
This is a little over my head so i'm going to bring in a couple more people who might be able to explain whether this is on purpose to remove these options and we need to update our docs or if we need to re-add this option.
ping @skizunov@DmitryKuzmenko or @cachedout do you know whether we need to add this option bck into the code or document that it is not longer availabe?
These options were used back in the day when the event system was implemented using ZMQ. The event system was moved to use TCP / tornado in PR #29294. After that PR was merged, these options were obsoleted. I would say it is safe to remove them. I apologize for not removing them in that PR.
@jackywu : When I say TCP / tornado, I really mean localhost sockets and tornado. It is similar to how the TCP transport works, but the connections are local and it is independent of the external TCP transport. Hence the event system will work regardless of which external transport (eg ZeroMQ or TCP) is in use.
As for the future of the external transports for Salt, (eg TCP vs ZeroMQ) I cannot speak to that since I do not work for SaltStack, I am an external contributor.
I can speak to the future of zeromq. As you can see in this issue #35724 the intention is to change to the tcp tranpsport as default in the future but NOT to get rid of zmq.
Also thanks @skizunov for chiming in here. Seems we just need to remove this from the docs. Thanks
@jackywu and @skizunov I have removed these two options from the config/__init__.py file in #38723. The only other references I could find to these options were in the man pages. The man pages are autogenerated every so often, so when those are regenerated again, those references will be removed as well.
Corerelates to code central or existential to SaltP4Priority 4bugbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
Activity
Ch3LL commentedon Jan 11, 2017
@jackywu looks like it was removed with this PR: #29294
This is a little over my head so i'm going to bring in a couple more people who might be able to explain whether this is on purpose to remove these options and we need to update our docs or if we need to re-add this option.
ping @skizunov @DmitryKuzmenko or @cachedout do you know whether we need to add this option bck into the code or document that it is not longer availabe?
skizunov commentedon Jan 11, 2017
These options were used back in the day when the event system was implemented using ZMQ. The event system was moved to use TCP / tornado in PR #29294. After that PR was merged, these options were obsoleted. I would say it is safe to remove them. I apologize for not removing them in that PR.
jackywu commentedon Jan 12, 2017
@skizunov , Will TCP transport be the recommended and default transport implementation in the future?Will the SaltStack community give up ZeroMQ ?
skizunov commentedon Jan 12, 2017
@jackywu : When I say TCP / tornado, I really mean localhost sockets and tornado. It is similar to how the TCP transport works, but the connections are local and it is independent of the external TCP transport. Hence the event system will work regardless of which external transport (eg ZeroMQ or TCP) is in use.
As for the future of the external transports for Salt, (eg TCP vs ZeroMQ) I cannot speak to that since I do not work for SaltStack, I am an external contributor.
Ch3LL commentedon Jan 12, 2017
I can speak to the future of zeromq. As you can see in this issue #35724 the intention is to change to the tcp tranpsport as default in the future but NOT to get rid of zmq.
Also thanks @skizunov for chiming in here. Seems we just need to remove this from the docs. Thanks
Remove "event_publisher_pub_hwm" and "salt_event_pub_hwm" from config…
rallytime commentedon Jan 13, 2017
@jackywu and @skizunov I have removed these two options from the
config/__init__.pyfile in #38723. The only other references I could find to these options were in the man pages. The man pages are autogenerated every so often, so when those are regenerated again, those references will be removed as well.szjur commentedon Oct 7, 2018
Hi guys,
How come the docs (https://docs.saltstack.com/en/latest/ref/configuration/master.html#salt-event-pub-hwm-and-event-publisher-pub-hwm) and the sample config still contain these 2 settings? I spent hours tweaking them trying to solve a problem only to realise they don't appear anywhere in the code indeed.
If these are just dummy settings doing nothing, shouldn't they disappear from the doc and the sample config?