Missing dependencies/binaries in image
Summary
When starting this image up as part of rook, it crashes on several errors:
│ csi-cephfsplugin E0915 19:41:45.379009 1 volumemounter.go:70] failed to run mount.ceph exec: "mount.ceph": executable file not found in $PATH │
│ csi-cephfsplugin E0915 19:41:45.379694 1 volumemounter.go:88] failed to run ceph-fuse exit status 127 │
It appears that the libfuse.so.2
module and mount.ceph
binary are missing and needed.
Steps to reproduce
Docker run and attempt to run these commands:
❯ docker run -it --entrypoint bash registry1.dso.mil/ironbank/opensource/ceph/ceph-csi:v3.9.0
[root@6bd6482d2f84 /]# ceph-fuse --version
ceph-fuse: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
[root@6bd6482d2f84 /]# mount.ceph
bash: mount.ceph: command not found
Note the results with the upstream image:
❯ docker run -it --entrypoint bash quay.io/cephcsi/cephcsi:v3.9.0
[root@412dd34d8e60 /]# ceph-fuse --version
ceph version 17.2.6 (d7ff0d10654d2280e08f1ab989c7cdf3064446a5) quincy (stable)
[root@412dd34d8e60 /]# mount.ceph
usage: mount.ceph [src] [mount-point] [-n] [-v] [-o ceph-options]
options:
-h: Print this help
-n: Do not update /etc/mtab
-v: Verbose
ceph-options: refer to mount.ceph(8)
What is the current bug behavior?
Image crashes due to missing components.
What is the expected correct behavior?
Image doesn't crash.
Relevant logs and/or screenshots
Included above.
Possible fixes
Unsure of the source for these.
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info
Edited by Jeff Weatherford