Image is missing `modprobe` command
Summary
(sorry for these issues back to back, I'm spinning this up and hit issues incrementally)
When running this image as part of rook
it crashes due to the missing modprobe
command to check for the rbd
module (which is mounted from the host):
E0908 15:11:11.268585 63957 rbd_util.go:303] modprobe failed (an error (exec: "modprobe": executable file not found in $PATH) occurred while running modprobe args: [rbd]): ""
Steps to reproduce
Run the image and run modprobe
, like this:
# Upstream image
# docker run -it --entrypoint modprobe quay.io/cephcsi/cephcsi:v3.9.0
modprobe: ERROR: missing parameters. See -h.
# Ironbank image
# docker run -it --entrypoint modprobe registry1.dso.mil/ironbank/opensource/ceph/ceph-csi:v3.9.0
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "modprobe": executable file not found in $PATH: unknown.
What is the current bug behavior?
The image will crash due to the missing modprobe command.
What is the expected correct behavior?
Modprobe should complete successfully.
Relevant logs and/or screenshots
Above in summary.
Possible fixes
Install modprobe command.
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info
Edited by Jeff Weatherford