Project

General

Profile

Actions

Bug #19598

closed

"Unable to correct problems, you have held broken packages." in upgrade:hammer-jewel-x-kraken-distro-basic-smithi

Added by Yuri Weinstein about 7 years ago. Updated almost 3 years ago.

Status:
Closed
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/client-upgrade, upgrade/hammer-jewel-x
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Run: http://pulpito.ceph.com/teuthology-2017-04-12_02:25:03-upgrade:hammer-jewel-x-kraken-distro-basic-smithi/
Jobs: ['1014301', '1014286', '1014311', '1014296', '1014304']
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2017-04-12_02:25:03-upgrade:hammer-jewel-x-kraken-distro-basic-smithi/1014304/teuthology.log

2017-04-12T11:23:36.778 INFO:teuthology.orchestra.run.smithi083:Running: 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-04-12T11:23:36.836 INFO:teuthology.orchestra.run.smithi083.stdout:Reading package lists...
2017-04-12T11:23:36.906 INFO:teuthology.orchestra.run.smithi195.stdout:Building dependency tree...
2017-04-12T11:23:36.906 INFO:teuthology.orchestra.run.smithi195.stdout:Reading state information...
2017-04-12T11:23:36.911 INFO:teuthology.orchestra.run.smithi192.stdout:Building dependency tree...
2017-04-12T11:23:36.912 INFO:teuthology.orchestra.run.smithi192.stdout:Reading state information...
2017-04-12T11:23:36.976 INFO:teuthology.orchestra.run.smithi195.stdout:Some packages could not be installed. This may mean that you have
2017-04-12T11:23:36.976 INFO:teuthology.orchestra.run.smithi195.stdout:requested an impossible situation or if you are using the unstable
2017-04-12T11:23:36.976 INFO:teuthology.orchestra.run.smithi195.stdout:distribution that some required packages have not yet been created
2017-04-12T11:23:36.976 INFO:teuthology.orchestra.run.smithi195.stdout:or been moved out of Incoming.
2017-04-12T11:23:36.976 INFO:teuthology.orchestra.run.smithi195.stdout:The following information may help to resolve the situation:
2017-04-12T11:23:36.976 INFO:teuthology.orchestra.run.smithi195.stdout:
2017-04-12T11:23:36.976 INFO:teuthology.orchestra.run.smithi195.stdout:The following packages have unmet dependencies:
2017-04-12T11:23:36.981 INFO:teuthology.orchestra.run.smithi192.stdout:Some packages could not be installed. This may mean that you have
2017-04-12T11:23:36.981 INFO:teuthology.orchestra.run.smithi192.stdout:requested an impossible situation or if you are using the unstable
2017-04-12T11:23:36.981 INFO:teuthology.orchestra.run.smithi192.stdout:distribution that some required packages have not yet been created
2017-04-12T11:23:36.982 INFO:teuthology.orchestra.run.smithi192.stdout:or been moved out of Incoming.
2017-04-12T11:23:36.982 INFO:teuthology.orchestra.run.smithi192.stdout:The following information may help to resolve the situation:
2017-04-12T11:23:36.982 INFO:teuthology.orchestra.run.smithi192.stdout:
2017-04-12T11:23:36.982 INFO:teuthology.orchestra.run.smithi192.stdout:The following packages have unmet dependencies:
2017-04-12T11:23:37.013 INFO:teuthology.orchestra.run.smithi195.stdout: ceph-common : Depends: python-rados (= 0.94.10-1xenial) but it is not going to be installed
2017-04-12T11:23:37.013 INFO:teuthology.orchestra.run.smithi195.stdout:               Depends: python-cephfs (= 0.94.10-1xenial) but 10.2.6-0ubuntu0.16.04.1 is to be installed
2017-04-12T11:23:37.014 INFO:teuthology.orchestra.run.smithi195.stdout:               Depends: python-rbd (= 0.94.10-1xenial) but it is not going to be installed
2017-04-12T11:23:37.014 INFO:teuthology.orchestra.run.smithi195.stdout: ceph-test : Depends: libradosstriper1 but it is not going to be installed
2017-04-12T11:23:37.016 INFO:teuthology.orchestra.run.smithi195.stdout: python-ceph : Depends: python-rados but it is not going to be installed
2017-04-12T11:23:37.016 INFO:teuthology.orchestra.run.smithi195.stdout:               Depends: python-rbd but it is not going to be installed
2017-04-12T11:23:37.019 INFO:teuthology.orchestra.run.smithi192.stdout: ceph-common : Depends: python-rados (= 0.94.10-1xenial) but it is not going to be installed
2017-04-12T11:23:37.019 INFO:teuthology.orchestra.run.smithi192.stdout:               Depends: python-cephfs (= 0.94.10-1xenial) but 10.2.6-0ubuntu0.16.04.1 is to be installed
2017-04-12T11:23:37.019 INFO:teuthology.orchestra.run.smithi192.stdout:               Depends: python-rbd (= 0.94.10-1xenial) but it is not going to be installed
2017-04-12T11:23:37.019 INFO:teuthology.orchestra.run.smithi192.stdout: ceph-test : Depends: libradosstriper1 but it is not going to be installed
2017-04-12T11:23:37.021 INFO:teuthology.orchestra.run.smithi192.stdout: python-ceph : Depends: python-rados but it is not going to be installed
2017-04-12T11:23:37.021 INFO:teuthology.orchestra.run.smithi192.stdout:               Depends: python-rbd but it is not going to be installed
2017-04-12T11:23:37.030 INFO:teuthology.orchestra.run.smithi195.stderr:E: Unable to correct problems, you have held broken packages.
2017-04-12T11:23:37.031 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 85, in __exit__
    for result in self:
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 99, in next
    resurrect_traceback(result)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 22, 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 414, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 149, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 171, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi195 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'
Actions #1

Updated by Nathan Cutler about 7 years ago

So, in other words, the Xenial distro repositories carry ceph 10.2.6 packages, making it impossible to install anything earlier than 10.2.6?

Actions #3

Updated by Yuri Weinstein almost 7 years ago

Suspect the same issue in upgrade:client-upgrade-kraken run:
http://qa-proxy.ceph.com/teuthology/teuthology-2017-05-13_05:45:02-upgrade:client-upgrade-kraken-distro-basic-smithi/1175559/teuthology.log

2017-05-16T05:55:05.352 INFO:teuthology.orchestra.run.smithi094:Running: 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-05-16T05:55:05.413 INFO:teuthology.orchestra.run.smithi094.stdout:Reading package lists...
2017-05-16T05:55:05.657 INFO:teuthology.orchestra.run.smithi094.stdout:Building dependency tree...
2017-05-16T05:55:05.657 INFO:teuthology.orchestra.run.smithi094.stdout:Reading state information...
2017-05-16T05:55:05.714 INFO:teuthology.orchestra.run.smithi055.stdout:Fetched 15.2 kB in 2s (6,441 B/s)
2017-05-16T05:55:05.723 INFO:teuthology.orchestra.run.smithi094.stdout:Some packages could not be installed. This may mean that you have
2017-05-16T05:55:05.724 INFO:teuthology.orchestra.run.smithi094.stdout:requested an impossible situation or if you are using the unstable
2017-05-16T05:55:05.724 INFO:teuthology.orchestra.run.smithi094.stdout:distribution that some required packages have not yet been created
2017-05-16T05:55:05.724 INFO:teuthology.orchestra.run.smithi094.stdout:or been moved out of Incoming.
2017-05-16T05:55:05.724 INFO:teuthology.orchestra.run.smithi094.stdout:The following information may help to resolve the situation:
2017-05-16T05:55:05.724 INFO:teuthology.orchestra.run.smithi094.stdout:
2017-05-16T05:55:05.725 INFO:teuthology.orchestra.run.smithi094.stdout:The following packages have unmet dependencies:
2017-05-16T05:55:05.762 INFO:teuthology.orchestra.run.smithi094.stdout: ceph-common : Depends: python-rados (= 0.94.10-1xenial) but it is not going to be installed
2017-05-16T05:55:05.762 INFO:teuthology.orchestra.run.smithi094.stdout:               Depends: python-cephfs (= 0.94.10-1xenial) but 10.2.6-0ubuntu0.16.04.1 is to be installed
2017-05-16T05:55:05.762 INFO:teuthology.orchestra.run.smithi094.stdout:               Depends: python-rbd (= 0.94.10-1xenial) but it is not going to be installed
2017-05-16T05:55:05.762 INFO:teuthology.orchestra.run.smithi094.stdout: ceph-test : Depends: libradosstriper1 but it is not going to be installed
2017-05-16T05:55:05.764 INFO:teuthology.orchestra.run.smithi094.stdout: python-ceph : Depends: python-rados but it is not going to be installed
2017-05-16T05:55:05.764 INFO:teuthology.orchestra.run.smithi094.stdout:               Depends: python-rbd but it is not going to be installed
2017-05-16T05:55:05.777 INFO:teuthology.orchestra.run.smithi094.stderr:E: Unable to correct problems, you have held broken packages.
2017-05-16T05:55:05.778 ERROR:teuthology.contextutil:Saw exception from nested tasks

Actions #4

Updated by Yuri Weinstein almost 7 years ago

  • ceph-qa-suite upgrade/client-upgrade added
Actions #5

Updated by Sage Weil almost 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF