Skip to content

There is no code to use parameter 'event_publisher_pub_hwm' in saltstack-2016.3 #38674

Closed

Description

@jackywu

Description of Issue/Question

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.)

saltstack-2016.3 , even saltstack-2016.11

Activity

  1. Ch3LL commented on Jan 11, 2017

    @Ch3LL
    Contributor

    @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?

  2. added
    pending-discussion
    on Jan 11, 2017
  3. added this to the Blocked milestone on Jan 11, 2017
  4. skizunov commented on Jan 11, 2017

    @skizunov
    Contributor

    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.

  5. jackywu commented on Jan 12, 2017

    @jackywu
    ContributorAuthor

    @skizunov , Will TCP transport be the recommended and default transport implementation in the future?Will the SaltStack community give up ZeroMQ ?

  6. skizunov commented on Jan 12, 2017

    @skizunov
    Contributor

    @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.

  7. Ch3LL commented on Jan 12, 2017

    @Ch3LL
    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

  8. added
    bug
    Core
    documentation
    severity-low
    P4
    and removed
    pending-discussion
    on Jan 12, 2017
  9. modified the milestones: Approved, Blocked on Jan 12, 2017
  10. added a commit that references this issue on Jan 13, 2017
    706c885
  11. rallytime commented on Jan 13, 2017

    @rallytime
    Contributor

    @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.

  12. self-assigned this
    on Jan 13, 2017
  13. added
    fixed-pls-verify
    on Jan 13, 2017
  14. modified the milestones: Nitrogen 2, Approved on Jan 13, 2017
  15. szjur commented on Oct 7, 2018

    @szjur

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CoreP4bugdocumentationfixed-pls-verifyseverity-low

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions