Skip to content

[PVC] Can't open from prebuilds if prebuilds with large workspace class but user prefers standard workspace class #12494

Closed
@jenting

Description

@jenting

Bug description

Prebuilds was built with a large workspace class (50Gi), and the user prefers a standard workspace class (30Gi).
The user cannot open the workspace because the PVC disk size is 30Gi, not 50Gi.

Steps to reproduce

  • Force the prebuilds to build with a large workspace class (50Gi)
  • After prebuilds are finished, the VolumeSnapshot size is 50Gi
  • Change the user workspace class preference is standard workspace class (30Gi)
  • Open the workspace from prebuilds, the workspace can't start because the disk size dos not be increased

Workspace affected

No response

Expected behavior

@atduarte @Furisto @jenting my understanding is, that in this scenario, we want to auto upgrade the workspace class to large, so that the regular workspace being started from a large prebuild is also large. Otherwise, it will not be able to start, because the restore will fail as @jenting described.

Example repository

No response

Anything else?

#7901

Metadata

Metadata

Assignees

Labels

team: workspaceIssue belongs to the Workspace teamtype: bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions