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

TLS handshake failure in csi-addons-controller-manager #750

Closed
ELENAGER opened this issue Jan 20, 2025 · 6 comments · Fixed by #756
Closed

TLS handshake failure in csi-addons-controller-manager #750

ELENAGER opened this issue Jan 20, 2025 · 6 comments · Fixed by #756

Comments

@ELENAGER
Copy link

The following error appears in csi-addons-controller-manager log:

2025-01-20T11:55:44.579Z ERROR Failed to establish connection with sidecar {"controller": "csiaddonsnode", "controllerGroup": "csiaddons.openshift.io", "controllerKind": "CSIAddonsNode", "CSIAddonsNode": {"name":"dr1-rook-ceph-deployment-csi-cephfsplugin-provisioner","namespace":"rook-ceph"}, "namespace": "rook-ceph", "name": "dr1-rook-ceph-deployment-csi-cephfsplugin-provisioner", "reconcileID": "a378ef3e-73e9-4f3e-82d3-4fcee906b15f", "NodeID": "dr1", "DriverName": "rook-ceph.cephfs.csi.ceph.com", "EndPoint": "10.244.0.8:9070", "error": "rpc error: code = Unavailable desc = connection error: desc = \"transport: authentication handshake failed: tls: first record does not look like a TLS handshake\""}

@Madhu-1
Copy link
Member

Madhu-1 commented Jan 20, 2025

@bipuladh ^^

@nixpanic
Copy link
Collaborator

@ELENAGER can you share the details and logs from the csi-addons sidecar of the dr1-rook-ceph-deployment-csi-cephfsplugin-provisioner Pod that has IP-address 10.244.0.8?

Ideally both the CSI-Addons controller and CSI-Addons sidecars have the same version. If not, make sure to enable or disable the enable-auth option on both componentes. See #692 for a little more details.

@bipuladh
Copy link
Contributor

Looks like the sidecar image that is currently being used is old as per my conversation with @ELENAGER

@bipuladh
Copy link
Contributor

Please use quay.io/badhikar/k8s-sidecar:stable image for the sidecar.

@nixpanic
Copy link
Collaborator

Please use quay.io/badhikar/k8s-sidecar:stable image for the sidecar.

Are there any modifications in there? You can find the container-images built for releases and the main branch also at https://quay.io/repository/csiaddons/k8s-sidecar

@bipuladh
Copy link
Contributor

Looks like there is an issue with the case of the HTTP header field. This has been fixed in #756
Please use quay.io/badhikar/k8s-sidecar:fix
I have the content's of the PR in that image.

@mergify mergify bot closed this as completed in #756 Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants