You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run a function asynchronously with --client=local_async, I can't get the result with jobs.lookup_jid runner because it generates a HTTP Error 500: Internal Server Error.
For example:
$ pepper --client=local_async test-mc-1 test.ping
jid:
20200701073413349464
minions:
- test-mc-1
$ pepper -vvv --client=runner jobs.lookup_jid jid=20200701073413349464
Error with request
Traceback (most recent call last):
File "/home/bruno/.virtualenvs/pepper/lib/python3.7/site-packages/pepper/libpepper.py", line 231, in req
f = urlopen(req)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
Pepper error: Server error.
FYI, the issue is the same with pepper v0.7.6 and develop branch and salt-master version 2019.2.4 (Fluorine).
Are you able to reproduce this issue ?
The text was updated successfully, but these errors were encountered:
there seems to be an issue with kwarg to arg spec parsing in salt itself. in the interim you can change the jid= to just a [jid], I need to look into salt siide when/where this broke.
$ pepper -vvv --client=runner jobs.lookup_jid 20200702070249988093
Error with request
Traceback (most recent call last):
File "/home/bruno/.virtualenvs/pepper/lib/python3.7/site-packages/pepper/libpepper.py", line 231, in req
f = urlopen(req)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
Pepper error: Server error.
When I run a function asynchronously with
--client=local_async
, I can't get the result withjobs.lookup_jid
runner because it generates a HTTP Error 500: Internal Server Error.For example:
FYI, the issue is the same with pepper v0.7.6 and develop branch and salt-master version 2019.2.4 (Fluorine).
Are you able to reproduce this issue ?
The text was updated successfully, but these errors were encountered: