cuddly-jelly-27016
05/26/2025, 12:10 AMRequests overridden on node dn1 (<FlyteLiteral(NodeMetadata) name: "<task name appears here>" retries { retries: 2 }>) without specifying limits. Requests are clamped to original limits.
More details, as described in Flyte Slack Community:
I am running interruptible workflows by setting the interruptible flag at the workflow level, which causes all tasks in the workflow to be run as interruptible (even if they have no interruptible flag specifically set) which is my intention.
This is working, but I see an error associated with each task called by this workflow, referring to the retries param for the task:
Requests overridden on node dn1 (<FlyteLiteral(NodeMetadata) name: "rf_v2_train_and_test_task" retries { retries: 2 }>) without specifying limits. Requests are clamped to original limits.
I have supplied the argument retries=2 to my tasks, because I want to ensure that if the spot instance is reclaimed, it will be retried once more on a spot instance, and finally, if it is reclaimed again, it will be run on an on-demand instance. That is my understanding of these docs :
If you set retries=n, for instance, and the task gets preempted repeatedly, Flyte will retry on a preemptible/spot instance n-1 times and for the last attempt will retry your task on a non-spot (regular) instance. Please note that tasks will only be retried if at least one retry is allowed using the retries parameter in the task decorator.
I don't understand the meaning of the error message, and what I should be doing differently. I was suggested in the Flyte Slack Community by a member of Union that this looks like a bug, and that I should file an issue.
### Expected behavior
I expect to not receive the logged error message.
### Additional context to reproduce
No response
### Screenshots
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/26/2025, 12:10 AM