Skip to content

[Bug]: Minion is warning about unclosed object/SyncWrapper/publisher client #70175

Closed

Description

@twangboy

What happened?

Seeing the following warnings in the minion log

2026-08-28 09:49:19,368 [salt.transport.tcp:50  ][WARNING ][146918] unclosed publish server <salt.transport.tcp.PublishServer object at 0x7b00993ee9d0>
2026-08-28 09:49:19,369 [salt.utils.asynchronous:50  ][WARNING ][146918] unclosed SyncWrapper for cls=<class 'salt.transport.tcp._TCPPubServerPublisher'>; call ``close()`` or use as a context manager
2026-08-28 09:49:19,369 [salt.transport.tcp:50  ][WARNING ][146918] unclosed publisher client <salt.transport.tcp._TCPPubServerPublisher object at 0x7b0099719110>

Type of salt install

Official deb

Major version

3008.x

What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)

ubuntu-24.04

salt --versions-report output

head of 3008.x branch (3008.2+393.g4ae4bf944f)

Activity

  1. added
    bug
    on Aug 28, 2026
  2. self-assigned this
    on Aug 28, 2026
  3. added this to the Argon v3008.3 milestone on Aug 28, 2026
  4. 3 remaining items

  5. added 2 commits that reference this issue on Sep 11, 2026
    9693666
    a0c526d
  6. added
    severity-medium
    on Oct 21, 2026
  7. added a commit that references this issue on Oct 22, 2026
    8835931
  8. dwoz commented on Oct 30, 2026

    @dwoz
    Contributor

    Closing as completed — implemented by merged PR #70206.

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

Metadata

Metadata

Assignees

Labels

bugseverity-medium

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions