Skip to content

"error": "Pod \"arc-runner-set-5dmdc-runner-98fqm\" is invalid: metadata.labels: Invalid value: \"“true”\" #4372

@tibers

Description

@tibers

Checks

Controller Version

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

Upgrade from 0.13.0 to 0.13.1

Describe the bug

After upgrading we originally got bit by #4356 - so I uninstalled the runners completely (the runners and the controller) and deleted their namespaces. This hung at arc-systems and I had to delete it by editing the finalizers.

Reinstalled the 0.13.1 chart and started getting:

2026-02-06T18:28:29Z    ERROR   EphemeralRunner Failed to create pod resource for ephemeral runner.     {"version": "0.13.0", "ephemeralrunner": {"name":"arc-runner-set-5dmdc-runner-98fqm","namespace":"arc-runners"}, "error": "Pod \"arc-runner-set-5dmdc-runner-98fqm\" is invalid: metadata.labels: Invalid value: \"“true”\": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')"}
github.com/actions/actions-runner-controller/controllers/actions%2egithub%2ecom.(*EphemeralRunnerReconciler).createPod
        github.com/actions/actions-runner-controller/controllers/actions.github.com/ephemeralrunner_controller.go:687
github.com/actions/actions-runner-controller/controllers/actions%2egithub%2ecom.(*EphemeralRunnerReconciler).Reconcile
        github.com/actions/actions-runner-controller/controllers/actions.github.com/ephemeralrunner_controller.go:278
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:216](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:216)
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:461](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:461)
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:421](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:421)
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func1.1
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:296](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:296)
2026-02-06T18:28:29Z    ERROR   EphemeralRunner Failed to create a pod due to unrecoverable failure     {"version": "0.13.0", "ephemeralrunner": {"name":"arc-runner-set-5dmdc-runner-98fqm","namespace":"arc-runners"}, "error": "Pod \"arc-runner-set-5dmdc-runner-98fqm\" is invalid: metadata.labels: Invalid value: \"“true”\": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')"}
github.com/actions/actions-runner-controller/controllers/actions%2egithub%2ecom.(*EphemeralRunnerReconciler).Reconcile
        github.com/actions/actions-runner-controller/controllers/actions.github.com/ephemeralrunner_controller.go:286
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:216](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:216)
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:461](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:461)
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:421](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:421)
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func1.1
        [sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:296](mailto:sigs.k8s.io/controller-runtime@v0.22.3/pkg/internal/controller/controller.go:296)
2026-02-06T18:28:29Z    INFO    EphemeralRunner Updating ephemeral runner status to Failed      {"version": "0.13.0", "ephemeralrunner": {"name":"arc-runner-set-5dmdc-runner-98fqm","namespace":"arc-runners"}}

So then I did the same - I uninstalled the charts, deleted the namespaces, and re-installed 0.13.0 which was our "known good" version. However this did not solve the problem, it's still complaining about labels in the logs.

Not really sure where to go from here. :(

Running K8s version 1.32 on AWS's EKS.

Describe the expected behavior

Don't screw up.

Additional Context

We're using the default here except for the URLs and PATs to the enterprise.

Controller Logs

see above

Runner Pod Logs

nil

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