Skip to content

libbsd.so.0 missing in 1.10.0 driver #1203

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

Closed
nberlee opened this issue Apr 23, 2023 · 1 comment · Fixed by #1204
Closed

libbsd.so.0 missing in 1.10.0 driver #1203

nberlee opened this issue Apr 23, 2023 · 1 comment · Fixed by #1204

Comments

@nberlee
Copy link
Contributor

nberlee commented Apr 23, 2023

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
@nberlee
Copy link
Contributor Author

nberlee commented Apr 23, 2023

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

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

Successfully merging a pull request may close this issue.

1 participant