-
Bug
-
Resolution: Done
-
Major
-
None
-
1.43.0.Final, 1.44.0.Final
-
False
-
None
-
False
-
Issue found in the container image provided in the sonataflow CR.
-
---
-
---
-
-
-
2023 Week 36-38 (from Sep 4)
Problem: Jep libraries (libjep.so and jep.cpython-311-x86_64-linux-gnu.so) are not in the java.library.path. This causes an error when the application attempts to interact with the jep code:
Caused by: java.lang.UnsatisfiedLinkError: no jep in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2678)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
at java.base/java.lang.System.loadLibrary(System.java:1886)
at jep.MainInterpreter.initialize(MainInterpreter.java:129)
at jep.MainInterpreter.getMainInterpreter(MainInterpreter.java:101)
at jep.Jep.<init>(Jep.java:133)
at jep.SharedInterpreter.<init>(SharedInterpreter.java:60)
at org.kie.kogito.serverless.workflow.python.PythonWorkItemHandlerUtils.interpreter(PythonWorkItemHandlerUtils.java:38)
at org.kie.kogito.serverless.workflow.python.PythonScriptWorkItemHandler.internalExecute(PythonScriptWorkItemHandler.java:40)
at org.kie.kogito.serverless.workflow.WorkflowWorkItemHandler.executeWorkItem(WorkflowWorkItemHandler.java:40)
Steps to reproduce:
- Deploy the latest code of the sonataflow operator
- Deploy the sonataflow demo (https://github.com/hbelmiro/sonataflow-inference-pipeline-demo).Note that you'll need to change the base image referenced in the 01-sonataflow-platform.yaml` to quay.io/ricardozanini/sonataflow-python-devmode:latest
- Wait for the pod to be in running and ready state.
- Launch the route provided (oc get route)
- Upload image attached in the ticket and click the `process image` button
Expected result:
- Image is processed correctly
Actual result:
- Image fails to process and the pod logs show the stacktrace shown earlier.
- is caused by
-
KOGITO-9265 [Operator] Add the PodSpecTemplate to the SonataFlow CR
- Resolved
- is related to
-
KOGITO-9957 Pod instances keep spawning and terminating when deploying the workflow
- Resolved