Skip to content

Acquire ports before creating instance #576

@Egor-S

Description

@Egor-S

If an explicitly mapped port is occupied, dstack will fail only after provisioning has been completed.

We should acquire known ports (excluding dynamic mapping for the local backend) before creating instance and keep it till opening the ssh tunnel.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions