Project

General

Profile

Actions

Bug #37355

closed

tasks.cephfs.test_volume_client fails with "ImportError: No module named 'ceph_argparse'"

Added by Venky Shankar over 5 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
High
Assignee:
Category:
-
Target version:
% 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

seen here: http://qa-proxy.ceph.com/teuthology/yuriw-2018-11-20_16:46:36-fs-wip-yuri3-testing-2018-11-16-1727-mimic-distro-basic-smithi/3274038/teuthology.log

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.


Related issues 1 (0 open1 closed)

Is duplicate of devops - Bug #24919: rpm: missing dependency on python34-ceph-argparse from python34-cephfs (and others?)Resolved07/13/2018

Actions
Actions #1

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?

Actions #2

Updated by Ramana Raja over 5 years ago

  • Assignee set to Rishabh Dave
Actions #3

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.

Actions #4

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
Actions #5

Updated by Patrick Donnelly over 5 years ago

  • Status changed from In Progress to Duplicate

#24919 needs backported.

Actions

Also available in: Atom PDF