Skip to content

Expect table output from Lua script, not nil #22084

@samtbg

Description

@samtbg

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

Since upgrading to 2.14 I'm seeing an error in our logs each time a resource (pod, service etc.) is clicked on and viewed in the UI; there aren't any issues in functionality/errors that pop up in the UI though.

To Reproduce

Install the latest version of ArgoCD (via Helm chart), deploy an application/application-set and click on a resource in the UI, then check the server logs for the following error message.

Version

argocd-server: v2.14.2+ad27246

Logs

time="2025-02-28T11:18:28Z" level=error msg="finished unary call with code Unknown" error="error getting available actions: error executing Lua discovery script: expect table output from Lua script, not nil" grpc.code=Unknown grpc.method=ListResourceActions grpc.service=application.ApplicationService grpc.start_time="2025-02-28T11:18:28Z" grpc.time_ms=14.726 span.kind=server system=grpc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmore-information-neededFurther information is requestedversion:2.14Latest confirmed affected version is 2.14

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions