-
Notifications
You must be signed in to change notification settings - Fork 669
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
[BUG] Custom PythonTask fails with: invalid TaskSpecification, unable to determine Pod configuration #4985
Comments
Thank you for opening your first issue here! 🛠 |
🤖 Hey @ksundeepsatya, great to see you diving into the depths of Flyte again! Hope all's been well on your end. Based on the error message you provided, it seems like there's an issue with how the task's pod configuration is specified or interpreted by the Flyte system in a remote environment. This error typically occurs when the task's specification does not include all the necessary information for the Flyte system to correctly create a Kubernetes pod for executing the task, or when there is a mismatch in the expected configuration. Here are a few areas to check in your task specification:
To resolve the issue, review your task's specification against the FlyteIDL definition to ensure all required fields are correctly populated and that there are no mismatches in resource definitions or pod configurations. Additionally, consulting the Flyte documentation for the specific version of Flyte you are using remotely can help identify any version-specific requirements or changes in the task specification process. You can refer to the FlyteIDL definition for more details. I hope this helps! If you have any more questions or need further clarification, feel free to ask. Sources
|
@ksundeepsatya , can you try using a Essentially define
This will make it so that the |
I am trying out user container task plugins example from Flyte docs . This works fine in local testing but, when I try it out on flyte remote (Flyte demo) it fails. This is the error:
Error
Workflow[flytesnacks:development:flyte_tmp.pre_built_container.my_workflow] failed. RuntimeExecutionError: max number of system retry attempts [11/10] exhausted. Last known status message: failed at Node[n0]. RuntimeExecutionError: failed during plugin execution, caused by: failed to execute handle for plugin [container]: [BadTaskSpecification] invalid TaskSpecification, unable to determine Pod configuration
pod doesn't even launch. I am on flyte 1.10.2.
Code
Code I have (note: this is same as the one in the docs):
steps to reproduce:
The text was updated successfully, but these errors were encountered: