Nizar Hattab
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: @L godlike @Ariel KaspitL godlike
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.Samhita Alla
Nizar Hattab
10/09/2023, 10:01 AMSamhita Alla
Ketan (kumare3)
Nizar Hattab
10/10/2023, 11:02 PMdetails: launch plan with different structure already exists with id resource_type:LAUNCH_PLAN
Samhita Alla
pyflyte run
or pyflyte register
, you don't need to specify a version as Flyte automatically computes one.Nizar Hattab
10/11/2023, 6:20 AMSamhita Alla
Nizar Hattab
10/11/2023, 6:24 AMSamhita Alla
In pyflyte run there is no —version optionYes.
pyflyte run
fast registers, hence there's no version.YesIf you've, then the version must be updated.
pyflyte register --non-fast --version <your-version>
Nizar Hattab
10/11/2023, 6:25 AMSamhita Alla
Nizar Hattab
10/11/2023, 6:26 AMSamhita Alla
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?
Nizar Hattab
10/11/2023, 6:29 AM