-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 s2i binary builds seem broken in 6.3 #4735
Comments
Ignore my previous comment. This is the place in the code that uses expectContinue - which is broken against things like the mock server depending upon which client is be used. What client is being used in this scenario? |
OkHttp / OpenShiftClient When upgrading JKube to 6.3.1 (eclipse-jkube/jkube#1988) the oc:build goal which performs an S2i binary build will freeze in the step in which the binary is uploaded to the server. Cancelling the local operation after a while will unlock the server process so the cluster will continue with the build. It's my understanding that the binary is uploaded, but the client doesn't get notified of the request completion (but need to investigate more though) |
It seems that the Line 28 in 73572bb
This value is case-sensitive and should be Since Line 265 in 73572bb
and this is the switch to the constant is the most notable change between 6.1 and 6.3, it's very likely that the problem is related to it. An easy way to check this is by using the JDK client instead, since it's not relying on the constant. |
Should be fixed by #4766 |
Describe the bug
While upgrading Eclipse JKube to use Kubernetes Client 6.3.1 eclipse-jkube/jkube#1988, we've detected that binary builds are not completed.
It seems that the binary upload is not working as expected and the HTTP request never completes.
The call:
will hang forever.
There's a very simple unit test to verify this logic:
kubernetes-client/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/BuildConfigTest.java
Line 208 in 1e944fc
But there's no real e2e test verifying this scenario.
Fabric8 Kubernetes Client version
6.3.1
Steps to reproduce
Create an OpenShift binary build:
Expected behavior
The binary build should complete successfully
Runtime
OpenShift
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Fabric8 Kubernetes Client Logs
No response
Additional context
Point of failure:
kubernetes-client/openshift-client/src/main/java/io/fabric8/openshift/client/dsl/internal/build/BuildConfigOperationsImpl.java
Lines 267 to 271 in 1d3e263
kubernetes-client/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/OperationSupport.java
Line 515 in 1d3e263
The text was updated successfully, but these errors were encountered: