Skip to content

quota: quota is not getting freed when a workspace is stopped #8499

Closed

Description

@matifali
  1. I have a total quota of 150 from two groups (100 + 50).
  2. I have 3 workspaces running with daily_cost = 50 for the docker_container resource.
  3. I stopped 1 of the workspace and tried to create a 4th workspace, I get
    image
    Even though 50 units of quota should be freed from the stopped workspace.
  4. The stopped workspace shows
    image

Activity

  1. changed the title [-]quota is not getting freed when a workspace is stopped[/-] [+]quota: quota is not getting freed when a workspace is stopped[/+] on Jul 14, 2023
  2. matifali commented on Jul 16, 2023

    @matifali
    ContributorAuthor

    I experimented more and observed that a stopped workspace is not freeing up the quota.

  3. ammario commented on Jul 18, 2023

    @ammario
    Member

    Could you share your template? Are you positive the daily_cost field is on the ephemeral resource?

  4. matifali commented on Jul 19, 2023

    @matifali
    ContributorAuthor
  5. ammario commented on Jul 20, 2023

    @ammario
    Member

    Gotcha. Unfortunately I don't have time to investigate this in the near-term.

  6. added
    s2Broken use cases or features (with a workaround). Only humans may set this.
    on Jul 21, 2023
  7. self-assigned this
    on Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions