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

chroot: failed to run command 'iscsiadm': No such file or directory #104

Closed
Muyan0828 opened this issue Mar 30, 2022 · 1 comment
Closed

Comments

@Muyan0828
Copy link

What happened:
node pod logs error desc = chroot: failed to run command 'iscsiadm': No such file or directory

What you expected to happen:

How to reproduce it:

Anything else we need to know?:

[root@cp-dev-2 ~]# kubectl -n kube-system logs -f csi-iscsi-node-6pgt9 iscsi
I0330 17:56:50.193869       1 driver.go:43] driver: iscsi.csi.k8s.io version: 0.2.0 nodeID: 192.168.39.211 endpoint: unix:///csi/csi.sock
I0330 17:56:50.193962       1 driver.go:84] enabling volume access mode: SINGLE_NODE_WRITER
I0330 17:56:50.193987       1 driver.go:95] enabling controller service capability: UNKNOWN
I0330 17:56:50.234056       1 server.go:103] listening for connections on address: &net.UnixAddr{Name:"//csi/csi.sock", Net:"unix"}
I0330 17:56:50.511513       1 utils.go:63] GRPC call: /csi.v1.Identity/GetPluginInfo
I0330 17:56:50.511542       1 utils.go:64] GRPC request: {}
I0330 17:56:50.516116       1 identityserver.go:32] using default GetPluginInfo
I0330 17:56:50.516133       1 utils.go:69] GRPC response: {"name":"iscsi.csi.k8s.io","vendor_version":"0.2.0"}
I0330 17:56:50.746464       1 utils.go:63] GRPC call: /csi.v1.Identity/GetPluginInfo
I0330 17:56:50.746487       1 utils.go:64] GRPC request: {}
I0330 17:56:50.746541       1 identityserver.go:32] using default GetPluginInfo
I0330 17:56:50.746547       1 utils.go:69] GRPC response: {"name":"iscsi.csi.k8s.io","vendor_version":"0.2.0"}
I0330 17:56:51.205393       1 utils.go:63] GRPC call: /csi.v1.Node/NodeGetInfo
I0330 17:56:51.205425       1 utils.go:64] GRPC request: {}
I0330 17:56:51.205509       1 utils.go:69] GRPC response: {"node_id":"192.168.39.211"}
I0330 17:56:57.451445       1 utils.go:63] GRPC call: /csi.v1.Node/NodeGetCapabilities
I0330 17:56:57.451466       1 utils.go:64] GRPC request: {}
I0330 17:56:57.451513       1 utils.go:69] GRPC response: {"capabilities":[{"Type":{"Rpc":{}}}]}
I0330 17:56:57.452618       1 utils.go:63] GRPC call: /csi.v1.Node/NodePublishVolume
I0330 17:56:57.452630       1 utils.go:64] GRPC request: {"target_path":"/var/lib/kubelet/pods/c51982c1-03af-4362-ab59-bf7c943c1594/volumes/kubernetes.io~csi/iscsiplugin-pv/mount","volume_capability":{"AccessType":{"Mount":{}},"access_mode":{"mode":1}},"volume_context":{"discoveryCHAPAuth":"false","iqn":"iqn.2022-03.local.alauda.server:disk1","iscsiInterface":"default","lun":"0","portals":"[]","sessionCHAPAuth":"false","targetPortal":"192.168.39.212:3260"},"volume_id":"iscsi-data-id"}
I0330 17:56:57.453002       1 mount_linux.go:163] Detected OS without systemd
E0330 17:56:57.454656       1 utils.go:67] GRPC error: rpc error: code = Internal desc = chroot: failed to run command 'iscsiadm': No such file or directory

Environment:

  • CSI Driver version: gcr.io/k8s-staging-sig-storage/iscsiplugin:canary
  • Kubernetes version (use kubectl version):
    Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.4", GitCommit:"3cce4a82b44f032d0cd1a1790e6d2f5a55d20aae", GitTreeState:"clean", BuildDate:"2021-08-11T18:16:05Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.4", GitCommit:"3cce4a82b44f032d0cd1a1790e6d2f5a55d20aae", GitTreeState:"clean", BuildDate:"2021-08-11T18:10:22Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@vsabavat
Copy link

Is this issue resolved? What was the root cause or fix?

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

No branches or pull requests

2 participants