You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing with opensds-installer ansible in csi mode with LVM backend, the nodeplugin pod failed to start. The reason was /etc/iscsi/initiatorname.iscsi not found. "sudo apt-get install open-iscsi" should be part of the deployment step if LVM is selected.
xyang@ubuntu:~/go/src/github.com/opensds/nbp/csi/server/deploy$ kubectl get pod
NAME READY STATUS RESTARTS AGE
csi-attacher-opensdsplugin-0 2/2 Running 0 7m
csi-nodeplugin-opensdsplugin-sdhs2 1/2 CrashLoopBackOff 6 7m
csi-provisioner-opensdsplugin-0 2/2 Running 0 7m
xyang@ubuntu:~/go/src/github.com/opensds/nbp/csi/server/deploy$ kubectl logs csi-nodeplugin-opensdsplugin-sdhs2 opensds
2018/06/10 15:45:29 proto: unix addr: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock
2018/06/10 15:45:29 remove sock file: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock
2018/06/10 15:45:29 start to serve: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock
2018/06/10 15:45:30 start to GetPluginInfo
2018/06/10 15:45:30 end to GetPluginInfo
2018/06/10 15:45:30 start to GetNodeID
2018/06/10 15:45:30 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:45:30 Error encountered gathering initiator names: exit status 1
2018/06/10 15:45:30 end to GetNodeID
2018/06/10 15:45:31 start to GetPluginInfo
2018/06/10 15:45:31 end to GetPluginInfo
2018/06/10 15:45:31 start to GetNodeID
2018/06/10 15:45:31 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:45:31 Error encountered gathering initiator names: exit status 1
2018/06/10 15:45:31 end to GetNodeID
2018/06/10 15:45:45 start to GetPluginInfo
2018/06/10 15:45:45 end to GetPluginInfo
2018/06/10 15:45:45 start to GetNodeID
2018/06/10 15:45:45 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:45:45 Error encountered gathering initiator names: exit status 1
2018/06/10 15:45:45 end to GetNodeID
2018/06/10 15:46:12 start to GetPluginInfo
2018/06/10 15:46:12 end to GetPluginInfo
2018/06/10 15:46:12 start to GetNodeID
2018/06/10 15:46:12 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:46:12 Error encountered gathering initiator names: exit status 1
2018/06/10 15:46:12 end to GetNodeID
2018/06/10 15:46:54 start to GetPluginInfo
2018/06/10 15:46:54 end to GetPluginInfo
2018/06/10 15:46:54 start to GetNodeID
2018/06/10 15:46:54 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:46:54 Error encountered gathering initiator names: exit status 1
2018/06/10 15:46:54 end to GetNodeID
2018/06/10 15:48:27 start to GetPluginInfo
2018/06/10 15:48:27 end to GetPluginInfo
2018/06/10 15:48:27 start to GetNodeID
2018/06/10 15:48:27 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:48:27 Error encountered gathering initiator names: exit status 1
2018/06/10 15:48:27 end to GetNodeID
The text was updated successfully, but these errors were encountered:
But I am wondering if we can just add open-iscsi package in the Dockerfile of csi-plugin, or install it on the work node which hosts the csi-plugin service?
I found that open-iscsi is already installed when installing nbp modules using ansible, so I guess we should add this package installation in csi Dockfile.
After installing with opensds-installer ansible in csi mode with LVM backend, the nodeplugin pod failed to start. The reason was /etc/iscsi/initiatorname.iscsi not found. "sudo apt-get install open-iscsi" should be part of the deployment step if LVM is selected.
xyang@ubuntu:~/go/src/github.com/opensds/nbp/csi/server/deploy$ kubectl get pod
NAME READY STATUS RESTARTS AGE
csi-attacher-opensdsplugin-0 2/2 Running 0 7m
csi-nodeplugin-opensdsplugin-sdhs2 1/2 CrashLoopBackOff 6 7m
csi-provisioner-opensdsplugin-0 2/2 Running 0 7m
xyang@ubuntu:~/go/src/github.com/opensds/nbp/csi/server/deploy$ kubectl logs csi-nodeplugin-opensdsplugin-sdhs2 opensds
2018/06/10 15:45:29 proto: unix addr: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock
2018/06/10 15:45:29 remove sock file: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock
2018/06/10 15:45:29 start to serve: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock
2018/06/10 15:45:30 start to GetPluginInfo
2018/06/10 15:45:30 end to GetPluginInfo
2018/06/10 15:45:30 start to GetNodeID
2018/06/10 15:45:30 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:45:30 Error encountered gathering initiator names: exit status 1
2018/06/10 15:45:30 end to GetNodeID
2018/06/10 15:45:31 start to GetPluginInfo
2018/06/10 15:45:31 end to GetPluginInfo
2018/06/10 15:45:31 start to GetNodeID
2018/06/10 15:45:31 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:45:31 Error encountered gathering initiator names: exit status 1
2018/06/10 15:45:31 end to GetNodeID
2018/06/10 15:45:45 start to GetPluginInfo
2018/06/10 15:45:45 end to GetPluginInfo
2018/06/10 15:45:45 start to GetNodeID
2018/06/10 15:45:45 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:45:45 Error encountered gathering initiator names: exit status 1
2018/06/10 15:45:45 end to GetNodeID
2018/06/10 15:46:12 start to GetPluginInfo
2018/06/10 15:46:12 end to GetPluginInfo
2018/06/10 15:46:12 start to GetNodeID
2018/06/10 15:46:12 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:46:12 Error encountered gathering initiator names: exit status 1
2018/06/10 15:46:12 end to GetNodeID
2018/06/10 15:46:54 start to GetPluginInfo
2018/06/10 15:46:54 end to GetPluginInfo
2018/06/10 15:46:54 start to GetNodeID
2018/06/10 15:46:54 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:46:54 Error encountered gathering initiator names: exit status 1
2018/06/10 15:46:54 end to GetNodeID
2018/06/10 15:48:27 start to GetPluginInfo
2018/06/10 15:48:27 end to GetPluginInfo
2018/06/10 15:48:27 start to GetNodeID
2018/06/10 15:48:27 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory
2018/06/10 15:48:27 Error encountered gathering initiator names: exit status 1
2018/06/10 15:48:27 end to GetNodeID
The text was updated successfully, but these errors were encountered: