RPM: Missing dependency "redhat-lsb-core"
It seems that the ceph-common RPM package is missing the redhat-lsb-core dependency?
I tried to deploy a new cluster with
ceph-deploy and got after executing the command
ceph-deploy mon create-initial the following error:
/etc/init.d/ceph: line 15: /lib/lsb/init-functions: No such file or directory
After manually installing redhat-lsb-core on the monitor node the ceph-deploy command run successfully.
Tested for Ceph 0.95.6 on CentOS Linux 7.1.1503 Core with ceph-deploy version 1.5.31. Attached is the ceph-deploy log.
#1 Updated by Martin Palma almost 5 years ago
By comparing the two version 0.94.5 with 0.94.6 on Github we can see that the dependency of redhat-lsb-core was removed from
#2 Updated by Martin Palma almost 5 years ago
I further hunted it down to the following commit: https://github.com/ceph/ceph/commit/f972f38445bc7a6efe122a5f9fc2ba7658625e26
It seems that in
init-ceph.in line 15 should also be surrounded an if statement:
if [ -e /lib/lsb/init-functions ]; then . /lib/lsb/init-functions fi