che icon indicating copy to clipboard operation
che copied to clipboard

Editor is not started when workspace started from some devfiles from the `registry.devfile.io`

Open tolusha opened this issue 2 years ago • 6 comments

Describe the bug

Editor is not started when workspace started from some devfiles from the registry.devfile.io:

  • django
  • go
  • python
  • java-vertex
  • wildfly

Che version

next (development version)

Steps to reproduce

  1. Deploy Eclipse Che on OpenShift
  2. Configure external devfile registry https://registry.devfile.io
oc patch checluster/eclipse-che --patch '{"spec": {"components": {"devfileRegistry": {"disableInternalRegistry": true, "externalDevfileRegistries": [{"url": "'https://registry.devfile.io'"}]}}}}' --type=merge -n eclipse-che
  1. Try a start a workspace from the stacks above

screenshot-eclipse-che apps ci-ln-zpry0jk-76ef8 aws-2 ci openshift org-2023 09 18-14_28_44

Expected behavior

Workspace is started successfully

Runtime

OpenShift

Screenshots

No response

Installation method

OperatorHub

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

tolusha avatar Sep 18 '23 12:09 tolusha

Included in https://github.com/eclipse/che/issues/20251

l0rd avatar Sep 19 '23 08:09 l0rd

Depends on https://github.com/eclipse/che/issues/21778

l0rd avatar Oct 12 '23 13:10 l0rd

The pull request for the Vert.x Java Stack: https://github.com/devfile/registry/pull/295

RomanNikitenko avatar Feb 13 '24 09:02 RomanNikitenko

The pull request for the WildFly Bootable Jar Stack: https://github.com/devfile/registry/pull/296

RomanNikitenko avatar Feb 14 '24 11:02 RomanNikitenko

@RomanNikitenko both PRs have been merged and https://github.com/eclipse/che/issues/22814 is closed can we close this issue as well cc: @musienko-maxim

ibuziuk avatar Feb 15 '24 11:02 ibuziuk

@ibuziuk There are 5 stacks in the PR description, I tested creation of workspace for those stacks on the dogfooding instance. A workspace starts successfully for django, go, python, it still fails for java-vertex and wildfly.

I see that new versions (with fixed devfile) for the stacks are still absent on the devfile.io:

image

Do you know when it's going to be updated? At the same it's OK for me to close the current issue as the PRs were merged and we are just waiting for update on the devfile.io side.

RomanNikitenko avatar Feb 15 '24 14:02 RomanNikitenko

@RomanNikitenko is it still outdated or the issue can be resolved

ibuziuk avatar Feb 20 '24 14:02 ibuziuk

At the moment the registry doesn't contain my changes, but I guess it should be updated tomorrow: https://github.com/devfile/registry?tab=readme-ov-file#registry

The public registry is updated weekly, by 12pm EST Wednesdays, with any updated stacks in this repository.

RomanNikitenko avatar Feb 20 '24 14:02 RomanNikitenko

The devfile registry was updated, I successfully started workspaces for WildFly Bootable Jar and Vert.x Java stacks

image image

RomanNikitenko avatar Feb 21 '24 08:02 RomanNikitenko