Bug #19233
closedbroken packages in upgrade:hammer-jewel-x-kraken-distro-basic-smithi
0%
Description
Run: http://pulpito.ceph.com/teuthology-2017-03-08_02:25:22-upgrade:hammer-jewel-x-kraken-distro-basic-smithi/
Jobs: '894384', '894379', '894393', '894372', '894387'
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2017-03-08_02:25:22-upgrade:hammer-jewel-x-kraken-distro-basic-smithi/894372/teuthology.log
2017-03-08T05:31:16.505 INFO:teuthology.orchestra.run.smithi183.stdout:Some packages could not be installed. This may mean that you have 2017-03-08T05:31:16.505 INFO:teuthology.orchestra.run.smithi183.stdout:requested an impossible situation or if you are using the unstable 2017-03-08T05:31:16.505 INFO:teuthology.orchestra.run.smithi183.stdout:distribution that some required packages have not yet been created 2017-03-08T05:31:16.505 INFO:teuthology.orchestra.run.smithi183.stdout:or been moved out of Incoming. 2017-03-08T05:31:16.505 INFO:teuthology.orchestra.run.smithi183.stdout:The following information may help to resolve the situation: 2017-03-08T05:31:16.505 INFO:teuthology.orchestra.run.smithi183.stdout: 2017-03-08T05:31:16.506 INFO:teuthology.orchestra.run.smithi183.stdout:The following packages have unmet dependencies: 2017-03-08T05:31:16.517 INFO:teuthology.orchestra.run.smithi087.stdout: ceph-common : Depends: python-rados (= 0.94.10-1xenial) but it is not going to be installed 2017-03-08T05:31:16.517 INFO:teuthology.orchestra.run.smithi087.stdout: Depends: python-cephfs (= 0.94.10-1xenial) but 10.2.5-0ubuntu0.16.04.1 is to be installed 2017-03-08T05:31:16.517 INFO:teuthology.orchestra.run.smithi087.stdout: Depends: python-rbd (= 0.94.10-1xenial) but it is not going to be installed 2017-03-08T05:31:16.517 INFO:teuthology.orchestra.run.smithi087.stdout: ceph-test : Depends: libradosstriper1 but it is not going to be installed 2017-03-08T05:31:16.519 INFO:teuthology.orchestra.run.smithi087.stdout: python-ceph : Depends: python-rados but it is not going to be installed 2017-03-08T05:31:16.519 INFO:teuthology.orchestra.run.smithi087.stdout: Depends: python-rbd but it is not going to be installed 2017-03-08T05:31:16.533 INFO:teuthology.orchestra.run.smithi087.stderr:E: Unable to correct problems, you have held broken packages. 2017-03-08T05:31:16.542 INFO:teuthology.orchestra.run.smithi183.stdout: ceph-common : Depends: python-rados (= 0.94.10-1xenial) but it is not going to be installed 2017-03-08T05:31:16.542 INFO:teuthology.orchestra.run.smithi183.stdout: Depends: python-cephfs (= 0.94.10-1xenial) but 10.2.5-0ubuntu0.16.04.1 is to be installed 2017-03-08T05:31:16.543 INFO:teuthology.orchestra.run.smithi183.stdout: Depends: python-rbd (= 0.94.10-1xenial) but it is not going to be installed 2017-03-08T05:31:16.543 INFO:teuthology.orchestra.run.smithi183.stdout: ceph-test : Depends: libradosstriper1 but it is not going to be installed 2017-03-08T05:31:16.545 INFO:teuthology.orchestra.run.smithi183.stdout: python-ceph : Depends: python-rados but it is not going to be installed 2017-03-08T05:31:16.545 INFO:teuthology.orchestra.run.smithi183.stdout: Depends: python-rbd but it is not going to be installed 2017-03-08T05:31:16.560 INFO:teuthology.orchestra.run.smithi183.stderr:E: Unable to correct problems, you have held broken packages. 2017-03-08T05:31:16.561 ERROR:teuthology.parallel:Exception in parallel execution Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 83, in __exit__ for result in self: File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 101, in next resurrect_traceback(result) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 19, in capture_traceback return func(*args, **kwargs) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/install/deb.py", line 67, in _update_package_list_and_install ] + ['%s=%s' % (d, version) for d in debs], File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 193, in run r = self._runner(client=self.ssh, name=self.shortname, **kwargs) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 403, in run r.wait() File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 166, in wait label=self.label) CommandFailedError: Command failed on smithi086 with status 100: u'sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph-mds=0.94.10-1xenial rbd-fuse=0.94.10-1xenial librbd1=0.94.10-1xenial ceph-fuse=0.94.10-1xenial python-ceph=0.94.10-1xenial ceph-common=0.94.10-1xenial libcephfs-java=0.94.10-1xenial ceph=0.94.10-1xenial libcephfs-jni=0.94.10-1xenial ceph-test=0.94.10-1xenial radosgw=0.94.10-1xenial librados2=0.94.10-1xenial' 2017-03-08T05:31:16.561 ERROR:teuthology.contextutil:Saw exception from nested tasks Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 30, in nested vars.append(enter()) File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/install/__init__.py", line 241, in install install_packages(ctx, package_list, config) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/install/__init__.py", line 114, in install_packages ctx, remote, pkgs[system_type], config) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 83, in __exit__ for result in self: File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 101, in next resurrect_traceback(result) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 19, in capture_traceback return func(*args, **kwargs) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/install/deb.py", line 67, in _update_package_list_and_install ] + ['%s=%s' % (d, version) for d in debs], File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 193, in run r = self._runner(client=self.ssh, name=self.shortname, **kwargs) File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 403, in run r.wait() File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 166, in wait label=self.label) CommandFailedError: Command failed on smithi086 with status 100: u'sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph-mds=0.94.10-1xenial rbd-fuse=0.94.10-1xenial librbd1=0.94.10-1xenial ceph-fuse=0.94.10-1xenial python-ceph=0.94.10-1xenial ceph-common=0.94.10-1xenial libcephfs-java=0.94.10-1xenial ceph=0.94.10-1xenial libcephfs-jni=0.94.10-1xenial ceph-test=0.94.10-1xenial radosgw=0.94.10-1xenial librados2=0.94.10-1xenial'
Updated by Nathan Cutler about 7 years ago
The problem here is that it is being run on Xenial - there is no hammer on Xenial.
apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph-mds=0.94.10-1xenial rbd-fuse=0.94.10-1xenial librbd1=0.94.10-1xenial ceph-fuse=0.94.10-1xenial python-ceph=0.94.10-1xenial ceph-common=0.94.10-1xenial libcephfs-java=0.94.10-1xenial ceph=0.94.10-1xenial libcephfs-jni=0.94.10-1xenial ceph-test=0.94.10-1xenial radosgw=0.94.10-1xenial librados2=0.94.10-1xenial
Updated by Yuri Weinstein about 7 years ago
@Nathan Weinberg looks like we have Xenial built https://shaman.ceph.com/builds/ceph/hammer/
Updated by Nathan Cutler about 7 years ago
This needs someone who knows more about Debian packaging and Chacra than I do, but look at this for example:
2017-03-08T05:31:16.517 INFO:teuthology.orchestra.run.smithi087.stdout: ceph-common : Depends: python-rados (= 0.94.10-1xenial) but it is not going to be installed 2017-03-08T05:31:16.517 INFO:teuthology.orchestra.run.smithi087.stdout: Depends: python-cephfs (= 0.94.10-1xenial) but 10.2.5-0ubuntu0.16.04.1 is to be installed 2017-03-08T05:31:16.517 INFO:teuthology.orchestra.run.smithi087.stdout: Depends: python-rbd (= 0.94.10-1xenial) but it is not going to be installed
The message "but 10.2.5-0ubuntu0.16.04.1 is to be installed" seems to indicate that apt-get sees a more recent version of ceph than 0.94.10 (perhaps in the default Ubuntu repos?), as well as the 0.94.10 packages it is supposed to be installing.
Updated by Dan Mick about 7 years ago
Exactly. As I mentioned in IRC, if we had a complete list of packages to uninstall (including older versions) and a complete list of packages to install, with specific versions, that might resolve this. I couldn't figure out why apt pinning didn't, but it didn't.
Updated by Yuri Weinstein almost 7 years ago
See run: http://pulpito.ceph.com/teuthology-2017-06-25_02:25:02-upgrade:hammer-jewel-x-kraken-distro-basic-smithi/
Jobs: ['1323586', '1323597', '1323590', '1323593', '1323581']
Updated by Yuri Weinstein almost 7 years ago
- Priority changed from Normal to Urgent
Updated by Nathan Cutler almost 7 years ago
Presumably this same bug exists in master, but we we're not running this suite against master in the nightlies. . . yet.
Updated by Greg Farnum almost 7 years ago
- Has duplicate Bug #20238: "...broken packages" in upgrade:hammer-jewel-x-kraken-distro-basic-smithi added