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
Copy file name to clipboardExpand all lines: docs/docs/guides/troubleshooting.md
+22-12Lines changed: 22 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,20 @@ and [this](https://github.com/dstackai/dstack/issues/1551).
28
28
29
29
## Typical issues
30
30
31
+
### No fleets { #no-fleets }
32
+
[//]: #(NOTE: This section is referenced in the CLI. Do not change its URL.)
33
+
34
+
If you run `dstack apply` and see `No fleets` status it can mean two things:
35
+
36
+
=== "The project has no fleets"
37
+
In this case, ensure you've created one before submitting runs. This can be either a [backend fleet](../concepts/fleets.md#backend-fleets) (if you are using cloud or Kubernetes) or an [SSH fleet](../concepts/fleets.md#ssh-fleets) (if you're using on-prem clusters).
38
+
39
+
!!! info "Backend fleets"
40
+
Note that creating [backend fleet](../concepts/fleets.md#backend-fleets) doesn't necessarily require provisioning instances upfront. If you set `nodes` to a range, `dstack` will be able to provision instances as required. See [backend fleet](../concepts/fleets.md#backend-fleets) for examples.
41
+
42
+
=== "No matching fleet found"
43
+
This means fleets exist but run requirements do not match the configuration of the fleet. Review your fleets, and ensure that both run and fleet configuration are correct.
44
+
31
45
### No offers { #no-offers }
32
46
[//]: #(NOTE: This section is referenced in the CLI. Do not change its URL.)
33
47
@@ -37,19 +51,15 @@ Below are some of the reasons why this might happen.
37
51
38
52
> Feel free to use `dstack offer` to view available offers.
39
53
40
-
#### Cause 1: No fleets
41
-
42
-
Make sure you've created a [fleet](../concepts/fleets.md) before submitting any runs.
43
-
44
-
#### Cause 2: No backends
54
+
#### Cause 1: No backends
45
55
46
56
If you are not using [SSH fleets](../concepts/fleets.md#ssh-fleets), make sure you have configured at least one [backends](../concepts/backends.md).
47
57
48
58
If you have configured a backend but still cannot use it, check the output of `dstack server` for backend configuration errors.
49
59
50
60
> You can find a list of successfully configured backends on the [project settings page](../concepts/projects.md#backends) in the UI.
51
61
52
-
#### Cause 3: Requirements mismatch
62
+
#### Cause 2: Requirements mismatch
53
63
54
64
When you apply a configuration, `dstack` tries to find instances that match the
0 commit comments