Skip to content
New issue

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

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

Already on GitHub? # to your account

Invalid executor ids are saved to DB #279

Open
zubenkoivan opened this issue May 30, 2022 · 0 comments
Open

Invalid executor ids are saved to DB #279

zubenkoivan opened this issue May 30, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@zubenkoivan
Copy link
Contributor

Description

There are a lot of following errors in logs:

2022-05-30 08:41:35,598 - platform_neuro_flow_api.watchers - ERROR - Failed to check status of executor job-66bd77bf-e51f-468f-941a-1823f70f52d7
Traceback (most recent call last):
  File "/root/.local/lib/python3.9/site-packages/platform_neuro_flow_api/watchers.py", line 38, in _check_attempt
    job = await self._platform_client.jobs.status(attempt.executor_id)
  File "/root/.local/lib/python3.9/site-packages/neuro_sdk/_jobs.py", line 540, in status
    async with self._core.request("GET", url, auth=auth) as resp:
  File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__
    return await self.gen.__anext__()
  File "/root/.local/lib/python3.9/site-packages/neuro_sdk/_core.py", line 173, in request
    raise err_cls(err_text)
neuro_sdk.IllegalArgumentError: no such job job-66bd77bf-e51f-468f-941a-1823f70f52d7

Somehow invalid job ids are saved into DB.

@zubenkoivan zubenkoivan changed the title Incorrect executor ids are saved to DB Invalid executor ids are saved to DB May 30, 2022
@eviltwinhans eviltwinhans added the bug Something isn't working label May 30, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants