Actions
Bug #12034
closedceph-common needs python-argparse on older distros, but doesn't require it
% 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
Actions