Image is missing `ceph-volume` binary
Summary
When starting up the ceph image as part of a rook/ceph deployment I see the below log:
provision 2023-08-30 22:30:16.226756 I | cephosd: skipping device "nvme1n1": failed to check if the device "nvme1n1" is available. failed to determine if the device was available. failed to determine if the device "/dev/nvme1n1" is available. failed to execute ceph-volume inventory on disk "/dev/nvme1n1". . exec: "ceph-volume": executable file not found in $PATH. exec: "ceph-volume": executable file not found in $PATH.
This error indicates a missing binary. When spinning up the upstream image (quay.io/ceph/ceph:v18.1.3
) I do not see this error, and see the ceph-volume
binary under /usr/sbin
.
Worth noting that because of the above error I haven't been able to progress with the install, and am not sure if there may be other missing dependencies.
Steps to reproduce
Simple way to confirm is to run the upstream image, validate ceph-volume
exists, then run the Ironbank and confirm it does not exist. In a working image you should be able to run ceph-volume
and see output like this:
ceph-volume: Deploy Ceph OSDs using different device technologies like lvm or
physical disks.
Log Path: /var/log/ceph
Ceph Conf: Unable to load expected Ceph config at: /etc/ceph/ceph.conf
Available subcommands:
lvm Use LVM and LVM-based technologies to deploy OSDs
simple Manage already deployed OSDs with ceph-volume
raw Manage single-device OSDs on raw block devices
inventory Get this nodes available disk inventory
activate Activate an OSD
drive-group
Deploy OSDs according to a drive groups specification.
The DriveGroup specification must be passed in json.
It can either be (preference in this order)
- in a file, path passed as a positional argument
- read from stdin, pass "-" as a positional argument
- a json string passed via the --spec argument
Either the path postional argument or --spec must be specifed.
Environ Variables:
CEPH_VERSION=reef
CEPH_POINT_RELEASE=-18.1.3
CEPH_DEVEL=false
CEPH_REF=reef
See "ceph-volume --help" for full list of options.
What is the current bug behavior?
The missing ceph-volume
binary causes deployments to fail.
What is the expected correct behavior?
ceph-volume
is present and works.
Relevant logs and/or screenshots
Included above.
Possible fixes
I believe the missing RPM is at https://buildlogs.centos.org/centos/9-stream/storage/x86_64/ceph-reef/Packages/c/cephadm-18.1.3-0.1.el9s.x86_64.rpm
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info