https://flyte.org logo
#ask-the-community
Title
# ask-the-community
n

Nuno Martins

06/15/2023, 8:00 AM
Hello, I am trying to create a custom image to use for flyte workflows through the
--image
parameter. I am interested in using whylogs, but if I include flyteplugins-whylogs (tried 1.4.2, 1.5.0, 1.6.1, 1.6.2 and 1.7.0), all my workflows fail without error message, even if I'm not importing whylogs in my code. On the other hand, if I remove this plugin, the workflows work normally. Is there something wrong with the plugin?
e

Erik Dao

06/15/2023, 8:40 AM
How are you specifying the
--image
parameter. My experience is that the default Flyte Docker image comes with battery not included. So if you want to use 3party libraries, you’ll need to build your own docker image, and use that image to run your tasks, workflows
n

Nuno Martins

06/15/2023, 8:41 AM
I am building my own image and hosting it on dockerhub. I am able to use it to run workflows, but when I install this specific plugin in the image, all my workflows fail without error message.
s

Samhita Alla

06/15/2023, 8:55 AM
Have you checked the pod logs?
kubectl logs <pod-name> -n <namespace>
n

Nuno Martins

06/15/2023, 9:09 AM
There are no logs. Only log I get is:
Copy code
tar: Removing leading `/' from member names
Which I also get when the run is successful without the plugin.
s

Samhita Alla

06/15/2023, 11:58 AM
Are you able to run the code successfully locally?
e

Erik Dao

06/15/2023, 12:05 PM
@Nuno Martins You can ignore that log. Not a solution, but rather a hack that might help you debug. Sometimes, you have to be really quick to see the log of the pod before they got clear. That’s my experience. Also, if possible, can you provide some code snippets so we have more insights on what you’re trying to do and can triage the errors.
n

Nuno Martins

06/15/2023, 12:07 PM
It's an empty workflow, it only has 1 task with a no-op. Regarding logs, I'm capturing them with a datadog agent, so they should show up regardless. I'm not even importing anything related to whylogs, only base python libraries
76 Views