Bug #43125
qa: ceph_volume_client not available "ModuleNotFoundError: No module named 'ceph_volume_client'"
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
VolumeClient, qa-suite
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2019-11-28T08:11:43.089 INFO:teuthology.orchestra.run.smithi053:> sudo adjust-ulimits daemon-helper kill python3 -c ' 2019-11-28T08:11:43.089 INFO:teuthology.orchestra.run.smithi053:> from __future__ import print_function 2019-11-28T08:11:43.089 INFO:teuthology.orchestra.run.smithi053:> from ceph_volume_client import CephFSVolumeClient, VolumePath 2019-11-28T08:11:43.089 INFO:teuthology.orchestra.run.smithi053:> from sys import version_info as sys_version_info 2019-11-28T08:11:43.090 INFO:teuthology.orchestra.run.smithi053:> from rados import OSError as rados_OSError 2019-11-28T08:11:43.090 INFO:teuthology.orchestra.run.smithi053:> import logging 2019-11-28T08:11:43.090 INFO:teuthology.orchestra.run.smithi053:> log = logging.getLogger("ceph_volume_client") 2019-11-28T08:11:43.091 INFO:teuthology.orchestra.run.smithi053:> log.addHandler(logging.StreamHandler()) 2019-11-28T08:11:43.091 INFO:teuthology.orchestra.run.smithi053:> log.setLevel(logging.DEBUG) 2019-11-28T08:11:43.094 INFO:teuthology.orchestra.run.smithi053:> vc = CephFSVolumeClient("manila", "/etc/ceph/ceph.conf", "ceph", None, None) 2019-11-28T08:11:43.094 INFO:teuthology.orchestra.run.smithi053:> vc.connect() 2019-11-28T08:11:43.094 INFO:teuthology.orchestra.run.smithi053:> 2019-11-28T08:11:43.094 INFO:teuthology.orchestra.run.smithi053:> vp = VolumePath("grpid", "volid") 2019-11-28T08:11:43.094 INFO:teuthology.orchestra.run.smithi053:> create_result = vc.create_volume(vp, 1024*1024*10) 2019-11-28T08:11:43.095 INFO:teuthology.orchestra.run.smithi053:> print(create_result['"'"'mount_path'"'"']) 2019-11-28T08:11:43.095 INFO:teuthology.orchestra.run.smithi053:> 2019-11-28T08:11:43.095 INFO:teuthology.orchestra.run.smithi053:> vc.disconnect() 2019-11-28T08:11:43.095 INFO:teuthology.orchestra.run.smithi053:> ' 2019-11-28T08:11:43.184 INFO:teuthology.orchestra.run.smithi053.stderr:Traceback (most recent call last): 2019-11-28T08:11:43.185 INFO:teuthology.orchestra.run.smithi053.stderr: File "<string>", line 3, in <module> 2019-11-28T08:11:43.185 INFO:teuthology.orchestra.run.smithi053.stderr:ModuleNotFoundError: No module named 'ceph_volume_client' 2019-11-28T08:11:43.372 INFO:teuthology.orchestra.run.smithi053.stderr:daemon-helper: command failed with exit status 1 ... 2019-11-28T08:11:55.450 INFO:tasks.cephfs_test_runner:====================================================================== 2019-11-28T08:11:55.450 INFO:tasks.cephfs_test_runner:ERROR: test_21501 (tasks.cephfs.test_volume_client.TestVolumeClient) 2019-11-28T08:11:55.450 INFO:tasks.cephfs_test_runner:---------------------------------------------------------------------- 2019-11-28T08:11:55.450 INFO:tasks.cephfs_test_runner:Traceback (most recent call last): 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20191127.175901/qa/tasks/cephfs/test_volume_client.py", line 1048, in test_21501 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: volume_id=volume_id 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20191127.175901/qa/tasks/cephfs/test_volume_client.py", line 50, in _volume_client_python 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: self.py_version) 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20191127.175901/qa/tasks/cephfs/mount.py", line 182, in run_python 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: p.wait() 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 158, in wait 2019-11-28T08:11:55.451 INFO:tasks.cephfs_test_runner: self._raise_for_status() 2019-11-28T08:11:55.452 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 180, in _raise_for_status 2019-11-28T08:11:55.452 INFO:tasks.cephfs_test_runner: node=self.hostname, label=self.label 2019-11-28T08:11:55.452 INFO:tasks.cephfs_test_runner:CommandFailedError: Command failed on smithi053 with status 1: 'sudo adjust-ulimits daemon-helper kill python3 -c \'\nfrom __future__ import print_function\nfrom ceph_volume_client import CephFSVolumeClient, VolumePath\nfrom sys import version_info as sys_version_info\nfrom rados import OSError as rados_OSError\nimport logging\nlog = logging.getLogger("ceph_volume_client")\nlog.addHandler(logging.StreamHandler())\nlog.setLevel(logging.DEBUG)\nvc = CephFSVolumeClient("manila", "/etc/ceph/ceph.conf", "ceph", None, None)\nvc.connect()\n\nvp = VolumePath("grpid", "volid")\ncreate_result = vc.create_volume(vp, 1024*1024*10)\nprint(create_result[\'"\'"\'mount_path\'"\'"\'])\n\nvc.disconnect()\n \''.
From: /ceph/teuthology-archive/pdonnell-2019-11-27_23:31:21-fs-wip-pdonnell-testing-20191127.175901-distro-basic-smithi/4548137/teuthology.log
Compare to: /ceph/teuthology-archive/pdonnell-2019-11-27_23:31:21-fs-wip-pdonnell-testing-20191127.175901-distro-basic-smithi/4547974/teuthology.log
Only real difference is rhel7 vs. ubuntu. So this looks like a packaging issue.
History
#1 Updated by Patrick Donnelly over 4 years ago
Can't seem to reproduce on master:
http://pulpito.ceph.com/pdonnell-2019-12-04_20:54:30-fs-master-distro-basic-smithi/
#2 Updated by Patrick Donnelly about 4 years ago
- Status changed from New to Can't reproduce