Actions
Bug #24918
closedUbuntu: python3-cephfs missing dependency on python3-rados
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
root@2e3db234ee1c:~# python3 import cephfs Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cephfs Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'cephfs' >>> root@2e3db234ee1c:~# apt-get install python3-cephfs Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: python3-cephfs 0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded. Need to get 77.5 kB of archives. After this operation, 285 kB of additional disk space will be used. Get:1 https://2.chacra.ceph.com/r/ceph/wip-pdonnell-testing-20180713.175514/992422f41dc04b7db82ee19d9250e8d290bbab96/ubuntu/xenial/flavors/default xenial/main amd64 python3-cephfs amd64 14.0.0-1289-g992422f-1xenial [77.5 kB] Fetched 77.5 kB in 0s (193 kB/s) debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 1.) debconf: falling back to frontend: Teletype Selecting previously unselected package python3-cephfs. (Reading database ... 13715 files and directories currently installed.) Preparing to unpack .../python3-cephfs_14.0.0-1289-g992422f-1xenial_amd64.deb ... Unpacking python3-cephfs (14.0.0-1289-g992422f-1xenial) ... Setting up python3-cephfs (14.0.0-1289-g992422f-1xenial) ... import cephfsroot@2e3db234ee1c:~# python3 Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cephfs Traceback (most recent call last): File "<stdin>", line 1, in <module> File "rados.pxd", line 14, in init cephfs (/build/ceph-14.0.0-1289-g992422f/obj-x86_64-linux-gnu/src/pybind/cephfs3/pyrex/cephfs.c:16836) ImportError: No module named 'rados'
For both Ubuntu Bionic and Xenial.
Actions