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
I am running a workchain with verdi run and get disconnected from SSH (resp. disconnected my smartcard which made the private key unavailable to paramiko since there's no SSH master connection).
As expected after some retries I got some error messages and the transport tasks were paused, With that, verdi run started to consume up to 2 cores fully (with one daemon worker), and being on a mobile device this is somewhat less ideal.
Steps to reproduce
Steps to reproduce the behavior:
Run a workchain
Disconnect network
Wait
the errors for completeness are:
...
self._jobs_cache = await self._get_jobs_from_scheduler()
File "/home/tiziano/work/aiida/aiida_core/aiida/engine/processes/calcjobs/manager.py", line 98, in _get_job
s_from_scheduler
transport = await request
File "/usr/lib/python3.9/asyncio/futures.py", line 284, in __await__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
File "/usr/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception
File "/home/tiziano/work/aiida/aiida_core/aiida/engine/transports.py", line 89, in do_open
transport.open()
File "/home/tiziano/work/aiida/aiida_core/aiida/transports/plugins/ssh.py", line 438, in open
self._client.connect(self._machine, **connection_arguments)
File "/home/tiziano/.local/share/virtualenvs/aiida/lib/python3.9/site-packages/paramiko/client.py", line 435, in connect
self._auth(
File "/home/tiziano/.local/share/virtualenvs/aiida/lib/python3.9/site-packages/paramiko/client.py", line 764, in _auth
raise saved_exception
File "/home/tiziano/.local/share/virtualenvs/aiida/lib/python3.9/site-packages/paramiko/client.py", line 734, in _auth
key = self._key_from_filepath(
File "/home/tiziano/.local/share/virtualenvs/aiida/lib/python3.9/site-packages/paramiko/client.py", line 586, in _key_from_filepath
key = klass.from_private_key_file(key_path, password)
File "/home/tiziano/.local/share/virtualenvs/aiida/lib/python3.9/site-packages/paramiko/pkey.py", line 235, in from_private_key_file
key = cls(filename=filename, password=password)
File "/home/tiziano/.local/share/virtualenvs/aiida/lib/python3.9/site-packages/paramiko/ed25519key.py", line 63, in __init__
signing_key = self._parse_signing_key_data(data, password)
File "/home/tiziano/.local/share/virtualenvs/aiida/lib/python3.9/site-packages/paramiko/ed25519key.py", line 96, in _parse_signing_key_data
raise PasswordRequiredException(
paramiko.ssh_exception.PasswordRequiredException: Private key file is encrypted
03/19/2021 03:14:55 PM <171713> aiida.orm.nodes.process.calculation.calcjob.CalcJobNode: [WARNING] maximum attempts 5 of calling do_update, exceeded
03/19/2021 03:14:55 PM <171713> aiida.engine.processes.calcjobs.tasks: [WARNING] updating CalcJob<470> failed
... playing the paused process did not resolve the issue.
Expected behavior
wait quietly and patiently without using much CPU for the network to be available again ;-)
Describe the bug
I am running a workchain with
verdi run
and get disconnected from SSH (resp. disconnected my smartcard which made the private key unavailable to paramiko since there's no SSH master connection).As expected after some retries I got some error messages and the transport tasks were paused, With that,
verdi run
started to consume up to 2 cores fully (with one daemon worker), and being on a mobile device this is somewhat less ideal.Steps to reproduce
Steps to reproduce the behavior:
the errors for completeness are:
...
play
ing the paused process did not resolve the issue.Expected behavior
wait quietly and patiently without using much CPU for the network to be available again ;-)
Your environment
possibly related to #4801
The text was updated successfully, but these errors were encountered: