Project

General

Profile

Bug #37355

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

Added by Venky Shankar 25 days ago. Updated 6 days ago.

Status:
Duplicate
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
11/21/2018
Due date:
% 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:

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

Duplicates devops - Bug #24919: rpm: missing dependency on python34-ceph-argparse from python34-cephfs (and others?) Pending Backport 07/13/2018

History

#1 Updated by Patrick Donnelly 25 days 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?

#2 Updated by Ramana Raja 23 days ago

  • Assignee set to Rishabh Dave

#3 Updated by Ramana Raja 20 days 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.

#4 Updated by Patrick Donnelly 6 days ago

  • Duplicates Bug #24919: rpm: missing dependency on python34-ceph-argparse from python34-cephfs (and others?) added

#5 Updated by Patrick Donnelly 6 days ago

  • Status changed from In Progress to Duplicate

#24919 needs backported.

Also available in: Atom PDF