tilde-lab / yascheduler

Yet another cloud computing scheduler for the high-throughput cloud scientific simulations
https://mpds.io/search/ab%20initio%20calculations
MIT License
5 stars 4 forks source link

Keys directory was not automatically created #100

Open blokhin opened 2 years ago

blokhin commented 2 years ago
root@metis:/data/metis-gui# yasetnode 10.99.245.5 --skip-setup
Traceback (most recent call last):
  File "/usr/local/bin/yasetnode", line 8, in <module>
    sys.exit(manage_node())
  File "/usr/local/lib/python3.9/dist-packages/yascheduler/utils.py", line 430, in manage_node
    asyncio.run(_manage_node())
  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 414, in _manage_node
    client_keys=config.local.get_private_keys(),
  File "/usr/local/lib/python3.9/dist-packages/yascheduler/config/local.py", line 43, in get_private_keys
    return list(filepaths)
  File "/usr/lib/python3.9/pathlib.py", line 1149, in iterdir
    for name in self._accessor.listdir(self):
FileNotFoundError: [Errno 2] No such file or directory: '/data/yadata/keys'
blokhin commented 2 years ago

@knopki this should be easy to fix

blokhin commented 5 months ago

also #127