hi guys, I have managed to create my custom agent/...
# flyte-connectors
b
hi guys, I have managed to create my custom agent/sensor/task leveraging flyte agent framework. It simplifies a lot of complicated task and works fine. now I am decoupling my custom agent/task from the flytekit SDK and deployed it standalone to be managed by my org/teams. And then I am seeing an error that I have never seen before and did not have much info to go deeper per se. from in propeller i only see the permission error:
Copy code
s":"kk-flyte-dev3","res_ver":"10264174790","routine":"worker-2","src":"executor.go:297","wf":"shuliang-projects:development:gnn_agent_sensor_mpijob_ei_faro.distributed_multi_node_graph_training"},"level":"debug","msg":"Transitioning/Recording event for workflow state transition [Failing] -\u003e [Failed]","ts":"2024-09-23T07:20:30Z"}
any idea what’s happening? is there some other place we can look at for what caused permission of creating the custom task?
d
I've never seen this error before
does it work well in local execution?
b
I have not tried the local execution though. still figuring out where is this even coming from.. e.g. from propeller? admin, etc..
d
Transitioning/Recording event
I think it's from propeller
there's 0 code related to admin when developing agent-service
it's all in propeller
b
yeah I saw the log from propeller, but didnt have more information why propeller failed like that…
d
this is a hard one, let me ask some OSS contributors.
Hi all, sorry for the direct ping, but I could really use some help with an issue. Has anyone encountered this error while developing custom agents? @gorgeous-waitress-5026 @colossal-nightfall-74781 @dry-egg-91175 @brief-window-55364 Thank you all!
Can you help me check this? https://github.com/flyteorg/flytekit/blob/master/flytekit/extend/backend/utils.py#L18-L31 Maybe your
TaskExecution.Phase
is not readable for propeller?
b
sure. what do you need? just you know that the task execution is readable when not running stanalone?
g
I haven't seen this one pop up at all in our agent (and we've been running with agents for ~ 6 months now)
d
I mean print the
TaskExecution.Phase
to check if it is readable for propeller or not
it will be an integer number
b
Thanks for the follow up Han-Ru, Ethan and Kevin. I think I might know what went wrong, will update when I had more data later today.
d
nice, thank you so much