Skip to content

Decode binary pillars for salt-ssh to align the behaviour with salt minions - #69405

Open
vzhestkov wants to merge 3 commits into
saltstack:3008.xfrom
vzhestkov:salt-ssh-pillar-decode
Open

vzhestkov wants to merge 3 commits into
saltstack:3008.xfrom
vzhestkov:salt-ssh-pillar-decode

Conversation

@vzhestkov

@vzhestkov vzhestkov commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

In case if any pillar module is producing binary pillar data it could lead to exception on writing pillar data with JSON on creating tarball for salt-ssh client, while salt-minion doesn't have such issue as while pillar data is processed with msgpack during the transfer all the binary entries are converted to strings and not causing any issues.

This change is intended to align behaviour for salt-ssh case to make it possible to be processed as in case of salt-minion.

What issues does this PR fix or reference?

Tracks: https://github.com/SUSE/spacewalk/issues/30548

Previous Behavior

Possible exceptions on producing pillar data with byte strings.

New Behavior

Processing byte strings as normal strings the same way as it is with salt-minion.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

@vzhestkov
vzhestkov requested a review from a team as a code owner June 9, 2026 10:29
@dwoz dwoz added the test:full Run the full test suite label Jun 9, 2026
@dwoz dwoz added this to the Potassium v3009.0 milestone Jun 9, 2026

@twangboy twangboy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create this against the earliest branch where the bug exists.

@vzhestkov
vzhestkov force-pushed the salt-ssh-pillar-decode branch from 464a5b5 to fd1a7c4 Compare July 2, 2026 09:53
@vzhestkov
vzhestkov changed the base branch from master to 3006.x July 2, 2026 09:54
twangboy
twangboy previously approved these changes Jul 13, 2026
@twangboy

twangboy commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

We are no longer accepting bug fixes on the 3006.x branch. Please rebase against the 3008.x branch.

This branch was previously deployed

1 inactive deployment
ci — cb72c641 Deployed Oct 22, 2026 by dwoz via Build Onedir Packages / DEB (x86_64) #27715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants