Skip to content

[Bug]: cluster_retry responses log at ERROR on non-pillar RPC paths — follow-up to #70727 #70735

Closed

Description

@dwoz

Follow-up to #70727 / #70732

Alpha's PR #70732 (commit efed65a2bc4) added CLUSTER_NOT_READY_SUFFIX + _is_cluster_not_ready_message() in salt/channel/client.py and demoted the [ERROR] emitted on the pillar path when a clustered master responds with {"enc":"clear","load":{"cluster_retry":True}} during Raft catch-up. Alpha explicitly deferred the equivalent audit for non-pillar RPC callsites (syndic connect, publish channel, event bus, salt-call, salt-cp, etc.).

Scope of this follow-up

Audit every non-pillar callsite of _send_with_retry / _crypted_transfer / channel.send and apply the same demotion pattern using Alpha's helper, so the operator does not see an ERROR flood during cluster bringup from callers other than the pillar path.

Two client-side sentinel paths exist today:

  1. AsyncReqChannel.crypted_transfer_decode_dictentry fails fast on missing ret["key"] and raises AuthenticationError("...pillar request (cluster not ready)") — the suffix form Alpha's helper matches. Pillar path only — already fixed by Quiet cluster-bringup race between minion and clustered master (#70727) #70732.
  2. AsyncReqChannel._crypted_transfer retries internally until a deadline then raises AuthenticationError("master cluster is not ready") — a different, non-suffixed string. Not yet detected by Alpha's helper. Used by every non-pillar RPC path.

Expected delta

  • Extend _is_cluster_not_ready_message() to also match the deadline-exceeded message, OR normalize the deadline raise to append CLUSTER_NOT_READY_SUFFIX.
  • Apply Alpha's INFO-vs-ERROR demotion pattern to SyndicManager._connect_syndic — direct analog of MinionManager._connect_minion, inherits the same pillar __cause__ chain Alpha built.
  • Add unit test coverage parallel to Alpha's four new tests.

Dependency

PR #70732 must merge first (or this PR rebases on top of it).

Target branches: 3008.x (then merge-forward).

Activity

  1. added
    test:full
    on Nov 7, 2026
  2. added this to the Argon v3008.7 milestone on Nov 7, 2026
  3. added a commit that references this issue on Nov 10, 2026
    a40f817
  4. 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

    test:full

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions