Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
olexii4 opened this issue Jan 9, 2025 · 1 comment
Assignees
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@olexii4
Copy link
Contributor

olexii4 commented Jan 9, 2025

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/320eba337fc794808ed95bd1703f5901704d8b83/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/320eba337fc794808ed95bd1703f5901704d8b83/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

@olexii4 olexii4 added the kind/bug Outline of a bug - must adhere to the bug report template. label Jan 9, 2025
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 9, 2025
@olexii4 olexii4 self-assigned this Jan 9, 2025
@olexii4 olexii4 added severity/P1 Has a major impact to usage or development of the system. area/dashboard labels Jan 9, 2025
@olexii4 olexii4 removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 9, 2025
@ibuziuk ibuziuk moved this to Unplanned Tasks in Eclipse Che Team A Backlog Jan 9, 2025
@ibuziuk
Copy link
Member

ibuziuk commented Jan 9, 2025

@olexii4 some relevant discussion related to this issue - devfile/registry#401 (comment)

@thepetk @michael-valdron wdyt should be the right behaviour, imo the attributes defined in the child devfile should get the priotity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
Status: Unplanned Tasks
Development

No branches or pull requests

3 participants