Description
Restarting execution nodes may result in "No state found" errors:
Traceback (most recent call last):
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/cli/saas_cli.py", line 112, in main
cli.execute(sys.argv[1:])
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/cli/helpers.py", line 424, in execute
super().execute(args)
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/cli/helpers.py", line 388, in execute
command.execute(args)
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/cli/helpers.py", line 388, in execute
command.execute(args)
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/cli/helpers.py", line 388, in execute
command.execute(args)
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/cli/cmd_rti.py", line 251, in execute
status: ProcessorStatus = rti.get_status(proc_id)
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/rti/proxy.py", line 75, in get_status
result = self.get(f"proc/{proc_id}/status")
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/rest/proxy.py", line 220, in get
return extract_response(response)
File "/mnt/storage/dev/venv-saas/lib/python3.10/site-packages/saas/rest/proxy.py", line 65, in extract_response
raise exception
saas.rest.exceptions.UnsuccessfulRequestError: No state found for processor 131cfd9a3159e73d69bd791a1fc93375db37e58d4004a4371a75d2e2dba502b6
This may be due to the node to deploy previously undeployed (and now unavailable) procs upon restart of the node. In the example above, only these procs were deployed prior restart:
The id of the proc that caused problems was 131cfd9a3159e73d69bd791a1fc93375db37e58d4004a4371a75d2e2dba502b6 which is not part of that list but was previously deployed.
Description Restarting execution nodes may result in "No state found" errors:
This may be due to the node to deploy previously undeployed (and now unavailable) procs upon restart of the node. In the example above, only these procs were deployed prior restart:
The id of the proc that caused problems was
131cfd9a3159e73d69bd791a1fc93375db37e58d4004a4371a75d2e2dba502b6
which is not part of that list but was previously deployed.Outcomes