F

Flyte enables you to build & deploy data & ML pipelines, hassle-free. The infinitely scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks. Explore and Join the Flyte Community!

Agent Configuration Execution Failures

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.

Status
open
Tags
  • flyte
  • ConfigMap
  • v1.13.1
  • gRPC Error
  • Agent Config
  • gRPC
  • Configuration Issue
  • Developer Help
  • mockAgent
  • Execution Error
  • Configuration Issues
  • Plugin Issue
  • Bug Report
Source
#flyte-agents
    e

    eric901201

    10/21/2024

    solved

    e

    eric901201

    10/21/2024

    1 min

    r

    rafaelraposo

    10/21/2024

    So what do I need to get this working? Seems like it's not doing the pairing all that well.

    r

    rafaelraposo

    10/21/2024

    Cool.

    e

    eric901201

    10/21/2024

    > listAgents this means that you don't need to provide suported task type in propeller's config

    r

    rafaelraposo

    10/21/2024

    I've read that I don't need to do all the wiring. I've implemented the listAgents

    e

    eric901201

    10/21/2024

    thinking and checking config

    r

    rafaelraposo

    10/21/2024

    v1.13.1

    e

    eric901201

    10/21/2024

    the latest one?

    e

    eric901201

    10/21/2024

    which propeller version are you using

    e

    eric901201

    10/21/2024

    hi

    r

    rafaelraposo

    10/21/2024

    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

    r

    rafaelraposo

    10/21/2024

    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) .