incalculable-ice-13425
08/04/2023, 10:31 AMpyflyte run
Initially, I submitted a containerTask which uses PodTemplate with a specific volume mount.
Then, I tried to submit that task again with different values for VolumeMount in the PodSpec. But, I’m getting this error if I try to do pyflyte run
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
details: task with different structure already exists with id resource_type:TASK project:"flytesnacks" domain:"development" name:"initialize_input" version:"BBXk2N9m_E1CcvzZ-s31MQ=="
Debug string UNKNOWN:Error received from peer {created_time:"2023-08-04T15:49:43.934961024+05:30", grpc_status:3, grpc_message:"task with different structure already exists with id resource_type:TASK project:\"flytesnacks\" domain:\"development
\" name:\"initialize_input\" version:\"BBXk2N9m_E1CcvzZ-s31MQ==\" "}
incalculable-ice-13425
08/04/2023, 10:31 AMincalculable-ice-13425
08/04/2023, 12:32 PMinitialize_input_1
. It didn’t work, same error.
Then, I ended up changing the workflow name by adding _1
which solved this error.
But, that seems a bit odd to change the workflow name itself to resolve such conflicts.
Any idea, how can I use the same workflow_name by resolving this conflict.average-winter-43654
08/05/2023, 9:57 AMpyflyte register
or register_script
, one can enter version
when registering a workflow. By entering different version, this issue can be avoided. It seems that pyflyte run
does not provide the option to enter a version.tall-lock-23197
pyflyte run
fail with the error you mentioned even after updating the PodTemplate
?incalculable-ice-13425
08/07/2023, 5:51 AMPodTemplate
didn’t help.tall-lock-23197
high-accountant-32689
08/07/2023, 3:51 PM