The Sentinels don't start properly. Interestingly it works on a 1.21.6 k8s cluster but not on 1.21.4.
The operator logs this error:
[redis-operator-7c4d99778d-jnj5h] time="2023-06-01T09:25:36Z" level=error msg="error on object processing: Service \"rfs-borage\" is invalid: [spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset, spec.ipFamilies[0]: Invalid value: []core.IPFamily(nil): primary ipFamily can not be unset]" controller-id=redisfailover object-key=default/borage operator=redisfailover service=kooper.controller src="controller.go:279"
The Sentinels log this:
sentinel 1:X 01 Jun 2023 09:25:19.288 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
sentinel 1:X 01 Jun 2023 09:25:19.288 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
sentinel 1:X 01 Jun 2023 09:25:19.288 # Configuration loaded
sentinel 1:X 01 Jun 2023 09:25:19.289 * monotonic clock: POSIX clock_gettime
sentinel 1:X 01 Jun 2023 09:25:19.289 * Running mode=sentinel, port=26379.
sentinel 1:X 01 Jun 2023 09:25:19.290 # Sentinel ID is 9edbe61e2d3824ec1674077b6df6d78f96a07bac
sentinel 1:X 01 Jun 2023 09:25:19.290 # +monitor master mymaster 127.0.0.1 6379 quorum 2
sentinel 1:X 01 Jun 2023 09:25:20.334 # +sdown master mymaster 127.0.0.1 6379
Expected behaviour
Sentinels and Redis failovers start.
Actual behaviour
The Sentinels don't start properly. Interestingly it works on a 1.21.6 k8s cluster but not on 1.21.4.
The operator logs this error:
[redis-operator-7c4d99778d-jnj5h] time="2023-06-01T09:25:36Z" level=error msg="error on object processing: Service \"rfs-borage\" is invalid: [spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset, spec.ipFamilies[0]: Invalid value: []core.IPFamily(nil): primary ipFamily can not be unset]" controller-id=redisfailover object-key=default/borage operator=redisfailover service=kooper.controller src="controller.go:279"
The Sentinels log this:
The service looks fine:
k get service rfs-borage -o yaml
Steps to reproduce the behaviour
Environment
Logs