Do not require backends to return IP address in `run_job` or `create_instance` · Issue #1148 · dstackai/dstack · GitHub
More Web Proxy on the site http://driver.im/
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
Currently, backends must return hostname in LaunchedInstanceInfo so that the job processing task can connect to the instance. It takes time to get the ip address for some providers. This leads to backends blocking other jobs when waiting for ip in run_job/create_instance and issues like #1145
The solution is to allow backends to not return hostname/port/etc and implement a method that would get the instance status by instance_id. This method would fill hostname/port when they become available. The job processing task would call this method until hostname/port are filled or timeout occurs.
The text was updated successfully, but these errors were encountered:
Currently, backends must return hostname in
LaunchedInstanceInfo
so that the job processing task can connect to the instance. It takes time to get the ip address for some providers. This leads to backends blocking other jobs when waiting for ip in run_job/create_instance and issues like #1145The solution is to allow backends to not return hostname/port/etc and implement a method that would get the instance status by instance_id. This method would fill hostname/port when they become available. The job processing task would call this method until hostname/port are filled or timeout occurs.
The text was updated successfully, but these errors were encountered: