http://bugzilla.opensuse.org/show_bug.cgi?id=1140193 Bug ID: 1140193 Summary: Salt "pkg.downloaded" state is crashing because unexpected "fromrepo" argument Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Salt Assignee: salt-maintainers@suse.de Reporter: pablo.suarezhernandez@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The latest "salt-2019.2.0-7.1" package released on Tumbleweed contains an issue with "pkg.downloaded" state. Given the following example SLS file at /srv/salt/test_pkg.sls: test_pkg_downloaded: pkg.downloaded: - name: salt When running "salt-call --local state.apply test_pkg" is going to produce a traceback: local: ---------- ID: test_pkg_downloaded Function: pkg.downloaded Name: salt Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/salt/state.py", line 1939, in call ret = self.states[cdata['full']](*cdata['args'], **cdata['kwargs']) File "/usr/lib/python3.7/site-packages/salt/loader.py", line 1982, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.7/site-packages/salt/states/pkg.py", line 2068, in downloaded **kwargs) File "/usr/lib/python3.7/site-packages/salt/states/pkg.py", line 268, in _find_download_targets cur_pkgs = __salt__['pkg.list_downloaded'](**kwargs) TypeError: list_downloaded() got an unexpected keyword argument 'fromrepo' Started: 09:20:36.896878 Duration: 0.843 ms Changes: Summary for local ------------ Succeeded: 0 Failed: 1 ------------ Total states run: 1 Total run time: 0.843 ms -- You are receiving this mail because: You are on the CC list for the bug.