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

OpenShift Connector does not work on workspaces.openshift.com #20229

Closed
ibuziuk opened this issue Jul 30, 2021 · 10 comments
Closed

OpenShift Connector does not work on workspaces.openshift.com #20229

ibuziuk opened this issue Jul 30, 2021 · 10 comments
Assignees
Labels
area/plugins 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. sprint/current
Milestone

Comments

@ibuziuk
Copy link
Member

ibuziuk commented Jul 30, 2021

Describe the bug

After enabling the OpenShift Connector plugin in devfile via

  - id: redhat/vscode-openshift-connector/latest
    type: chePlugin
    alias: openshift-connector

it is not possible to work with a plugin from workspace since the view is empty and does not list any projects

Che version

CRW 2.9

Steps to reproduce

Create a workspace with openshift-connector plugin enabled:

  - id: redhat/vscode-openshift-connector/latest
    type: chePlugin
    alias: openshift-connector

Expected behavior

openshift-connector plugin view lists projects

Eclipse Che Logs

Additional context

@ibuziuk ibuziuk added 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. area/plugins labels Jul 30, 2021
@nickboldt
Copy link
Contributor

@ibuziuk
Copy link
Member Author

ibuziuk commented Jul 30, 2021

no, it does not look the same - on workspaces.openshift.com there are even no projects listed and the plugin is literally unusable:
image

@ibuziuk
Copy link
Member Author

ibuziuk commented Jul 30, 2021

After a couple of restarts, I was able to get the projects, but I still can not see resources like pods, services, routes etc. is it expected?

image

The plugin looks unusable atm

@edeandrea
Copy link

What if you also have the redhat/vscode-yaml/latest plugin in your devfile? Or if you already have it, remove it?

I had seen this a while back where there was some version incompatibilities between the openshift connector plugin & the vscode-yaml plugin.

@ibuziuk
Copy link
Member Author

ibuziuk commented Jul 30, 2021

this does not seem to help much - it is still not clear how to list resources like pods, routes, scv with the OpenShift Connector

@svor
Copy link
Contributor

svor commented Aug 11, 2021

After a couple of restarts, I was able to get the projects, but I still can not see resources like pods, services, routes etc. is it expected?

@vinokurig ^^

@svor svor mentioned this issue Aug 11, 2021
34 tasks
@vinokurig vinokurig self-assigned this Aug 11, 2021
@svor svor mentioned this issue Aug 12, 2021
30 tasks
@vinokurig
Copy link
Contributor

eclipse-che/che-plugin-registry#1028 fixes the problem for Eclipse Che and redhat-developer/devspaces@9157c2f is the same fix for the downstream CRW. I still can reproduce the problem in the workspaces.openshift.com when I manually paste the authentication plugin reference to the devFile, so let's not close the issue until the fix is released and we could properly test it in the workspaces.openshift.com.

@svor svor added this to the 7.35 milestone Aug 18, 2021
@nickboldt nickboldt modified the milestones: 7.35, 7.36 Aug 24, 2021
@svor svor mentioned this issue Sep 7, 2021
26 tasks
@svor svor modified the milestones: 7.36, 7.37 Sep 8, 2021
@ibuziuk
Copy link
Member Author

ibuziuk commented Sep 15, 2021

@vinokurig tried to verify the connector on staging 2.11 but got pretty much the same result
image

I can not see any namespaces, pods, svc etc. only cluster IP. is it expected?

@svor
Copy link
Contributor

svor commented Sep 16, 2021

@vinokurig will take a look once he gets back from PTO

@svor svor modified the milestones: 7.37, 7.38 Sep 29, 2021
@vinokurig
Copy link
Contributor

It works for me:
screenshot-codeready-codeready-workspaces-operator apps sandbox-m2 ll9k p1 openshiftapps com-2021 10 06-09_48_54

@ibuziuk Looks like your browser blocks the authentication popup. If so you should allow showing the popup and restart the workspace. You should see a notification about that:
screenshot-nimbus-capture-2021 10 06-10_07_36

@svor svor closed this as completed Oct 19, 2021
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/P1 Has a major impact to usage or development of the system. sprint/current
Projects
None yet
Development

No branches or pull requests

5 participants