kubernetes-sigs/gcp-compute-persistent-disk-csi-driver

libbsd.so.0 missing in 1.10.0 driver

nberlee opened this issue · 1 comments

Driver version 1.10.0
OS: Talos Linux 1.4.0 (does not come with any kind of libraries)

I0423 14:56:25.644847       1 main.go:94] Sys info: NumCPU: 16 MAXPROC: 1
I0423 14:56:25.644945       1 main.go:99] Driver vendor version v1.10.0
I0423 15:00:03.641649       1 mount_linux.go:529] Disk "/dev/disk/by-id/scsi-0Google_PersistentDisk_pvc-20164529-66d1-45ad-8145-4963ed548b0f" appears to be unformatted, attempting to format as type: "xfs" with options: [-f /dev/disk/by-id/scsi-0Google_PersistentDisk_pvc-20164529-66d1-45ad-8145-4963ed548b0f]
I0423 15:00:03.713796       1 mount_linux.go:540] Disk successfully formatted (mkfs): xfs - /dev/disk/by-id/scsi-0Google_PersistentDisk_pvc-20164529-66d1-45ad-8145-4963ed548b0f /var/lib/kubelet/plugins/kubernetes.io/csi/pd.csi.storage.gke.io/c6e812d51cc027177b9e109afcc84eab93dfcd012011f57e23e331d991ac710d/globalmount
I0423 15:00:03.713907       1 mount_linux.go:245] Detected OS without systemd
E0423 15:00:03.773946       1 utils.go:74] /csi.v1.Node/NodeStageVolume returned with error: rpc error: code = Internal desc = error when resizing volume projects/someprojectname/zones/us-central1-b/disks/pvc-20164529-66d1-45ad-8145-4963ed548b0f from device '/dev/disk/by-id/scsi-0Google_PersistentDisk_pvc-20164529-66d1-45ad-8145-4963ed548b0f' at path '/var/lib/kubelet/plugins/kubernetes.io/csi/pd.csi.storage.gke.io/c6e812d51cc027177b9e109afcc84eab93dfcd012011f57e23e331d991ac710d/globalmount': rpc error: code = Internal desc = Could not determine if filesystem "/var/lib/kubelet/plugins/kubernetes.io/csi/pd.csi.storage.gke.io/c6e812d51cc027177b9e109afcc84eab93dfcd012011f57e23e331d991ac710d/globalmount" needs to be resized: failed to read size of filesystem on /var/lib/kubelet/plugins/kubernetes.io/csi/pd.csi.storage.gke.io/c6e812d51cc027177b9e109afcc84eab93dfcd012011f57e23e331d991ac710d/globalmount: exit status 127: xfs_io: error while loading shared libraries: libbsd.so.0: cannot open shared object file: No such file or directory

Also libmd.so.0

E0423 15:29:41.539986       1 utils.go:74] /csi.v1.Node/NodeStageVolume returned with error: rpc error: code = Internal desc = error when resizing volume projects/someprojectname/zones/us-central1-b/disks/pvc-b6816885-e950-4b5f-91c4-958fd197d0a3 from device '/dev/disk/by-id/scsi-0Google_PersistentDisk_pvc-b6816885-e950-4b5f-91c4-958fd197d0a3' at path '/var/lib/kubelet/plugins/kubernetes.io/csi/pd.csi.storage.gke.io/cb53fd1bd5f8cfd9a5e1460aa0ef26908657f918c93356c9873b0cf0c5d8e458/globalmount': rpc error: code = Internal desc = Could not determine if filesystem "/var/lib/kubelet/plugins/kubernetes.io/csi/pd.csi.storage.gke.io/cb53fd1bd5f8cfd9a5e1460aa0ef26908657f918c93356c9873b0cf0c5d8e458/globalmount" needs to be resized: failed to read size of filesystem on /var/lib/kubelet/plugins/kubernetes.io/csi/pd.csi.storage.gke.io/cb53fd1bd5f8cfd9a5e1460aa0ef26908657f918c93356c9873b0cf0c5d8e458/globalmount: exit status 127: xfs_io: error while loading shared libraries: libmd.so.0: cannot open shared object file: No such file or directory

I will provide an PR