Skip to content

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

@blokhin

Description

@blokhin
$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions