Bug #14757
closedceph-rpm (el7,v10.0.3): missing dependency: ceph-detect-init requires python-setuptools
0%
Description
ceph-detect-init
Traceback (most recent call last):
File "/usr/bin/ceph-detect-init", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
yum search pkg_resources
...
python-setuptools.noarch : Easily build and distribute Python packages
yum install python-setuptools
...
ceph-detect-init
systemd
Updated by Anonymous about 8 years ago
somehow related to http://tracker.ceph.com/issues/13057, which fixed it for debian ???
Updated by Anonymous about 8 years ago
influences other commands
ceph-disk activate will fail without "--mark-init ..."
systemd job ceph-disk@.service will fail
Therefor ceph-osd's not started at boot when on gpt.
P.S.: Was not that easy to find why ceph osd's won't start :) - a missing package was my last thougt
Updated by Nathan Cutler about 8 years ago
One way to deal with this would be to package ceph-detect-init separately.
Updated by Tim Small almost 8 years ago
To be explicit, the fix is to add the 'python-setuptools' package as a dependency of the 'ceph' package in the RPM spec file.
This bug present in ceph 9.2.1 on RHEL7, and without it, osds are not activated on reboot.