Skip to content

[Bug]: Salt startup log lines mis-categorized at CRITICAL/WARNING #70728

Closed

Description

@dwoz

Description

Several log statements fired during normal salt-minion / salt-master cluster startup are mis-leveled, which trips up operators reviewing logs and alert pipelines that watch CRITICAL/WARNING lines.

The clearest offender is a log.critical() call that reports an auto-corrected configuration -- which is helpful behavior, not a critical failure:

[CRITICAL] 'master_type' set to 'failover' but 'retry_dns' is not 0. Setting 'retry_dns' to 0 to failover to the next master on DNS errors.

Additional startup-path warnings fire during normal operation (DNS updates, peer discovery before cluster is fully converged) and should be INFO:

  • [WARNING] Master ip address changed from X to Y (salt/minion.py) -- fires on every DNS failover, which is the exact purpose of master_alive_interval.
  • [WARNING] Peer key missing <path> (salt/channel/server.py) -- fires on every cluster peer that has not yet synced its key; the next line of code schedules the fetch, so this is an expected transient state, not a warning.

Scope / fix

Lower log levels on the above message sites to match actionability:

Message Current Proposed
'master_type' set to 'failover' but 'retry_dns' is not 0 CRITICAL INFO
Master ip address changed from %s to %s WARNING INFO
Peer key missing %r WARNING INFO

Message text is preserved; only levels change. Deprecation warnings (e.g. master_shuffle) stay at WARNING. Genuine cluster-join integrity failures (Cluster join signature invalid., peer public keys do not match, token does not not match) stay at WARNING.

Versions Report

versions report
Salt Version:
          Salt: 3008.x (branch)

Activity

  1. added
    bug
    on Nov 7, 2026
  2. added this to the Argon v3008.7 milestone on Nov 7, 2026
  3. dwoz commented on Nov 10, 2026

    @dwoz
    ContributorAuthor

    Resolved by #70756 (merge commit a40f817 on 3008.x).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions