<#4349 [BUG] Etcdserver: request is too large erro...
# flyte-github
a
#4349 [BUG] Etcdserver: request is too large error causing never-ending tasks and log spamming Issue created by deadlycoconuts Describe the bug We’ve observed this issue whereby the FlytePropeller isn’t failing workflows that cannot be written to the etcd store. These workflows get stuck in an enqueue/resync/fail loop which repeats itself every minute or so indefinitely, even though they are shown as ‘failed’ on the FlyteConsole. This also floods our logging services with redundant logs. We tried toggling the
useOffloadedWorkflowClosure
flag but unfortunately it didn’t help resolve the etcd errors that we’ve been seeing from the FlytePropeller. We’ve restarted both the FlyteAdmin and the FlytePropeller deployments after updating the configs but that didn’t seem to stop the existing executions from throwing the etcd errors continuously. In the end we had to delete the affected executions one by one manually to stop them from being scheduled endlessly. There are some related issues and fixes that we found from 2-3 years ago which do not seem to work anymore, so we’re wondering what might’ve changed since: Related Issues • #363 • #511 Related Fixes • flyteorg/flytepropeller#240 In particular, it seems like this if condition is no longer working as expected: flyte/flytepropeller/pkg/controller/workflowstore/passthrough.go Line 99 in </flyteorg/flyte/commit/c6476cc178e576a4b7853d5d2adcb54081848974|c6476cc> Expected behavior Tasks should never end up in a state where they are retried endlessly and should be terminated with an error if there is an issue updating their state. Additional context to reproduce No response Screenshots Here are some images to illustrate the problem that I’ve described: 1. Affected workflow - this was first executed at 2.17 AM (SGT/HKT) on the 7th of October and failed at around 2.34 AM; it was however being restarted endlessly ever since

image▾

2. FlytePropeller logs when the workflow first failed

image▾

3. FlytePropeller logs 11 days after the initial failure

image▾

Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte