Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error in pkg.install not propagated to caller #58878

Open
OrangeDog opened this issue Nov 4, 2020 · 0 comments
Open

[BUG] Error in pkg.install not propagated to caller #58878

OrangeDog opened this issue Nov 4, 2020 · 0 comments
Labels
Bug broken, incorrect, or confusing behavior severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone

Comments

@OrangeDog
Copy link
Contributor

Description
If passing invalid pkgs data to pkg.install an error is logged on the minion, but an empty success is returned.

# salt minion-id pkg.install pkgs='[{"salt-minion": "3001.3+ds-1", "salt-common": "3001.3+ds-1"}]'
minion-id:
    ----------

Invalid input for repack_dictlist: key/value pairs must contain only one element (data passed: {'salt-minion': '3001.3+ds-1', 'salt-common': '3001.3+ds-1'})

Expected behavior
The response should indicate an error

Versions Report
Master is 3001.3, minion is 3001.1

@OrangeDog OrangeDog added the Bug broken, incorrect, or confusing behavior label Nov 4, 2020
@Ch3LL Ch3LL added severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around and removed needs-triage labels Nov 12, 2020
@Ch3LL Ch3LL added this to the Approved milestone Nov 12, 2020
@Ch3LL Ch3LL removed their assignment Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Projects
None yet
Development

No branches or pull requests

3 participants