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

Unable to create workspace on Openshift 4.8 #19988

Closed
5 of 23 tasks
flacatus opened this issue Jun 16, 2021 · 3 comments
Closed
5 of 23 tasks

Unable to create workspace on Openshift 4.8 #19988

flacatus opened this issue Jun 16, 2021 · 3 comments
Labels
area/che-server 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

@flacatus
Copy link
Contributor

flacatus commented Jun 16, 2021

Describe the bug

During 7.32.0 release, the tests fails in openshift 4.8 nightly when create a workspace throwing the next error:

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://172.30.0.1/apis/authorization.openshift.io/v1/namespaces/admin-che/rolebindings/admin. Message: Get "https://172.30.0.1:443/apis/rbac.authorization.k8s.io/v1/namespaces/admin-che/rolebindings/admin": net/http: invalid header field name "Impersonate-Extra-authentication.kubernetes.io/pod-uid". Received status: Status(apiVersion=v1, code=500, details=null, kind=Status, message=Get "https://172.30.0.1:443/apis/rbac.authorization.k8s.io/v1/namespaces/admin-che/rolebindings/admin": net/http: invalid header field name "Impersonate-Extra-authentication.kubernetes.io/pod-uid", metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=null, status=Failure, additionalProperties={}).

Openshift CI JOB: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/eclipse-che_che-operator/871/pull-ci-eclipse-che-che-operator-7-v8-che-operator-update/1405134709763084288/

Che Full Log: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/eclipse-che_che-operator/863/pull-ci-eclipse-che-che-operator-main-v8-single-host-nightly-deployment/1405134773873020928/artifacts/single-host-nightly-deployment/gather-extra/artifacts/pods/eclipse-che_che-7cc7f66469-hmtkf_che.log

21-06-16 15:25:15,835[nio-8080-exec-2]  [INFO ] [o.e.c.a.w.s.WorkspaceManager 693]    - Workspace 'admin/golang-htlm8' with id 'workspace4grkhcj76pzaspbk' created by user 'admin'
2021-06-16 15:25:19,254[nio-8080-exec-1]  [ERROR] [c.a.c.r.RuntimeExceptionMapper 47]   - Internal Server Error occurred, error time: 2021-06-16 15:25:19
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://172.30.0.1/apis/authorization.openshift.io/v1/namespaces/admin-che/rolebindings/admin. Message: Get "https://172.30.0.1:443/apis/rbac.authorization.k8s.io/v1/namespaces/admin-che/rolebindings/admin": net/http: invalid header field name "Impersonate-Extra-authentication.kubernetes.io/pod-uid". Received status: Status(apiVersion=v1, code=500, details=null, kind=Status, message=Get "https://172.30.0.1:443/apis/rbac.authorization.k8s.io/v1/namespaces/admin-che/rolebindings/admin": net/http: invalid header field name "Impersonate-Extra-authentication.kubernetes.io/pod-uid", metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=null, status=Failure, additionalProperties={}).
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:639)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:578)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:543)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:504)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:471)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:453)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet(BaseOperation.java:947)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory(BaseOperation.java:221)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:187)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:86)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.lambda$createOrReplace$1(BaseOperation.java:416)
	at io.fabric8.kubernetes.client.utils.CreateOrReplaceHelper.createOrReplace(CreateOrReplaceHelper.java:59)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.createOrReplace(BaseOperation.java:419)

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. Create a ocp4.8 nightly cluster using clusterbot
  2. . Download operator code and checkout to 7.32.0 branch
  3. Execute /bin/bash .ci/cico_updates_openshift.sh

Expected behavior

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)-> OCP 4.8-nightly
  • 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

Eclipse Che Logs

Additional context

@flacatus flacatus added the kind/bug Outline of a bug - must adhere to the bug report template. label Jun 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 Jun 16, 2021
@skabashnyuk skabashnyuk added area/che-server severity/P1 Has a major impact to usage or development of the system. labels Jun 17, 2021
@tolusha tolusha changed the title Unable to create workspace on Openshift 4.8 Unable to create workspace on Openshift 4.8 via chectl Jun 17, 2021
@flacatus
Copy link
Contributor Author

I was able to reproduce from UI dashboard the problem:

  1. I've installed CRW in fresh cluster
  2. Start Java Maven namespace and crash
  3. Start again Java maven workspace and start to work

@dmytro-ndp dmytro-ndp added team/platform and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jun 17, 2021
@tolusha tolusha changed the title Unable to create workspace on Openshift 4.8 via chectl Unable to create workspace on Openshift 4.8 Jun 18, 2021
@xbaran4
Copy link
Contributor

xbaran4 commented Jun 23, 2021

This is a verified bug on openshift 4.8. https://bugzilla.redhat.com/show_bug.cgi?id=1972687
Should be fixed by openshift/openshift-apiserver#219 but is not yet known when it will show up in new 4.8 RC (openshift/openshift-apiserver#219 (comment))

@xbaran4 xbaran4 closed this as completed Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server 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