Project

General

Profile

Actions

Bug #17579

closed

installing ceph-mon only, breaks the ceph executable

Added by Alfredo Deza over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
build
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

From the kraken branch and trying to install on Xenial:

$ sudo apt-get install ceph-mon
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  btrfs-tools ceph-base ceph-common ceph-fuse ceph-mds gdisk javascript-common libbabeltrace-ctf1 libbabeltrace1 libboost-iostreams1.58.0 libboost-program-options1.58.0
  libboost-random1.58.0 libboost-regex1.58.0 libboost-system1.58.0 libboost-thread1.58.0 libcephfs1 libgoogle-perftools4 libjs-jquery libleveldb1v5 liblttng-ust-ctl2
  liblttng-ust0 liblzo2-2 libnspr4 libnss3 libnss3-nssdb libopts25 librados2 libradosstriper1 librbd1 libsnappy1v5 libtcmalloc-minimal4 libunwind8 liburcu4 ntp python-blinker
  python-cephfs python-cffi-backend python-chardet python-cryptography python-enum34 python-flask python-idna python-ipaddress python-itsdangerous python-jinja2
  python-markupsafe python-ndg-httpsclient python-openssl python-pkg-resources python-pyasn1 python-pyinotify python-rados python-rbd python-requests python-six python-urllib3
  python-werkzeug xfsprogs
Suggested packages:
  apache2 | lighttpd | httpd ntp-doc python-blinker-doc python-cryptography-doc python-cryptography-vectors python-enum34-doc python-flask-doc python-jinja2-doc
  python-openssl-doc python-openssl-dbg python-setuptools doc-base python-pyinotify-doc python-ntlm ipython python-genshi python-lxml python-greenlet python-redis
  python-pylibmc | python-memcache python-werkzeug-doc xfsdump acl attr quota
The following NEW packages will be installed:
  btrfs-tools ceph-base ceph-common ceph-fuse ceph-mds ceph-mon gdisk javascript-common libbabeltrace-ctf1 libbabeltrace1 libboost-iostreams1.58.0
  libboost-program-options1.58.0 libboost-random1.58.0 libboost-regex1.58.0 libboost-system1.58.0 libboost-thread1.58.0 libcephfs1 libgoogle-perftools4 libjs-jquery
  libleveldb1v5 liblttng-ust-ctl2 liblttng-ust0 liblzo2-2 libnspr4 libnss3 libnss3-nssdb libopts25 librados2 libradosstriper1 librbd1 libsnappy1v5 libtcmalloc-minimal4
  libunwind8 liburcu4 ntp python-blinker python-cephfs python-cffi-backend python-chardet python-cryptography python-enum34 python-flask python-idna python-ipaddress
  python-itsdangerous python-jinja2 python-markupsafe python-ndg-httpsclient python-openssl python-pkg-resources python-pyasn1 python-pyinotify python-rados python-rbd
  python-requests python-six python-urllib3 python-werkzeug xfsprogs
0 upgraded, 59 newly installed, 0 to remove and 128 not upgraded.
Need to get 71.5 MB of archives.
After this operation, 411 MB of additional disk space will be used.
...
Adding group ceph....done
Adding system user ceph....done
Setting system user ceph properties....done
[/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
ceph.target is a disabled or a static unit, not starting it.
rbdmap.service is a disabled or a static unit, not starting it.
Setting up ceph-base (11.0.1-1-gc5c6b59-1xenial) ...
Setting up ceph-fuse (11.0.1-1-gc5c6b59-1xenial) ...
Setting up ceph-mds (11.0.1-1-gc5c6b59-1xenial) ...
ceph-mds.target is a disabled or a static unit, not starting it.
Setting up ceph-mon (11.0.1-1-gc5c6b59-1xenial) ...
ceph-mon.target is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
vagrant@2:~$ which ceph
/usr/bin/ceph
vagrant@2:~$ ceph --version
Traceback (most recent call last):
  File "/usr/bin/ceph", line 101, in <module>
    import rados
ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

Installing `ceph` seems to fix this:

vagrant@2:~$ sudo apt-get install ceph
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ceph-mgr ceph-osd libaio1 libboost-python1.58.0 libpython2.7 libpython2.7-minimal libpython2.7-stdlib python2.7 python2.7-minimal
Suggested packages:
  python2.7-doc binfmt-support
The following NEW packages will be installed:
  ceph ceph-mgr ceph-osd libaio1 libboost-python1.58.0 libpython2.7
The following packages will be upgraded:
  libpython2.7-minimal libpython2.7-stdlib python2.7 python2.7-minimal
4 upgraded, 6 newly installed, 0 to remove and 124 not upgraded.
Need to get 17.8 MB of archives.
After this operation, 55.3 MB of additional disk space will be used.
...
Setting up ceph (11.0.1-1-gc5c6b59-1xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
vagrant@2:~$ ceph --version
ceph version v11.0.1-1-gc5c6b59 (c5c6b59f296f0ace3a6cfd939027118e82ab50a4)
vagrant@2:~$
Actions

Also available in: Atom PDF