Repository navigation
[UX] Report No quota / No balance for runs and fleets - #4372
Open
peterschmidt85 wants to merge 2 commits into
Open
peterschmidt85 wants to merge 2 commits into
peterschmidt85 wants to merge 2 commits into
Conversation
peterschmidt85
marked this pull request as ready for review
October 16, 2026 08:09
Collaborator
Is this addressed? |
peterschmidt85
marked this pull request as draft
October 16, 2026 10:36
peterschmidt85
force-pushed
the
issue_496_quota_balance_provisioning
branch
from
October 17, 2026 11:48
a79f3ec to
ce3a87b
Compare
peterschmidt85
marked this pull request as ready for review
October 17, 2026 11:48
Contributor
Author
|
peterschmidt85
marked this pull request as draft
October 20, 2026 13:36
Contributor
Author
|
@r4victor reworked as you suggested:
Ready for review. |
peterschmidt85
marked this pull request as ready for review
October 22, 2026 23:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes the displayed provisioning failure to No quota or No balance in dstack Factory (including Sky) when no available offers remain and all matching offers have that availability. Mixed blockers and failed launch attempts keep their existing failure messages.
dstack psSTATUSno capacityno quota/no balancedstack fleetinstance rowERRORno_offersno quota/no balanceThese are failure messages. The lifecycle statuses remain
failedfor jobs/runs andterminatedfor fleet instances. The UI instance list still shows Terminated; it does not display the termination reason.Backward compatibility
Jobs keep
termination_reason=failed_to_start_due_to_no_capacity; instances keeptermination_reason=no_offers. The specific failure is stored intermination_reason_message, so older replicas can read and process these rows during rolling deployments. Older servers still returnno capacityas the job'sstatus_message.New termination-reason enum values are recognized but are not written by this fix. Emitting them is deferred until all supported rolling-upgrade source versions recognize them.
Notes
When provisioning finds no available offers, it fetches them again including unavailable offers. This repeats quota/balance DB queries in dstack Factory (including dstack Sky), and provider API calls on cache misses.