[Bug]: Minion is warning about unclosed object/SyncWrapper/publisher client
Open
@twangboy is already working on this.
Since Aug 28, 2026.
bug
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.