Actions
Bug #37355
closedtasks.cephfs.test_volume_client fails with "ImportError: No module named 'ceph_argparse'"
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
VolumeClient
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2018-11-20T17:06:56.741 INFO:teuthology.orchestra.run.smithi047.stderr: File "<string>", line 3, in <module> 2018-11-20T17:06:56.741 INFO:teuthology.orchestra.run.smithi047.stderr: File "/usr/lib/python3.4/site-packages/ceph_volume_client.py", line 20, in <module> 2018-11-20T17:06:56.741 INFO:teuthology.orchestra.run.smithi047.stderr: from ceph_argparse import json_command 2018-11-20T17:06:56.741 INFO:teuthology.orchestra.run.smithi047.stderr:ImportError: No module named 'ceph_argparse' 2018-11-20T17:06:56.900 INFO:teuthology.orchestra.run.smithi047.stderr:daemon-helper: command failed with exit status 1 2018-11-20T17:06:56.904 DEBUG:teuthology.orchestra.run:got remote process result: 1 2018-11-20T17:06:56.905 INFO:tasks.cephfs_test_runner:test_21501 (tasks.cephfs.test_volume_client.TestVolumeClient) ... ERROR
<Zheng>: ceph_argparse.py only exists in python2.7’s site-packages. But this test run as python 3.4.
Updated by Patrick Donnelly over 5 years ago
- Priority changed from Normal to High
- Severity changed from 3 - minor to 4 - irritation
- Affected Versions v13.2.3 added
- Component(FS) VolumeClient added
I believe this problem also exists in Luminous?
Updated by Ramana Raja over 5 years ago
- Status changed from New to In Progress
- Assignee changed from Rishabh Dave to Ramana Raja
'ceph_argparse' module for py2.7 is in 'ceph-common' package. And for py3 the module is in 'python3-ceph-argparse' package, which must be missing in the teuthology environment.
Updated by Patrick Donnelly over 5 years ago
- Is duplicate of Bug #24919: rpm: missing dependency on python34-ceph-argparse from python34-cephfs (and others?) added
Updated by Patrick Donnelly over 5 years ago
- Status changed from In Progress to Duplicate
#24919 needs backported.
Actions