Skip to content

[UD] A new workspace cannot be created if the target devfile includes a parent with the storage-type field #23309

@olexii4

Description

@olexii4

Describe the bug

A new workspace cannot be created if it is based on a devfile with a parent with the storage-type field e.g.

...
metadata:
attributes:
  controller.devfile.io/storage-type: ephemeral
...

Che version

7.97@latest

Steps to reproduce

  1. Try to create a new workspace from the source
https://gist.githubusercontent.com/olexii4/dfb21012e08eedf8fc17ae608708fe87/raw/bec54efa905b915695dcb7fc5806cb4b456aa343/devfile.yaml
  1. You can see an error message:
    Знімок екрана 2025-01-07 о 17 28 19

Expected behavior

  1. Try to create a new workspace from the source
https://gist.githubusercontent.com/olexii4/dfb21012e08eedf8fc17ae608708fe87/raw/bec54efa905b915695dcb7fc5806cb4b456aa343/devfile.yaml
  1. A new workspace should be created without errors.

Runtime

OpenShift

Screenshots

No response

Installation method

chectl/next

Environment

macOS

Eclipse Che Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

area/dashboardkind/bugOutline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions