Hey friends cc: <@U05FFAF4FC2>. I'm trying the age...
# flyte-connectors
b
Hey friends cc: @damp-lion-88352. I'm trying the agent stuff out and I've defined my agent configs like so:
Copy code
apiVersion: v1
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) . Do I need to specific the defaultAgent field?
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
d
hi
which propeller version are you using
the latest one?
b
v1.13.1
d
thinking and checking config
b
I've read that I don't need to do all the wiring. I've implemented the
listAgents
d
listAgents
this means that you don't need to provide suported task type in propeller's config
b
Cool.
So what do I need to get this working? Seems like it's not doing the pairing all that well.
d
1 min
solved