Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using TLS, the operator cannot reconcile because TLS does not sign the pod name #447

Closed
muicoder opened this issue Feb 23, 2023 · 3 comments · May be fixed by #763
Closed

When using TLS, the operator cannot reconcile because TLS does not sign the pod name #447

muicoder opened this issue Feb 23, 2023 · 3 comments · May be fixed by #763
Labels
bug Something isn't working

Comments

@muicoder
Copy link
Contributor

What version of redis operator are you using?

kubectl logs <_redis-operator_pod_name> -n <namespace>

redis(replication) logs:

redis error:0A000126:SSL routines::unexpected eof while reading

operator logs:

{"level":"error","ts":1677121497.5900624,"logger":"controller_redis","msg":"Failed to Get the role Info of the","Request.RedisManager.Namespace":"redis","Request.RedisManager.Name":"replication","redis pod":"replication-1","error":"x509: certificate is valid for replication, replication.redis, not replication-1","stacktrace":"redis-operator/k8sutils.GetRedisNodesByRole\n\t/workspace/k8sutils/redis.go:464\nredis-operator/controllers.(*RedisReplicationReconciler).Reconcile\n\t/workspace/controllers/redisreplication_controller.go:81\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227"}

redis-operator version: v0.14.0

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (kubectl version)?

kubectl version Output
$ kubectl version

What did you do?

What did you expect to see?

What did you see instead?

@egorksv
Copy link

egorksv commented Jan 30, 2024

This is blocking issue, any resolutions?

@drivebyer
Copy link
Collaborator

does it reproducable on the latest code?

@egorksv
Copy link

egorksv commented Jan 31, 2024

@drivebyer yes, on master as well, sent the PR to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants