Project

General

Profile

Actions

Bug #24918

closed

Ubuntu: python3-cephfs missing dependency on python3-rados

Added by Patrick Donnelly almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
% 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.


Related issues 2 (0 open2 closed)

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

Actions
Related to devops - Bug #24920: teuthology is not installing python3-cephfs/python3-rados/etc. (Ubuntu) or python34-cephfs (CentOS) or (what else?)Resolved07/13/2018

Actions
Actions #1

Updated by Patrick Donnelly almost 6 years ago

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

Updated by Patrick Donnelly almost 6 years ago

  • Related to Bug #24920: teuthology is not installing python3-cephfs/python3-rados/etc. (Ubuntu) or python34-cephfs (CentOS) or (what else?) added
Actions #3

Updated by Kefu Chai almost 6 years ago

  • Status changed from 12 to Fix Under Review
  • Assignee set to Kefu Chai
Actions #4

Updated by Kefu Chai over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF