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

Asyncssh.process.ProcessError: Process exited with non-zero exit status 100 #133

Open blokhin opened 5 months ago

blokhin commented 5 months ago
$ yasetnode XXX.XXX.XXX.XXX~4
Setup host...
INFO:RemoteMachine:root@XXX.XXX.XXX.XXX:CPUs count: 8
Traceback (most recent call last):
  File "/usr/local/bin/yasetnode", line 8, in <module>
    sys.exit(manage_node())
             ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/yascheduler/utils.py", line 446, in manage_node
    asyncio.run(_manage_node())
  File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/yascheduler/utils.py", line 436, in _manage_node
    await machine.setup_node(config.engines)
  File "/usr/local/lib/python3.11/dist-packages/yascheduler/remote_machine/remote_machine.py", line 378, in setup_node
    await retry(self.adapter.setup_node)(
  File "/usr/local/lib/python3.11/dist-packages/backoff/_async.py", line 151, in retry
    ret = await target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/yascheduler/remote_machine/linux_methods.py", line 201, in linux_setup_deb_node
    await run(f"{apt_cmd} update", check=True)
  File "/usr/local/lib/python3.11/dist-packages/backoff/_async.py", line 151, in retry
    ret = await target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/yascheduler/remote_machine/remote_machine.py", line 334, in run
    return await self.adapter.run(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/yascheduler/remote_machine/common.py", line 34, in run
    return await conn.run(command, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/asyncssh/connection.py", line 4325, in run
    return await process.wait(check, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/asyncssh/process.py", line 1488, in wait
    raise ProcessError(self.env, self.command, self.subsystem,
asyncssh.process.ProcessError: Process exited with non-zero exit status 100