-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
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 ?
Metadata
Metadata
Assignees
Labels
No labels