Project

General

Profile

Actions

Bug #14757

closed

ceph-rpm (el7,v10.0.3): missing dependency: ceph-detect-init requires python-setuptools

Added by Anonymous about 8 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

Updated by Anonymous about 8 years ago

somehow related to http://tracker.ceph.com/issues/13057, which fixed it for debian ???

Actions #2

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

Actions #3

Updated by Nathan Cutler about 8 years ago

One way to deal with this would be to package ceph-detect-init separately.

Actions #4

Updated by Nathan Cutler about 8 years ago

  • Project changed from Ceph to devops
Actions #5

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.

Actions #6

Updated by Sage Weil about 6 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF