Summary
The user is experimenting with agent configurations and has created a ConfigMap for an agent called "mockAgent" but is facing execution failures due to a gRPC connection error. Despite being able to list the configuration successfully, the user receives an error message indicating that the default plugin for certain task types is not configured as an enabled plugin. They are using propeller version v1.13.1 and are checking their configuration, noting that they have implemented the listAgents
function, which suggests that specifying supported task types in the propeller's config may not be necessary.
eric901201
solved
eric901201
1 min
rafaelraposo
So what do I need to get this working? Seems like it's not doing the pairing all that well.
rafaelraposo
Cool.
eric901201
> listAgents this means that you don't need to provide suported task type in propeller's config
rafaelraposo
I've read that I don't need to do all the wiring. I've implemented the listAgents
eric901201
thinking and checking config
rafaelraposo
v1.13.1
eric901201
the latest one?
eric901201
which propeller version are you using
eric901201
hi
rafaelraposo
I took a look at this thread. Added the minimums described here https://flyte-org.slack.com/archives/C06SYN9QJ5N/p1727908859362339
And started to get
Cannot set default plugin [flyte-mock-agent] for task types [[task1 task2]] when it is not configured to be an enabled plugin. Please double check the flytepropeller config
rafaelraposo
Hey friends cc: <@U05FFAF4FC2>. I'm trying the agent stuff out and I've defined my agent configs like so:
data:
config.yaml: |
plugins:
agent-service:
agents:
mockAgent:
endpoint: 'dns:///flyte-mock-agent'
insecure: true
defaultServiceConfig: '{"loadBalancingConfig": [{"round_robin":{}}]}'
timeouts:
ExecuteTaskSync: 300s
GetTask: 100s
defaultTimeout: 30s
kind: ConfigMap```
Note: the lack of `defaultAgent`
But my executions are failing with `[1/1] currentAttempt done. Last Error: USER::failed to get grpc connection with error: failed to exit idle mode: passthrough: received empty target in Build()` which seems like it's not picking up the config correctly (even tough I know it's doing the listing just fine) .