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

DevWorkspace Factory flow is broken from github #20490

Closed
Tracked by #20444
sleshchenko opened this issue Sep 20, 2021 · 1 comment
Closed
Tracked by #20444

DevWorkspace Factory flow is broken from github #20490

sleshchenko opened this issue Sep 20, 2021 · 1 comment
Labels
area/factory/server Server side of factory implementation engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. 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

@sleshchenko
Copy link
Member

sleshchenko commented Sep 20, 2021

Describe the bug

DevWorkspace Factory flow is broken from github

Che version

next (development version)

Steps to reproduce

  1. Deploy Che with DevWorkspace enabled (chectl server:deploy --installer=operator --platform=openshift --workspace-engine=dev-workspace)
  2. Try to create a workspace from java spring sample, or accept factory: ${CHE_HOST}##https://github.com/che-samples/java-spring-petclinic/tree/devfilev2

Expected behavior

Workspace is created and started

Runtime

OpenShift

Screenshots

Screenshot_20210920_152721

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

2021-09-20 11:45:56,420[nio-8080-exec-7]  [WARN ] [o.e.c.s.oauth.EmbeddedOAuthAPI 159]  - Unsupported OAuth provider github 
2021-09-20 11:45:56,424[nio-8080-exec-7]  [ERROR] [thubPersonalAccessTokenFetcher 187]  - Unsupported OAuth provider github
org.eclipse.che.api.core.NotFoundException: Unsupported OAuth provider github
	at org.eclipse.che.security.oauth.EmbeddedOAuthAPI.getAuthenticator(EmbeddedOAuthAPI.java:160)
	at org.eclipse.che.security.oauth.EmbeddedOAuthAPI.getToken(EmbeddedOAuthAPI.java:124)
	at org.eclipse.che.api.factory.server.github.GithubPersonalAccessTokenFetcher.fetchPersonalAccessToken(GithubPersonalAccessTokenFetcher.java:145)

Additional context

It breaks DevWorkspace Happy path tests on multiple repos, like Dashboard, Che Operator and DWO

@sleshchenko sleshchenko added kind/bug Outline of a bug - must adhere to the bug report template. area/factory/server Server side of factory implementation labels Sep 20, 2021
@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 Sep 20, 2021
@svor svor added engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Sep 20, 2021
@skabashnyuk
Copy link
Contributor

Works for me on latest main of che-server
Знімок екрана 2021-09-21 о 10 54 41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/factory/server Server side of factory implementation engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. 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
None yet
Development

No branches or pull requests

5 participants