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

Project is absent in project tree when workspace starts from dashboard template #18826

Closed
8 tasks done
artaleks9 opened this issue Jan 19, 2021 · 11 comments · Fixed by eclipse-che/che-plugin-registry#804
Closed
8 tasks done
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.

Comments

@artaleks9
Copy link
Contributor

artaleks9 commented Jan 19, 2021

Describe the bug

  • When workspace starts from template on Dashbord the project is absent in IDE

Che version

  • nightly

Steps to reproduce

  1. Install Che nightly
  2. Select workspace template on Dashboard and run it
  3. Try to use the project in explorer

Expected behavior

  • The project should be present in the tree projects

Runtime

  • Openshift
  • minikube

Screenshots

che-nightly-projecr-absent

Installation method

  • chectl
    chectl/0.0.20210115-next.dc032a1 linux-x64 node-v12.20.1
Logs
06:16:11  + /mnt/hudson_workspace/workspace/Che/e2e/ocp/basic/install-che-using-chectl/chectl server:deploy --listr-renderer=verbose --debug --multiuser --no-olm-suggested-namespace --platform=openshift -n nightly-che
06:16:12  › Current Kubernetes context: 'default/api-ocp46-crw-qe-com:6443/admin'
06:16:12  (node:9909) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
06:16:12  › Installer type is set to: 'olm'
06:16:12  [23:16:11] Verify Kubernetes API [started]
06:16:12  [23:16:11] Verify Kubernetes API...OK [title changed]
06:16:12  [23:16:11] Verify Kubernetes API...OK (it's OpenShift) [title changed]
06:16:12  [23:16:11] Verify Kubernetes API...OK (it's OpenShift) [completed]
06:16:12  [23:16:11] 👀  Looking for an already existing Eclipse Che instance [started]
06:16:12  [23:16:11] Verify if Eclipse Che is deployed into namespace "nightly-che" [started]
06:16:12  [23:16:11] Verify if Eclipse Che is deployed into namespace "nightly-che"...it is not [title changed]
06:16:12  [23:16:11] Verify if Eclipse Che is deployed into namespace "nightly-che"...it is not [completed]
06:16:12  [23:16:11] 👀  Looking for an already existing Eclipse Che instance [completed]
06:16:12  [23:16:11] ✈️  Openshift preflight checklist [started]
06:16:12  [23:16:11] Verify if oc is installed [started]
06:16:12  [23:16:11] Verify if oc is installed...done. [title changed]
06:16:12  [23:16:11] Verify if oc is installed...done. [completed]
06:16:12  [23:16:11] Verify if openshift is running [started]
06:16:14  [23:16:12] Verify if openshift is running...done. [title changed]
06:16:14  [23:16:12] Verify if openshift is running...done. [completed]
06:16:14  [23:16:12] Check OpenShift version [started]
06:16:14  [23:16:13] Check OpenShift version: 4.x [title changed]
06:16:14  [23:16:13] Check OpenShift version: 4.x [completed]
06:16:14  [23:16:13] Check Kubernetes version [started]
06:16:14  [23:16:13] Check Kubernetes version: Unknown. [title changed]
06:16:14  [23:16:13] Check Kubernetes version: Unknown. [completed]
06:16:14  [23:16:13] ✈️  Openshift preflight checklist [completed]
06:16:14  [23:16:13] Following Eclipse Che logs [started]
06:16:14  [23:16:13] Start following Operator logs [started]
06:16:14  [23:16:13] Start following Operator logs...done [title changed]
06:16:14  [23:16:13] Start following Operator logs...done [completed]
06:16:14  [23:16:13] Start following Eclipse Che server logs [started]
06:16:14  [23:16:13] Start following Eclipse Che server logs...done [title changed]
06:16:14  [23:16:13] Start following Eclipse Che server logs...done [completed]
06:16:14  [23:16:13] Start following Postgres logs [started]
06:16:14  [23:16:13] Start following Postgres logs...done [title changed]
06:16:14  [23:16:13] Start following Postgres logs...done [completed]
06:16:14  [23:16:13] Start following Keycloak logs [started]
06:16:14  [23:16:13] Start following Keycloak logs...done [title changed]
06:16:14  [23:16:13] Start following Keycloak logs...done [completed]
06:16:14  [23:16:13] Start following Plugin registry logs [started]
06:16:14  [23:16:13] Start following Plugin registry logs...done [title changed]
06:16:14  [23:16:13] Start following Plugin registry logs...done [completed]
06:16:14  [23:16:13] Start following Devfile registry logs [started]
06:16:14  [23:16:13] Start following Devfile registry logs...done [title changed]
06:16:14  [23:16:13] Start following Devfile registry logs...done [completed]
06:16:14  [23:16:13] Start following namespace events [started]
06:16:14  [23:16:13] Start following namespace events...done [title changed]
06:16:14  [23:16:13] Start following namespace events...done [completed]
06:16:14  [23:16:13] Following Eclipse Che logs [completed]
06:16:14  [23:16:13] 🏃‍  Running Olm installaion Eclipse Che [started]
06:16:14  [23:16:13] Check if OLM is pre-installed on the platform [started]
06:16:14  [23:16:13] Check if OLM is pre-installed on the platform...done. [title changed]
06:16:14  [23:16:13] Check if OLM is pre-installed on the platform...done. [completed]
06:16:14  [23:16:13] Create Namespace (nightly-che) [started]
06:16:14  [23:16:13] Create Namespace (nightly-che)...Done. [title changed]
06:16:14  [23:16:13] Create Namespace (nightly-che)...Done. [completed]
06:16:14  [23:16:13] Create operator group [started]
06:16:14  [23:16:13] Create operator group...created new one. [title changed]
06:16:14  [23:16:13] Create operator group...created new one. [completed]
06:16:14  [23:16:13] Configure context information [started]
06:16:14  [23:16:13] Configure context information...done. [title changed]
06:16:14  [23:16:13] Configure context information...done. [completed]
06:16:14  [23:16:13] Create nightly index CatalogSource in the namespace nightly-che [started]
06:16:14  [23:16:13] Create nightly index CatalogSource in the namespace nightly-che [completed]
06:16:14  [23:16:13] Create operator subscription [started]
06:16:14  [23:16:13] Create operator subscription...created new one. [title changed]
06:16:14  [23:16:13] Create operator subscription...created new one. [completed]
06:16:14  [23:16:13] Wait while subscription is ready [started]
06:16:20  [23:16:18] Wait while subscription is ready...done. [title changed]
06:16:20  [23:16:18] Wait while subscription is ready...done. [completed]
06:16:20  [23:16:18] Wait while operator installed [started]
06:16:25  [23:16:23] Wait while operator installed...done. [title changed]
06:16:25  [23:16:23] Wait while operator installed...done. [completed]
06:16:25  [23:16:23] Set custom operator image [started]
06:16:25  [23:16:23] Set custom operator image... changed to quay.io/eclipse/che-operator:nightly. [title changed]
06:16:25  [23:16:23] Set custom operator image... changed to quay.io/eclipse/che-operator:nightly. [completed]
06:16:25  [23:16:23] Prepare Eclipse Che cluster CR [started]
06:16:25  [23:16:24] Prepare Eclipse Che cluster CR...Done. [title changed]
06:16:25  [23:16:24] Prepare Eclipse Che cluster CR...Done. [completed]
06:16:25  [23:16:24] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace nightly-che [started]
06:16:26  [23:16:25] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace nightly-che...done. [title changed]
06:16:26  [23:16:25] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace nightly-che...done. [completed]
06:16:26  [23:16:25] 🏃‍  Running Olm installaion Eclipse Che [completed]
06:16:26  [23:16:25] ✅  Post installation checklist [started]
06:16:26  [23:16:25] PostgreSQL pod bootstrap [started]
06:16:26  [23:16:25] Scheduling [started]
06:16:52  [23:16:50] Scheduling...done [title changed]
06:16:52  [23:16:50] Scheduling...done [completed]
06:16:52  [23:16:50] Downloading images [started]
06:16:59  [23:16:58] Downloading images...done [title changed]
06:16:59  [23:16:58] Downloading images...done [completed]
06:16:59  [23:16:58] Starting [started]
06:17:17  [23:17:14] Starting...done [title changed]
06:17:17  [23:17:14] Starting...done [completed]
06:17:17  [23:17:14] PostgreSQL pod bootstrap [completed]
06:17:17  [23:17:14] Keycloak pod bootstrap [started]
06:17:17  [23:17:14] Scheduling [started]
06:17:17  [23:17:15] Scheduling...done [title changed]
06:17:17  [23:17:15] Scheduling...done [completed]
06:17:17  [23:17:15] Downloading images [started]
06:17:20  [23:17:19] Downloading images...done [title changed]
06:17:20  [23:17:19] Downloading images...done [completed]
06:17:20  [23:17:19] Starting [started]
06:17:59  [23:17:56] Starting...done [title changed]
06:17:59  [23:17:56] Starting...done [completed]
06:17:59  [23:17:56] Keycloak pod bootstrap [completed]
06:17:59  [23:17:56] Devfile registry pod bootstrap [started]
06:17:59  [23:17:56] Scheduling [started]
06:19:07  [23:19:01] Scheduling...done [title changed]
06:19:07  [23:19:01] Scheduling...done [completed]
06:19:07  [23:19:01] Downloading images [started]
06:19:07  [23:19:05] Downloading images...done [title changed]
06:19:07  [23:19:05] Downloading images...done [completed]
06:19:07  [23:19:05] Starting [started]
06:19:11  [23:19:09] Starting...done [title changed]
06:19:11  [23:19:09] Starting...done [completed]
06:19:11  [23:19:09] Devfile registry pod bootstrap [completed]
06:19:11  [23:19:09] Plugin registry pod bootstrap [started]
06:19:11  [23:19:09] Scheduling [started]
06:19:11  [23:19:10] Scheduling...done [title changed]
06:19:11  [23:19:10] Scheduling...done [completed]
06:19:11  [23:19:10] Downloading images [started]
06:19:18  [23:19:16] Downloading images...done [title changed]
06:19:18  [23:19:16] Downloading images...done [completed]
06:19:18  [23:19:16] Starting [started]
06:19:28  [23:19:27] Starting...done [title changed]
06:19:28  [23:19:27] Starting...done [completed]
06:19:28  [23:19:27] Plugin registry pod bootstrap [completed]
06:19:28  [23:19:27] Eclipse Che pod bootstrap [started]
06:19:28  [23:19:27] Scheduling [started]
06:19:28  [23:19:27] Scheduling...done [title changed]
06:19:28  [23:19:27] Scheduling...done [completed]
06:19:28  [23:19:27] Downloading images [started]
06:19:32  [23:19:30] Downloading images...done [title changed]
06:19:32  [23:19:30] Downloading images...done [completed]
06:19:32  [23:19:30] Starting [started]
06:19:32  [23:19:30] Starting...done [title changed]
06:19:32  [23:19:30] Starting...done [completed]
06:19:32  [23:19:30] Eclipse Che pod bootstrap [completed]
06:19:32  [23:19:30] Eclipse Che status check [started]
06:19:32  [23:19:30] Eclipse Che status check...done [title changed]
06:19:32  [23:19:30] Eclipse Che status check...done [completed]
06:19:32  [23:19:30] ✅  Post installation checklist [completed]
06:19:32  [23:19:30] Retrieving Keycloak admin credentials [started]
06:19:32  [23:19:30] Retrieving Keycloak admin credentials...done [title changed]
06:19:32  [23:19:30] Retrieving Keycloak admin credentials...done [completed]
06:19:32  [23:19:30] Retrieving Che self-signed CA certificate [started]
06:19:32  [23:19:30] Retrieving Che self-signed CA certificate... done [title changed]
06:19:32  [23:19:30] Retrieving Che self-signed CA certificate... done [completed]
06:19:32  [23:19:30] Prepare post installation output [started]
06:19:32  [23:19:31] Prepare post installation output...done [title changed]
06:19:32  [23:19:31] Prepare post installation output...done [completed]
06:19:32  [23:19:31] Show important messages [started]
06:19:32  [23:19:31] Eclipse Che 7.25.0-SNAPSHOT has been successfully deployed. [started]
06:19:32  [23:19:31] Eclipse Che 7.25.0-SNAPSHOT has been successfully deployed. [completed]
06:19:32  [23:19:31] Documentation             : https://www.eclipse.org/che/docs/ [started]
06:19:32  [23:19:31] Documentation             : https://www.eclipse.org/che/docs/ [completed]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [started]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [completed]
06:19:32  [23:19:31] Users Dashboard           : https://che-nightly-che.apps.ocp46.crw-qe.com [started]
06:19:32  [23:19:31] Users Dashboard           : https://che-nightly-che.apps.ocp46.crw-qe.com [completed]
06:19:32  [23:19:31] Admin user login          : "admin:admin". NOTE: must change after first login. [started]
06:19:32  [23:19:31] Admin user login          : "admin:admin". NOTE: must change after first login. [completed]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [started]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [completed]
06:19:32  [23:19:31] Plug-in Registry          : https://plugin-registry-nightly-che.apps.ocp46.crw-qe.com/v3 [started]
06:19:32  [23:19:31] Plug-in Registry          : https://plugin-registry-nightly-che.apps.ocp46.crw-qe.com/v3 [completed]
06:19:32  [23:19:31] Devfile Registry          : https://devfile-registry-nightly-che.apps.ocp46.crw-qe.com [started]
06:19:32  [23:19:31] Devfile Registry          : https://devfile-registry-nightly-che.apps.ocp46.crw-qe.com [completed]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [started]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [completed]
06:19:32  [23:19:31] Identity Provider URL     : https://keycloak-nightly-che.apps.ocp46.crw-qe.com/auth [started]
06:19:32  [23:19:31] Identity Provider URL     : https://keycloak-nightly-che.apps.ocp46.crw-qe.com/auth [completed]
06:19:32  [23:19:31] Identity Provider login   : "admin:BtC2XO090CHi". [started]
06:19:32  [23:19:31] Identity Provider login   : "admin:BtC2XO090CHi". [completed]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [started]
06:19:32  [23:19:31] ------------------------------------------------------------------------------- [completed]
06:19:32  [23:19:31] �[33m[ACTION REQUIRED]�[39m Please add Che self-signed CA certificate into your browser: /tmp/cheCA.crt.
06:19:32  Documentation how to add a CA certificate into a browser: https://www.eclipse.org/che/docs/che-7/overview/importing-certificates-to-browsers/ [started]
06:19:32  [23:19:31] �[33m[ACTION REQUIRED]�[39m Please add Che self-signed CA certificate into your browser: /tmp/cheCA.crt.
06:19:32  Documentation how to add a CA certificate into a browser: https://www.eclipse.org/che/docs/che-7/overview/importing-certificates-to-browsers/ [completed]
06:19:32  [23:19:31] Show important messages [completed]
06:19:32  Command server:deploy has completed successfully in 03:20.

Environment

  • my computer

    • Linux
  • Cloud

    • OpenStack
@artaleks9 artaleks9 added kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. team/editors area/editor/theia Issues related to the che-theia IDE of Che labels Jan 19, 2021
@RomanNikitenko
Copy link
Member

RomanNikitenko commented Jan 19, 2021

I tried to reproduce it on different instances.

I think the issue is NOT caused by some changes on theia or che-theia side, because:

  • I tested the same devfile, the same version of theia and che-theia
  • I can reproduce it for 7.25.0-snapshot version of CHE
  • I can not reproduce it for 7.24.1 version

7.25.0-snapshot version of CHE
7 25

7.24.1 version
7 24 1

@azatsarynnyy
Copy link
Member

@artaleks9 could you please provide what version of Che is affected?
If it's a snapshot/next - specify Che-Theia / Theia versions as well.

@artaleks9
Copy link
Contributor Author

@azatsarynnyy Here you are!

che-version

che-dialog-about

@tsmaeder
Copy link
Contributor

@RomanNikitenko do you also see an empty "My workspace" view? I for one cannot see any components, commands, etc.

@tsmaeder
Copy link
Contributor

Also: this fails with both che-theia:next and che-theia:latest, so it's 99% not a problem in the che-theia or theia source code.

@RomanNikitenko
Copy link
Member

@tsmaeder
I think it's somehow related to 7.25.0-snapshot version of CHE and not related to source code of theia and che-theia, please see #18826 (comment)

@azatsarynnyy
Copy link
Member

It's not reproducible with both Che-Theia next and latest, on Che 7.24.1 (Hosted Che instance),
but it can be reproduced with any version of Che-Theia on Che 7.25.0-SNAPSHOT.

So, I suppose it's due to some issue with other Che components. Maybe Che-Server?

@artaleks9 could you check Che-Server logs, please?

@tsmaeder
Copy link
Contributor

This seems to be caused by eclipse-che/che-plugin-registry@1f368ea

To verify, I made a gist with the persistent volume removed and it works again when using the reference: syntax for che-theia in the devfile: https://gist.githubusercontent.com/tsmaeder/ccde03cc0b878609fb738bae1ec68e39/raw/57472e2fadefad661fe301d8ca114b221a405622/che-theia.yaml

@azatsarynnyy
Copy link
Member

This seems to be caused by eclipse/che-plugin-registry@1f368ea

To verify, I made a gist with the persistent volume removed and it works again when using the reference: syntax for che-theia in the devfile: https://gist.githubusercontent.com/tsmaeder/ccde03cc0b878609fb738bae1ec68e39/raw/57472e2fadefad661fe301d8ca114b221a405622/che-theia.yaml

@vinokurig could you verify it? And possibly revert that commit it's the cause of the issue.

@vinokurig
Copy link
Contributor

@azatsarynnyy

@vinokurig could you verify it? And possibly revert that commit it's the cause of the issue.

OK

@vzhukovs
Copy link
Contributor

Not sure about volumeMount, but from what I know, volume section can be only one per container. See: https://coreos.slack.com/archives/CRUT409JT/p1601300158031800?thread_ts=1601298334.031300&cid=CRUT409JT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Projects
None yet
6 participants