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

Che - 7.28.2 | External Keycloak - Error: Unable to get available storage types #19611

Closed
5 of 23 tasks
andr-azeez opened this issue Apr 16, 2021 · 8 comments
Closed
5 of 23 tasks
Labels
kind/bug Outline of a bug - must adhere to the bug report template. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.

Comments

@andr-azeez
Copy link

andr-azeez commented Apr 16, 2021

Describe the bug

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

sudo chectl server:deploy --installer=helm --platform=k8s --domain=l3.domain.com --multiuser --installer=operator --che-operator-cr-patch-yaml=resource.yaml

resource.yaml

apiVersion: org.eclipse.che/v1
kind: CheCluster
metadata:
  name: eclipse-che
spec:
  auth:
    externalIdentityProvider: true
    identityProviderURL: 'https://auth.domain.com'
    identityProviderRealm: 'Che'
    identityProviderClientId: 'che-public'

Installations are completed without any error. Once I login eclipse-che, I get this error as in screenshot

Screenshot from 2021-04-16 07-23-38
Screenshot from 2021-04-16 07-23-59

Expected behavior

Launch the workspace with out any issue

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify
@andr-azeez andr-azeez added the kind/bug Outline of a bug - must adhere to the bug report template. label Apr 16, 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 Apr 16, 2021
@tolusha
Copy link
Contributor

tolusha commented Apr 16, 2021

@andr-azeez
Could you try with nightly version ?

  1. chectl update next
  2. chectl server:deploy ...

@akurinnoy akurinnoy added the status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering. label Apr 16, 2021
@akurinnoy
Copy link
Contributor

@andr-azeez hello

I see the mistake in the deploy command you shared - the installer argument is duplicated. Could you retry using one --installer argument? Like the following:

sudo chectl server:deploy --platform=k8s --domain=l3.domain.com --multiuser --installer=operator --che-operator-cr-patch-yaml=resource.yaml

BTW could you share the failed requests from the network tab of the browser developer tool?

@andr-azeez
Copy link
Author

hi @akurinnoy

I tried with the following command, again it has the same issue

sudo chectl server:deploy --platform=k8s --domain=l3.domain.com --multiuser --installer=operator --che-operator-cr-patch-yaml=resource.yaml

@ericwill ericwill removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Apr 19, 2021
@jgueytat
Copy link

Hi guys, there are several times the same screenshot as bug report mentioning the "Error: Unable to get available storage types".

I was having the same trouble with the following command on Windows :

chectl server:deploy --platform docker-desktop --installer helm

and Linux :

chectl server:deploy --platform minikube --installer helm

I updated both to the chectl next version : 0.0.20210423-next.a9aecea.

Everythin is working like a charm now. Thanks guys !

@andr-azeez
Copy link
Author

Facing the same issue in eclipse che version - 7.29.2

Is there anything additional configuration to be given in keycloak configuration?

@tolusha
Copy link
Contributor

tolusha commented May 5, 2021

@andr-azeez
Could you try to deploy Eclipse Che in a different namespace with internal identity provider? I am wondering if it is related.
chectl server:deploy --platform=k8s --domain=l3.domain.com --installer=operator --chenamespace che

BTW I am not sure why you need sudo, could you try without it?

@tolusha
Copy link
Contributor

tolusha commented May 6, 2021

@andr-azeez
I've recently faced the same issue, page refresh helped me.

@akurinnoy
I am afraid if it is a problem on dashboard side.

@andr-azeez
Copy link
Author

I am closing this issue, since the problem is with the keycloak config. Now it is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. status/info-needed More information is needed before the issue can move into the “analyzing” state for engineering.
Projects
None yet
Development

No branches or pull requests

6 participants