Project

General

Profile

Actions

Bug #12034

closed

ceph-common needs python-argparse on older distros, but doesn't require it

Added by Nathan Cutler almost 9 years ago. Updated over 8 years ago.

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

0%

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

Description

The ceph command-line utility is a Python script that does import argparse - on Python 2.7 this is fine, because argparse is included in core. This is not the case, however, in Python 2.6 which is used e.g. in CentOS 6.

I tried bringing up a vanilla CentOS 6.6 docker image and installed only ceph-common on it. The result is as expected:

[root@9412bea8532a ~]# ceph
Traceback (most recent call last):
  File "/usr/bin/ceph", line 64, in <module>
    import argparse
ImportError: No module named argparse

Related issues 2 (0 open2 closed)

Copied to devops - Backport #12268: ceph-common needs python-argparse on older distros, but doesn't require itResolvedNathan Cutler06/16/2015Actions
Copied to devops - Backport #12269: ceph.spec.in: ceph-common needs python-argparse on older distros, but doesn't require itResolvedAbhishek Lekshmanan06/16/2015Actions
Actions #2

Updated by Kefu Chai almost 9 years ago

  • Status changed from New to Fix Under Review
  • Source changed from other to Community (dev)
Actions #3

Updated by Nathan Cutler almost 9 years ago

  • Status changed from Fix Under Review to New
  • Assignee changed from Nathan Cutler to Ken Dreyer
  • Source changed from Community (dev) to other
Actions #4

Updated by Nathan Cutler almost 9 years ago

  • Status changed from New to Fix Under Review
  • Source changed from other to Community (dev)
Actions #5

Updated by Nathan Cutler almost 9 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Nathan Cutler over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF