Bug #18382
closedImpossible to install ceph (hammer) on Xenial
0%
Description
In hammer 0.94.10 integration testing, the Xenial build succeeds - see https://shaman.ceph.com/builds/ceph/wip-hammer-backports/c4bf69da75feb8eb7a69a9bd73ec76a4ae280edf/default/10205/ - but cannot be installed.
Quoting relevant portion of http://qa-proxy.ceph.com/teuthology/smithfarm-2017-01-02_11:16:57-rados-wip-hammer-backports-distro-basic-smithi/682446/teuthology.log
2017-01-02T11:19:16.581 INFO:teuthology.orchestra.run.smithi115:Running: u'sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph=0.94.9-4475-gc4bf69d-1xenial ceph-mds=0.94.9-4475-gc4bf69d-1xenial ceph-common=0.94.9-4475-gc4bf69d-1xenial ceph-fuse=0.94.9-4475-gc4bf69d-1xenial ceph-test=0.94.9-4475-gc4bf69d-1xenial radosgw=0.94.9-4475-gc4bf69d-1xenial python-ceph=0.94.9-4475-gc4bf69d-1xenial libcephfs1=0.94.9-4475-gc4bf69d-1xenial libcephfs-java=0.94.9-4475-gc4bf69d-1xenial libcephfs-jni=0.94.9-4475-gc4bf69d-1xenial librados2=0.94.9-4475-gc4bf69d-1xenial librbd1=0.94.9-4475-gc4bf69d-1xenial rbd-fuse=0.94.9-4475-gc4bf69d-1xenial' 2017-01-02T11:19:16.639 INFO:teuthology.orchestra.run.smithi115.stdout:Reading package lists... 2017-01-02T11:19:16.871 INFO:teuthology.orchestra.run.smithi115.stdout:Building dependency tree... 2017-01-02T11:19:16.875 INFO:teuthology.orchestra.run.smithi115.stdout:Reading state information... 2017-01-02T11:19:16.941 INFO:teuthology.orchestra.run.smithi115.stdout:Some packages could not be installed. This may mean that you have 2017-01-02T11:19:16.944 INFO:teuthology.orchestra.run.smithi115.stdout:requested an impossible situation or if you are using the unstable 2017-01-02T11:19:16.947 INFO:teuthology.orchestra.run.smithi115.stdout:distribution that some required packages have not yet been created 2017-01-02T11:19:16.950 INFO:teuthology.orchestra.run.smithi115.stdout:or been moved out of Incoming. 2017-01-02T11:19:16.953 INFO:teuthology.orchestra.run.smithi115.stdout:The following information may help to resolve the situation: 2017-01-02T11:19:16.955 INFO:teuthology.orchestra.run.smithi115.stdout: 2017-01-02T11:19:16.958 INFO:teuthology.orchestra.run.smithi115.stdout:The following packages have unmet dependencies: 2017-01-02T11:19:16.979 INFO:teuthology.orchestra.run.smithi115.stdout: ceph-common : Depends: python-rados (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed 2017-01-02T11:19:16.981 INFO:teuthology.orchestra.run.smithi115.stdout: Depends: python-cephfs (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed 2017-01-02T11:19:16.984 INFO:teuthology.orchestra.run.smithi115.stdout: Depends: python-rbd (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed 2017-01-02T11:19:16.987 INFO:teuthology.orchestra.run.smithi115.stdout: ceph-test : Depends: libradosstriper1 but it is not going to be installed 2017-01-02T11:19:16.993 INFO:teuthology.orchestra.run.smithi115.stdout: python-ceph : Depends: python-rados but it is not going to be installed 2017-01-02T11:19:16.996 INFO:teuthology.orchestra.run.smithi115.stdout: Depends: python-rbd but it is not going to be installed 2017-01-02T11:19:16.999 INFO:teuthology.orchestra.run.smithi115.stdout: Depends: python-cephfs but it is not going to be installed 2017-01-02T11:19:17.003 INFO:teuthology.orchestra.run.smithi115.stderr:E: Unable to correct problems, you have held broken packages.
As a result, all tests involving a Ubuntu Xenial target machine fail.
Since Trusty works, the workaround is to force teuthology to use that by adding qa/distros/all/ubuntu_14.04.yaml
to the command line. Thanks, Loic, for pointing this out.
Updated by Nathan Cutler over 7 years ago
Packages are coming from here: https://2.chacra.ceph.com/r/ceph/wip-hammer-backports/c4bf69da75feb8eb7a69a9bd73ec76a4ae280edf/ubuntu/xenial/flavors/default/pool/main/c/ceph/
The python-rados, etc. packages are present in that repo, yet the "apt-get install" command is failing. I don't understand why it doesn't automatically pull in the dependencies.
Updated by Nathan Cutler over 7 years ago
- Subject changed from Impossible to install ceph (hammer) on Xenial; blocks hammer 0.94.10 integration testing to Impossible to install ceph (hammer) on Xenial
- Priority changed from Urgent to Normal
Updated by David Galloway over 7 years ago
Nathan Cutler wrote:
The python-rados, etc. packages are present in that repo, yet the "apt-get install" command is failing. I don't understand why it doesn't automatically pull in the dependencies.
If I'm understanding the output here correctly, the dependency version numbers aren't set properly.
root@vpm085:~# uname -a Linux vpm085 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux root@vpm085:~# dpkg -l | grep ceph ii libcephfs1 10.2.3-0ubuntu0.16.04.2 amd64 Ceph distributed file system client library root@vpm085:~# apt-get -s install ceph=0.94.9-4475-gc4bf69d-1xenial ceph-mds=0.94.9-4475-gc4bf69d-1xenial ceph-common=0.94.9-4475-gc4bf69d-1xenial ceph-fuse=0.94.9-4475-gc4bf69d-1xenial ceph-test=0.94.9-4475-gc4bf69d-1xenial radosgw=0.94.9-4475-gc4bf69d-1xenial python-ceph=0.94.9-4475-gc4bf69d-1xenial libcephfs1=0.94.9-4475-gc4bf69d-1xenial libcephfs-java=0.94.9-4475-gc4bf69d-1xenial libcephfs-jni=0.94.9-4475-gc4bf69d-1xenial librados2=0.94.9-4475-gc4bf69d-1xenial librbd1=0.94.9-4475-gc4bf69d-1xenial rbd-fuse=0.94.9-4475-gc4bf69d-1xenial Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ceph-common : Depends: python-rados (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed Depends: python-cephfs (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed Depends: python-rbd (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed ceph-test : Depends: libradosstriper1 but it is not going to be installed python-ceph : Depends: python-rados but it is not going to be installed Depends: python-rbd but it is not going to be installed Depends: python-cephfs but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@vpm085:~# root@vpm085:~# root@vpm085:~# apt-cache showpkg ceph-common Package: ceph-common Versions: 10.2.3-0ubuntu0.16.04.2 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages) Description Language: File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages MD5: e302e645c41e2c6148fcff41573e283b Description Language: en File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_i18n_Translation-en MD5: e302e645c41e2c6148fcff41573e283b Description Language: File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages MD5: e302e645c41e2c6148fcff41573e283b 10.1.2-0ubuntu1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages) Description Language: File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages MD5: e302e645c41e2c6148fcff41573e283b Description Language: en File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_i18n_Translation-en MD5: e302e645c41e2c6148fcff41573e283b Description Language: File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages MD5: e302e645c41e2c6148fcff41573e283b 0.94.9-4475-gc4bf69d-1xenial (/var/lib/apt/lists/2.chacra.ceph.com_r_ceph_wip-hammer-backports_c4bf69da75feb8eb7a69a9bd73ec76a4ae280edf_ubuntu_xenial_flavors_default_dists_xenial_main_binary-amd64_Packages) Description Language: File: /var/lib/apt/lists/2.chacra.ceph.com_r_ceph_wip-hammer-backports_c4bf69da75feb8eb7a69a9bd73ec76a4ae280edf_ubuntu_xenial_flavors_default_dists_xenial_main_binary-amd64_Packages MD5: 4a274fd3d921d494e99f6c08e0197079 Reverse Depends: ceph,ceph-common 0.78-500 rest-bench-dbg,ceph-common rest-bench,ceph-common radosgw,ceph-common 0.94.9-4475-gc4bf69d-1xenial ceph-test-dbg,ceph-common ceph-test,ceph-common ceph-common-dbg,ceph-common 0.94.9-4475-gc4bf69d-1xenial ceph,ceph-common 0.94.2-2 ceph,ceph-common 10.2.3-0ubuntu0.16.04.2 ceph-test,ceph-common ceph-fs-common,ceph-common 0.67.3-1 ceph-fs-common,ceph-common 0.67.3-1 rbd-mirror,ceph-common 10.2.3-0ubuntu0.16.04.2 radosgw,ceph-common 10.2.3-0ubuntu0.16.04.2 ceph-common-dbg,ceph-common 10.2.3-0ubuntu0.16.04.2 ceph,ceph-common 9.2.0-0ubuntu1~ ceph,ceph-common 9.2.0-0ubuntu1~ ceph-fs-common,ceph-common 0.67.3-1 ceph-test,ceph-common ceph-fs-common,ceph-common 0.67.3-1 ceph,ceph-common 9.2.0-0ubuntu1~ rbd-mirror,ceph-common 10.1.2-0ubuntu1 radosgw,ceph-common 10.1.2-0ubuntu1 ceph-common-dbg,ceph-common 10.1.2-0ubuntu1 ceph,ceph-common 9.2.0-0ubuntu1~ ceph,ceph-common 10.1.2-0ubuntu1 Dependencies: 10.2.3-0ubuntu0.16.04.2 - librbd1 (5 10.2.3-0ubuntu0.16.04.2) python-cephfs (5 10.2.3-0ubuntu0.16.04.2) python-rados (5 10.2.3-0ubuntu0.16.04.2) python-rbd (5 10.2.3-0ubuntu0.16.04.2) python-requests (0 (null)) lsb-base (2 4.1+Debian11ubuntu7) python:any (3 2.8) python:any (2 2.7.5-5~) libbabeltrace-ctf1 (2 1.2.1) libbabeltrace1 (2 1.2.1) libblkid1 (2 2.17.2) libboost-iostreams1.58.0 (0 (null)) libboost-program-options1.58.0 (0 (null)) libboost-regex1.58.0 (0 (null)) libboost-system1.58.0 (0 (null)) libboost-thread1.58.0 (0 (null)) libc6 (2 2.16) libgcc1 (2 1:3.0) libkeyutils1 (2 1.4) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10) libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.9~beta2) librados2 (2 0.87) libradosstriper1 (2 0.93) librgw2 (2 10.2.3) libstdc++6 (2 5.2) libudev1 (2 183) ceph-client-tools (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~) ceph (0 (null)) ceph-mds (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-client-tools (0 (null)) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~) 10.1.2-0ubuntu1 - librbd1 (5 10.1.2-0ubuntu1) python-cephfs (5 10.1.2-0ubuntu1) python-rados (5 10.1.2-0ubuntu1) python-rbd (5 10.1.2-0ubuntu1) python-requests (0 (null)) lsb-base (2 4.1+Debian11ubuntu7) python:any (3 2.8) python:any (2 2.7.5-5~) libbabeltrace-ctf1 (2 1.2.1) libbabeltrace1 (2 1.2.1) libblkid1 (2 2.17.2) libboost-iostreams1.58.0 (0 (null)) libboost-program-options1.58.0 (0 (null)) libboost-regex1.58.0 (0 (null)) libboost-system1.58.0 (0 (null)) libboost-thread1.58.0 (0 (null)) libc6 (2 2.16) libgcc1 (2 1:3.0) libkeyutils1 (2 1.4) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10) libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.9~beta2) librados2 (2 0.87) libradosstriper1 (2 0.93) librgw2 (2 10.1.2) libstdc++6 (2 5.2) libudev1 (2 183) ceph-client-tools (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~) ceph (0 (null)) ceph-mds (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-client-tools (0 (null)) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~) 0.94.9-4475-gc4bf69d-1xenial - librbd1 (5 0.94.9-4475-gc4bf69d-1xenial) libbabeltrace-ctf1 (2 1.2.1) libbabeltrace1 (2 1.2.1) libblkid1 (2 2.17.2) libboost-system1.58.0 (0 (null)) libboost-thread1.58.0 (0 (null)) libc6 (2 2.16) libgcc1 (2 1:3.0) libkeyutils1 (2 1.4) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10) libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.9~beta2) librados2 (0 (null)) libstdc++6 (2 5.2) libudev1 (2 183) libuuid1 (2 2.16) python-rados (5 0.94.9-4475-gc4bf69d-1xenial) python-cephfs (5 0.94.9-4475-gc4bf69d-1xenial) python-rbd (5 0.94.9-4475-gc4bf69d-1xenial) python-requests (0 (null)) ceph-client-tools (0 (null)) ceph (3 0.94.2-2) ceph-test (3 0.94.5-2) librbd1 (3 0.92-1238) python-ceph (3 0.92-1223) ceph (0 (null)) ceph-mds (0 (null)) ceph (3 0.94.2-2) ceph-client-tools (0 (null)) ceph-test (3 0.94.5-2) librbd1 (3 0.92-1238) python-ceph (3 0.92-1223) Provides: 10.2.3-0ubuntu0.16.04.2 - 10.1.2-0ubuntu1 - 0.94.9-4475-gc4bf69d-1xenial - Reverse Provides: root@vpm085:~# apt-cache show ceph-common=0.94.9-4475-gc4bf69d-1xenial Package: ceph-common Source: ceph Version: 0.94.9-4475-gc4bf69d-1xenial Architecture: amd64 Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu> Installed-Size: 30206 Depends: librbd1 (= 0.94.9-4475-gc4bf69d-1xenial), libbabeltrace-ctf1 (>= 1.2.1), libbabeltrace1 (>= 1.2.1), libblkid1 (>= 2.17.2), libboost-system1.58.0, libboost-thread1.58.0, libc6 (>= 2.16), libgcc1 (>= 1:3.0), libkeyutils1 (>= 1.4), libnspr4 (>= 2:4.9-2~) | libnspr4-0d (>= 1.8.0.10), libnss3 (>= 2:3.13.4-2~) | libnss3-1d (>= 3.12.9~beta2), librados2, libstdc++6 (>= 5.2), libudev1 (>= 183), libuuid1 (>= 2.16), python-rados (= 0.94.9-4475-gc4bf69d-1xenial), python-cephfs (= 0.94.9-4475-gc4bf69d-1xenial), python-rbd (= 0.94.9-4475-gc4bf69d-1xenial), python-requests Suggests: ceph, ceph-mds Conflicts: ceph-client-tools Breaks: ceph (<< 0.94.2-2), ceph-test (<< 0.94.5-2), librbd1 (<< 0.92-1238), python-ceph (<< 0.92-1223) Replaces: ceph (<< 0.94.2-2), ceph-client-tools, ceph-test (<< 0.94.5-2), librbd1 (<< 0.92-1238), python-ceph (<< 0.92-1223) Homepage: http://ceph.com/ Priority: optional Section: admin Filename: pool/main/c/ceph/ceph-common_0.94.9-4475-gc4bf69d-1xenial_amd64.deb Size: 6140860 SHA256: fd646c0ea7dd463f6377d882bd98bd57865bbae341dbe1e1b819a824f4529583 SHA1: 38b8aa8550af7fd356e60473f1c5497b73d9d629 MD5sum: d99deea621f73d1e83e1bf60fe242810 Description: common utilities to mount and interact with a ceph storage cluster Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage. This is a collection of common tools that allow one to interact with and administer a Ceph cluster. Description-md5: 4a274fd3d921d494e99f6c08e0197079
Updated by Nathan Cutler over 7 years ago
@David: This may not be worth your time. Hammer is nearing EOL, is not supported on Xenial, and I have found a workaround for the 0.94.10 integration testing.
Updated by David Galloway about 7 years ago
- Status changed from New to Won't Fix