Skip to content

v0.12.1 | Controller Error "pods already exists" causing reconciliation error to spike #4223

@rajesh-dhakad

Description

@rajesh-dhakad

Checks

Controller Version

0.12.1

Deployment Method

Helm

Checks

  • This isn't a question or user support case (For Q&A and community support, go to Discussions).
  • I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes

To Reproduce

None

Describe the bug

Seeing a spike in reconciliation error.

Image

Describe the expected behavior

The controller should handle this error.

Additional Context

None

Controller Logs

{"severity":"error","ts":"2025-08-21T12:04:10Z","logger":"EphemeralRunner","message":"Failed to create pod resource for ephemeral runner.","version":"0.12.1","ephemeralrunner":{"name":"general-low-6vl9g-runner-wzh24","namespace":"arc-runners"},"error":"pods \"general-low-6vl9g-runner-wzh24\" already exists","stacktrace":"github.com/actions/actions-runner-controller/controllers/actions%2egithub%2ecom.(*EphemeralRunnerReconciler).createPod\n\tgithub.com/actions/actions-runner-controller/controllers/actions.github.com/ephemeralrunner_controller.go:663\ngithub.com/actions/actions-runner-controller/controllers/actions%2egithub%2ecom.(*EphemeralRunnerReconciler).Reconcile\n\tgithub.com/actions/actions-runner-controller/controllers/actions.github.com/ephemeralrunner_controller.go:246\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:334\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:255"}
{"severity":"error","ts":"2025-08-21T12:04:10Z","logger":"EphemeralRunner","message":"Failed to create the pod","version":"0.12.1","ephemeralrunner":{"name":"general-low-6vl9g-runner-wzh24","namespace":"arc-runners"},"error":"pods \"general-low-6vl9g-runner-wzh24\" already exists","stacktrace":"github.com/actions/actions-runner-controller/controllers/actions%2egithub%2ecom.(*EphemeralRunnerReconciler).Reconcile\n\tgithub.com/actions/actions-runner-controller/controllers/actions.github.com/ephemeralrunner_controller.go:259\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:334\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:255"}
{"severity":"error","ts":"2025-08-21T12:04:10Z","message":"Reconciler error","controller":"ephemeralrunner","controllerGroup":"actions.github.com","controllerKind":"EphemeralRunner","EphemeralRunner":{"name":"general-low-6vl9g-runner-wzh24","namespace":"arc-runners"},"namespace":"arc-runners","name":"general-low-6vl9g-runner-wzh24","reconcileID":"af2982c8-a3de-4f25-9299-bcdec9658ead","error":"pods \"general-low-6vl9g-runner-wzh24\" already exists","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:347\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:294\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:255"}

Runner Pod Logs

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggha-runner-scale-setRelated to the gha-runner-scale-set modeneeds triageRequires review from the maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions