important-hamburger-34837
10/09/2023, 8:10 AMRPC Failed, with Status: StatusCode.INVALID_ARGUMENT
details: task with different structure already exists with id resource_type:TASK project:"project_name" domain:"staging" name:"some_task_name" version:"Eg1iLWFry-AOPcFmT5AdYQ=="
One suggested solution is to archive the existing tasks. but that didn't solve the issue.
I tried deleting the workflow & tasks, but flytectl delete
doesn't delete tasks or workflows (is this intentional ?).
how to properly delete registered tasks completely (no archive)?
this is critical I believe
CC: @damp-lion-88352 @elegant-toddler-67101damp-lion-88352
10/09/2023, 8:13 AMflytectl delete
However, I know how to trace the code.
You can go to flytectl
and search for the delete
keyword to check if it is implemented or not.
It will probably communicate with flyteadmin
, and flyteadmin
will delete the workflows & tasks.tall-lock-23197
important-hamburger-34837
10/09/2023, 10:01 AMimportant-hamburger-34837
10/09/2023, 10:01 AMtall-lock-23197
freezing-airport-6809
freezing-airport-6809
important-hamburger-34837
10/10/2023, 11:02 PMdetails: launch plan with different structure already exists with id resource_type:LAUNCH_PLAN
important-hamburger-34837
10/10/2023, 11:02 PMtall-lock-23197
pyflyte run
or pyflyte register
, you don't need to specify a version as Flyte automatically computes one.important-hamburger-34837
10/11/2023, 6:20 AMimportant-hamburger-34837
10/11/2023, 6:23 AMtall-lock-23197
important-hamburger-34837
10/11/2023, 6:24 AMtall-lock-23197
In pyflyte run there is no —version optionYes.
pyflyte run
fast registers, hence there's no version.tall-lock-23197
YesIf you've, then the version must be updated.
tall-lock-23197
pyflyte register --non-fast --version <your-version>
important-hamburger-34837
10/11/2023, 6:25 AMimportant-hamburger-34837
10/11/2023, 6:26 AMtall-lock-23197
important-hamburger-34837
10/11/2023, 6:26 AMtall-lock-23197
tall-lock-23197
So i need to use run for development at least just to test thingsGot it. Can you share the stack trace? Can you also update the code once again and share me the stack trace?
important-hamburger-34837
10/11/2023, 6:29 AMimportant-hamburger-34837
10/11/2023, 6:31 AMimportant-hamburger-34837
10/11/2023, 6:31 AM