Project

General

Profile

Actions

Bug #19233

closed

broken packages in upgrade:hammer-jewel-x-kraken-distro-basic-smithi

Added by Yuri Weinstein about 7 years ago. Updated over 6 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
upgrade/hammer-jewel-x
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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'

Related issues 1 (0 open1 closed)

Has duplicate Ceph - Bug #20238: "...broken packages" in upgrade:hammer-jewel-x-kraken-distro-basic-smithiDuplicate06/09/2017

Actions
Actions #1

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
Actions #3

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.

Actions #4

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.

Actions #5

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']

Actions #6

Updated by Yuri Weinstein almost 7 years ago

  • Priority changed from Normal to Urgent
Actions #7

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.

Actions #8

Updated by Sage Weil almost 7 years ago

  • Priority changed from Urgent to Normal
Actions #9

Updated by Greg Farnum almost 7 years ago

  • Has duplicate Bug #20238: "...broken packages" in upgrade:hammer-jewel-x-kraken-distro-basic-smithi added
Actions #10

Updated by Nathan Cutler almost 7 years ago

  • Assignee set to Nathan Cutler
Actions #11

Updated by Nathan Cutler over 6 years ago

  • Status changed from New to Won't Fix

Kraken is EOL

Actions

Also available in: Atom PDF