Huawei / eSDK_K8S_Plugin

Container-Storage-Interface (CSI) for Huawei storage
Apache License 2.0
82 stars 47 forks source link

Issue : problem with v3.2.1 for all pods #131

Closed ccaillet1974 closed 1 year ago

ccaillet1974 commented 1 year ago

Hi all,

My environment :

Need help because I've the following issue : on all pods I'd this message :

W0512 09:10:25.019053 2010395 connection.go:173] Still connecting to unix:///csi/csi.sock

on containers :

The same configuration works perfectly on my 1.23.6 cluster deployed with kubespray and CNI cilium 1.11.12

Any help appreciated

Regards, Christophe

ccaillet1974 commented 1 year ago

Adding extract from /var/log/huawei-csi-node

2023-05-12 08:20:41.979559 2957163 [INFO]: Init logger [huawei-csi-node] success. 2023-05-12 08:20:41.979840 2957163 [ERROR]: Merge configs error: the key oc5k-iscsi is not in secret 2023-05-12 08:20:41.981579 2957163 [INFO]: Receive stop event 2023-05-12 08:20:41.981694 2957163 [INFO]: version file /csi/version does not exist, no need to clear.

Seems to search an old configuration.

tangqichuan commented 1 year ago

Adding extract from /var/log/huawei-csi-node

2023-05-12 08:20:41.979559 2957163 [INFO]: Init logger [huawei-csi-node] success. 2023-05-12 08:20:41.979840 2957163 [ERROR]: Merge configs error: the key oc5k-iscsi is not in secret 2023-05-12 08:20:41.981579 2957163 [INFO]: Receive stop event 2023-05-12 08:20:41.981694 2957163 [INFO]: version file /csi/version does not exist, no need to clear.

Seems to search an old configuration.

Adding extract from /var/log/huawei-csi-node

2023-05-12 08:20:41.979559 2957163 [INFO]: Init logger [huawei-csi-node] success. 2023-05-12 08:20:41.979840 2957163 [ERROR]: Merge configs error: the key oc5k-iscsi is not in secret 2023-05-12 08:20:41.981579 2957163 [INFO]: Receive stop event 2023-05-12 08:20:41.981694 2957163 [INFO]: version file /csi/version does not exist, no need to clear.

Seems to search an old configuration.

Check whether the oc5k-iscsi backend exists in the secret tool.

ccaillet1974 commented 1 year ago

I'd removed the backend from the configuration ... maybe I used the wrong file ... now no problem .. I've used the v4.0.0 on all environment ... I'll test v3.2.1 on my test cluster ... I'll tell you back here the result :)

tangqichuan commented 1 year ago

I'd removed the backend from the configuration ... maybe I used the wrong file ... now no problem .. I've used the v4.0.0 on all environment ... I'll test v3.2.1 on my test cluster ... I'll tell you back here the result :)

All right, please let me know if you have any problems.