{"action":"created","issue":{"url":"https://api.github.com/repos/opensds/opensds-installer/issues/27","repository_url":"https://api.github.com/repos/opensds/opensds-installer","labels_url":"https://api.github.com/repos/opensds/opensds-installer/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/opensds/opensds-installer/issues/27/comments","events_url":"https://api.github.com/repos/opensds/opensds-installer/issues/27/events","html_url":"https://github.com/opensds/opensds-installer/issues/27","id":330979962,"node_id":"MDU6SXNzdWUzMzA5Nzk5NjI=","number":27,"title":"/etc/iscsi/initiatorname.iscsi not found","user":{"login":"xing-yang","id":1185309,"node_id":"MDQ6VXNlcjExODUzMDk=","avatar_url":"https://avatars1.githubusercontent.com/u/1185309?v=4","gravatar_id":"","url":"https://api.github.com/users/xing-yang","html_url":"https://github.com/xing-yang","followers_url":"https://api.github.com/users/xing-yang/followers","following_url":"https://api.github.com/users/xing-yang/following{/other_user}","gists_url":"https://api.github.com/users/xing-yang/gists{/gist_id}","starred_url":"https://api.github.com/users/xing-yang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xing-yang/subscriptions","organizations_url":"https://api.github.com/users/xing-yang/orgs","repos_url":"https://api.github.com/users/xing-yang/repos","events_url":"https://api.github.com/users/xing-yang/events{/privacy}","received_events_url":"https://api.github.com/users/xing-yang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-10T15:55:06Z","updated_at":"2018-06-11T07:38:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"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.\r\n\r\nxyang@ubuntu:~/go/src/github.com/opensds/nbp/csi/server/deploy$ kubectl get pod\r\nNAME                                 READY     STATUS             RESTARTS   AGE\r\ncsi-attacher-opensdsplugin-0         2/2       Running            0          7m\r\ncsi-nodeplugin-opensdsplugin-sdhs2   1/2       CrashLoopBackOff   6          7m\r\ncsi-provisioner-opensdsplugin-0      2/2       Running            0          7m\r\n\r\nxyang@ubuntu:~/go/src/github.com/opensds/nbp/csi/server/deploy$ kubectl logs csi-nodeplugin-opensdsplugin-sdhs2 opensds\r\n2018/06/10 15:45:29 proto: unix addr: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock\r\n2018/06/10 15:45:29 remove sock file: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock\r\n2018/06/10 15:45:29 start to serve: var/lib/kubelet/plugins/csi-opensdsplugin/csi.sock\r\n2018/06/10 15:45:30 start to GetPluginInfo\r\n2018/06/10 15:45:30 end to GetPluginInfo\r\n2018/06/10 15:45:30 start to GetNodeID\r\n2018/06/10 15:45:30 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory\r\n2018/06/10 15:45:30 Error encountered gathering initiator names: exit status 1\r\n2018/06/10 15:45:30 end to GetNodeID\r\n2018/06/10 15:45:31 start to GetPluginInfo\r\n2018/06/10 15:45:31 end to GetPluginInfo\r\n2018/06/10 15:45:31 start to GetNodeID\r\n2018/06/10 15:45:31 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory\r\n2018/06/10 15:45:31 Error encountered gathering initiator names: exit status 1\r\n2018/06/10 15:45:31 end to GetNodeID\r\n2018/06/10 15:45:45 start to GetPluginInfo\r\n2018/06/10 15:45:45 end to GetPluginInfo\r\n2018/06/10 15:45:45 start to GetNodeID\r\n2018/06/10 15:45:45 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory\r\n2018/06/10 15:45:45 Error encountered gathering initiator names: exit status 1\r\n2018/06/10 15:45:45 end to GetNodeID\r\n2018/06/10 15:46:12 start to GetPluginInfo\r\n2018/06/10 15:46:12 end to GetPluginInfo\r\n2018/06/10 15:46:12 start to GetNodeID\r\n2018/06/10 15:46:12 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory\r\n2018/06/10 15:46:12 Error encountered gathering initiator names: exit status 1\r\n2018/06/10 15:46:12 end to GetNodeID\r\n2018/06/10 15:46:54 start to GetPluginInfo\r\n2018/06/10 15:46:54 end to GetPluginInfo\r\n2018/06/10 15:46:54 start to GetNodeID\r\n2018/06/10 15:46:54 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory\r\n2018/06/10 15:46:54 Error encountered gathering initiator names: exit status 1\r\n2018/06/10 15:46:54 end to GetNodeID\r\n2018/06/10 15:48:27 start to GetPluginInfo\r\n2018/06/10 15:48:27 end to GetPluginInfo\r\n2018/06/10 15:48:27 start to GetNodeID\r\n2018/06/10 15:48:27 result from cat: cat: /etc/iscsi/initiatorname.iscsi: No such file or directory\r\n2018/06/10 15:48:27 Error encountered gathering initiator names: exit status 1\r\n2018/06/10 15:48:27 end to GetNodeID"},"comment":{"url":"https://api.github.com/repos/opensds/opensds-installer/issues/comments/396150411","html_url":"https://github.com/opensds/opensds-installer/issues/27#issuecomment-396150411","issue_url":"https://api.github.com/repos/opensds/opensds-installer/issues/27","id":396150411,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjE1MDQxMQ==","user":{"login":"leonwanghui","id":24707117,"node_id":"MDQ6VXNlcjI0NzA3MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/24707117?v=4","gravatar_id":"","url":"https://api.github.com/users/leonwanghui","html_url":"https://github.com/leonwanghui","followers_url":"https://api.github.com/users/leonwanghui/followers","following_url":"https://api.github.com/users/leonwanghui/following{/other_user}","gists_url":"https://api.github.com/users/leonwanghui/gists{/gist_id}","starred_url":"https://api.github.com/users/leonwanghui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonwanghui/subscriptions","organizations_url":"https://api.github.com/users/leonwanghui/orgs","repos_url":"https://api.github.com/users/leonwanghui/repos","events_url":"https://api.github.com/users/leonwanghui/events{/privacy}","received_events_url":"https://api.github.com/users/leonwanghui/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T07:38:00Z","updated_at":"2018-06-11T07:38:00Z","author_association":"CONTRIBUTOR","body":"Got it, because `open-iscsi` is installed in some environments by default, so we forgot to add it in the package."}}
{"actor":{"display_login":"leonwanghui"}}