Open blokhin opened 2 years ago
Another case, very frustrating:
root@aiida9:~# yastatus -v
..................................................ID68 CRYSTAL by AiiDA at root@X.X.X.X::data/tasks/20221128_235115_68
Traceback (most recent call last):
File "/usr/local/bin/yastatus", line 8, in <module>
sys.exit(check_status())
File "/usr/local/lib/python3.9/dist-packages/yascheduler/utils.py", line 237, in check_status
asyncio.run(_check_status())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/dist-packages/yascheduler/utils.py", line 148, in _check_status
machine = await RemoteMachine.create(
File "/usr/local/lib/python3.9/dist-packages/backoff/_async.py", line 151, in retry
ret = await target(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/yascheduler/remote_machine/remote_machine.py", line 192, in create
conn = await asyncssh.connection.connect(
File "/usr/local/lib/python3.9/dist-packages/asyncssh/connection.py", line 7834, in connect
return await asyncio.wait_for(
File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
return await fut
File "/usr/local/lib/python3.9/dist-packages/asyncssh/connection.py", line 447, in _connect
await options.waiter
asyncssh.misc.PermissionDenied: Permission denied
@knopki please could you have a look?
Solution (FIXME?): delete keys from data_dir
and retry.
also #127
A normal connection succeeds:
but scheduler connection fails: