che icon indicating copy to clipboard operation
che copied to clipboard

It's no longer possible to use ephemeral storage for workspaces

Open amisevsk opened this issue 3 years ago • 0 comments

Describe the bug

It's not possible to start a workspace that uses ephemeral storage by using either the "Temporary storage" toggle when creating the workspace, or by setting the "Storage type" in the overview page. The value gets overwritten on the next workspace start using whatever is set in .spec.devEnvironments.storage.pvcStrategy, which has the default value of per-user -- i.e. it cannot be unset.

Che version

next (development version)

Steps to reproduce

From "Create Workspace" page:

  1. Set the "Temporary Storage" toggle to on
  2. Click a tile to start a workspace
  3. Navigate to "Workspaces" -> name of created workspace
  4. Note that storage type is "persistent", and devfile .attributes.controller.devfile.io/storage-type is per-user

Expected behavior

Setting a workspace to use temporary storage should use the ephemeral storage-type.

Runtime

OpenShift

Screenshots

use-temp temp-not-set 2022-09-19-14:43:55

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

No response

Additional context

Underlying cause: https://github.com/eclipse/che/issues/21714

amisevsk avatar Sep 19 '22 18:09 amisevsk