Checks
Controller Version
0.11.0
Deployment Method
Helm
Checks
To Reproduce
1. Stay on 0.10.1 on controller and scale set
2. Upgrade to both 0.11.0
3. Check listener logs
4. Revert back to 0.10.1
Describe the bug
During upgrade listener was recreated with the image version 0.11.0 and restarting due to error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1844383]
goroutine 1 [running]:
github.com/actions/actions-runner-controller/cmd/ghalistener/app.New({{0xc0000465e0, 0x1a}, 0x0, 0x0, {0x0, 0x0}, {0xc000430120, 0x28}, {0xc0003053b0, 0x10}, ...})
github.com/actions/actions-runner-controller/cmd/ghalistener/app/app.go:73 +0x3e3
main.main()
github.com/actions/actions-runner-controller/cmd/ghalistener/main.go:27 +0x1f8
Stream closed EOF for gha-runners-controller/k8s-dind-6746d74f-listener (listener)
Reverting back to 0.10.1 fixes the issue.
Config wasn't changed during the upgrade.
PS. Controller has no backward compatibility for 0.11.0 version with scale set on 0.10.1. Version should be aligned.
Describe the expected behavior
Smooth upgrade from 0.10.1 to 0.11.0
Additional Context
Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-45-generic x86_64)
k8s version: v1.31.1+rke2r1
Controller Logs
Runner Pod Logs
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1844383]
goroutine 1 [running]:
github.com/actions/actions-runner-controller/cmd/ghalistener/app.New({{0xc0000465e0, 0x1a}, 0x0, 0x0, {0x0, 0x0}, {0xc000430120, 0x28}, {0xc0003053b0, 0x10}, ...})
github.com/actions/actions-runner-controller/cmd/ghalistener/app/app.go:73 +0x3e3
main.main()
github.com/actions/actions-runner-controller/cmd/ghalistener/main.go:27 +0x1f8
Stream closed EOF for gha-runners-controller/k8s-dind-6746d74f-listener (listener)
Checks
Controller Version
0.11.0
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
During upgrade listener was recreated with the image version 0.11.0 and restarting due to error:
Reverting back to 0.10.1 fixes the issue.
Config wasn't changed during the upgrade.
PS. Controller has no backward compatibility for 0.11.0 version with scale set on 0.10.1. Version should be aligned.
Describe the expected behavior
Smooth upgrade from 0.10.1 to 0.11.0
Additional Context
Controller Logs
Runner Pod Logs