gluster-csi-driver icon indicating copy to clipboard operation
gluster-csi-driver copied to clipboard

Failed to connect to glusterfs 10.4: connection reset by peer

Open hhstu opened this issue 1 year ago • 0 comments

Describe the bug I deployed a standalone Glusterfs with version 10.4 following the guidelines on the official website of Glusterfs. I used CSI to create PVC, but the provider error was:

I0614 02:34:17.599487       1 connection.go:194] GRPC request: {"capacity_range":{"required_bytes":5368709120},"name":"pvc-8de1d0b5-a323-4271-8cc7-150514ad6940","volume_capabilities":[{"AccessType":{"Mount":{}},"access_mode":{"mode":5}}]}
I0614 02:34:17.638991       1 connection.go:200] GRPC response: {}
I0614 02:34:17.639091       1 connection.go:201] GRPC error: rpc error: code = Internal desc = error in fetching volume details Get http://test1:24007/v1/volumes/pvc-8de1d0b5-a323-4271-8cc7-150514ad6940: read tcp 10.0.1.14:34902->10.238.18.110:24007: read: connection reset by peer
I0614 02:34:17.639200       1 controller.go:816] CreateVolume failed, supports topology = false, node selected false => may reschedule = false => state = Finished: rpc error: code = Internal desc = error in fetching volume details Get http://test1:24007/v1/volumes/pvc-8de1d0b5-a323-4271-8cc7-150514ad6940: read tcp 10.0.1.14:34902->10.238.18.110:24007: read: connection reset by peer
I0614 02:34:17.639583       1 controller.go:1075] Final error received, removing PVC 8de1d0b5-a323-4271-8cc7-150514ad6940 from claims in progress
W0614 02:34:17.639722       1 controller.go:934] Retrying syncing claim "8de1d0b5-a323-4271-8cc7-150514ad6940", failure 256
E0614 02:34:17.639926       1 controller.go:957] error syncing claim "8de1d0b5-a323-4271-8cc7-150514ad6940": failed to provision volume with StorageClass "glusterfs-csi": rpc error: code = Internal desc = error in fetching volume details Get http://test1:24007/v1/volumes/pvc-8de1d0b5-a323-4271-8cc7-150514ad6940: read tcp 10.0.1.14:34902->10.238.18.110:24007: read: connection reset by peer
I0614 02:34:17.640030       1 event.go:298] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"gluster-csi", UID:"8de1d0b5-a323-4271-8cc7-150514ad6940", APIVersion:"v1", ResourceVersion:"997341", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "glusterfs-csi": rpc error: code = Internal desc = error in fetching volume details Get http://test1:24007/v1/volumes/pvc-8de1d0b5-a323-4271-8cc7-150514ad6940: read tcp 10.0.1.14:34902->10.238.18.110:24007: read: connection reset by peer

and glusterfs stuatus is ok

[[email protected] ~]# gluster volume info

Volume Name: dv0
Type: Distribute
Volume ID: 026206c7-81c8-4d9a-8738-3264f90d1c78
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: test1:/data_brick1/dv0
Options Reconfigured:
storage.fips-mode-rchecksum: on
transport.address-family: inet
nfs.disable: on
[[email protected] ~]#

Can i get any help, thinks

hhstu avatar Jun 14 '23 02:06 hhstu