-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Check that workspaces start successfully with OCP 4.10 Console samples #21063
Comments
related devworkspace issue - devfile/devworkspace-operator#752 |
Verified against the dogfooding instance (DevWorkspace engine) with the 2.2 samples from https://registry.devfile.io/viewer
Executing commands from the terminal works fine (this works because npm is part of the theia container)
No pre-defined commands, executing
@l0rd apart from addressing the [1] #21114 |
I think it's ok but what image is used if it's not UDI? |
It is theia. |
Oh ok, that's fine I think although at some point we want to run Theia on the dev container too (as for che-code and che-idea IDEs). I don't know if we have an issue for that. cc @benoitf @azatsarynnyy |
the devfile samples have and commands were referencing tools component |
so I wanted to know how the check was done ? if it's directly using online registry, devfile have parent for example quarkus has parent defining the tools component |
Well, I used the factory link against the dogfooding instance with 2.2 samples for verification e.g. #https://github.com/nodeshift-starters/devfile-sample
@benoitf my understanding was that this issue is about 2.2 devfiles with |
@benoitf ok, I think I got what you mean - I'm not sure if we ever verified this flow cc: @olexii4 @akurinnoy @benoitf @l0rd is it in general supported flow to have a 2.0 parent for 2.2 devfile? how should this be resolved from the schema perspective? [1] https://github.com/nodeshift-starters/devfile-sample/blob/main/devfile.yaml#L14-L16 |
@l0rd another thing that looks inconsistent is the parent reference.
DevWorkspace controller tries to resolve it to https://registry.devfile.io/nodejs which is 404. IMO, |
@amisevsk probably we will need to support |
There's the doc I was looking for :) devfile/devworkspace-operator#770 I agree that it makes more sense to have the registryUrl just be |
The
Some problems with 2.0 devfile is also failing with the same error # https://registry.devfile.io/devfiles/nodejs
Commands are not working OOTB:
Also not sure why, but during the first startup of Quarkus and Spring Boot the parent was not proceeded correctly ( |
@ibuziuk thank you. These are bugs that should be reported to github.com/devfile/api, I would suggest to list them as subtasks of devfile/api#681. I had try to list some of the problems here. |
Have reported issues related to terminating image (node.js) and low memory limit (quarkus)
Regarding the commands execution failures, I'm not sure if this problem is devfile specific since commands seem to be defined correctly. [1] https://registry.devfile.io/viewer/devfiles/Community+python-basic |
@ibuziuk |
The current state with the 2.2 samples on workspaces.openshift.com (conversion from 2.2 to 1)
Workspaces are started, the projects are cloned, no pre-defined commands are available (the parent devfiles are not processed, hence the containers with runtimes are not available) [1] https://workspaces.openshift.com/#https://github.com/devfile-samples/devfile-sample-python-basic |
Developer Sandbox clusters have been updated to the latest 4.10.3 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Is your enhancement related to a problem? Please describe
The devfiles included in OCP samples have been updated recently (for v4.10 and v4.9, see the issue for reference).
In particular those devfiles have a parent and include components of type image and of type kubernetes.
Describe the solution you'd like
We need to verify that Che
ConsoleLink
in an OCP cluster with the latest Che and DevWorkspace starts a workspace successfully.It doesn't matter if the
parent
or kubernetes/image components are not supported but source code should be cloned and the IDE should load successfully in the user browser.Describe alternatives you've considered
After assessing the situation we should evaluate if we need to implement this or not.
Additional context
Reported issues in devfile org:
The text was updated successfully, but these errors were encountered: