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
We used dstack pool add-ssh and dstack pool remove from different machines with the same instance.
At a certain point, dstack stopped adding it properly.
Now, if I try to add it, I see the following server log:
[10:03:18] DEBUG dstack._internal.core.backends.remote.provisioning:218 Try to connect to
ubuntu@141.147.60.138:22 with key SHA256:nJWeUJk16WnGvROaxSm/0l2uEoJvxtEpPYkjgiDtd9c
[10:03:19] INFO dstack._internal.server.background.tasks.process_instances:125 Connected to ubuntu
141.147.60.138
[10:03:20] DEBUG dstack._internal.server.background.tasks.process_instances:136 The script for installing
dstack has been executed
[10:03:21] DEBUG dstack._internal.server.background.tasks.process_instances:143 The dstack-shim
environemnt variables has been installed
[10:03:22] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
[10:03:25] DEBUG dstack._internal.server.app:177 Processed request POST
http://127.0.0.1:3000/api/project/main/pool/show in 0.011149s
[10:03:26] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
[10:03:29] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
[10:03:32] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
[10:03:35] DEBUG dstack._internal.server.app:177 Processed request POST
http://127.0.0.1:3000/api/project/main/pool/show in 0.023496s
DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
[10:03:38] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
[10:03:41] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
[10:03:45] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
DEBUG dstack._internal.server.app:177 Processed request POST
http://127.0.0.1:3000/api/project/main/pool/show in 0.009631s
[10:03:48] DEBUG dstack._internal.core.backends.remote.provisioning:148 Cannot read `host_info.json`: cat:
/root/.dstack/host_info.json: No such file or directory
The instance status is stuck at provisioning
The text was updated successfully, but these errors were encountered:
Remove the entire contents of the /root/.dstack directory from the instance. The dstack-shim.service must keep running.
Use the command dstack pool remove to remove the instance from the dstack serve
And then add the instance with dstack pool add-ssh
Following that, dstack-shim will not recreate host_info.json, and the server will wait for the file until the timeout. The instance status is stuck at provisioning with logs like in the first message.
No certain steps to reproduce.
We used
dstack pool add-ssh
anddstack pool remove
from different machines with the same instance.At a certain point,
dstack
stopped adding it properly.Now, if I try to add it, I see the following server log:
The instance status is stuck at
provisioning
The text was updated successfully, but these errors were encountered: