Project

General

Profile

Actions

Bug #12707

closed

ceph-detect-init fails on centos7

Added by Loïc Dachary over 8 years ago. Updated over 8 years ago.

Status:
Resolved
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

After a ceph-deploy install --testing ceph-detect-init fails with:

[centos@try ceph]$ /usr/bin/ceph-detect-init --default sysvinit
Traceback (most recent call last):
  File "/usr/bin/ceph-detect-init", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse

this can be worked around with
sudo yum install python-pip
sudo pip install argparse

Actions #1

Updated by Sage Weil over 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF