Project

General

Profile

Actions

Bug #11673

closed

Debian: ceph-test and rest-bench debug packages should require their respective binary packages

Added by Ken Dreyer about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer,firefly
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
upgrade/client-upgrade
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I recently moved ceph-objectstore-tool from the "ceph-test" package to the main "ceph" package, in ticket #11376.

Soon after this was completed, our upgrade test suites began to fail when apt updated ceph-dbg. As one example:

http://pulpito.ceph.com/teuthology-2015-05-15_17:18:01-upgrade:firefly-x-hammer-distro-basic-vps/894814/

<pre>
2015-05-15T18:51:18.423 INFO:teuthology.orchestra.run.burnupi49.stderr:dpkg: error processing archive /var/cache/apt/archives/ceph-dbg_0.94.1-111-gb69fb89-1trusty_amd64.deb (--unpack):
2015-05-15T18:51:18.423 INFO:teuthology.orchestra.run.burnupi49.stderr: trying to overwrite '/usr/lib/debug/usr/bin/ceph-objectstore-tool', which is also in package ceph-test-dbg 0.80.9-242-g7d11b19-1trusty
2015-05-15T18:51:18.552 INFO:teuthology.orchestra.run.burnupi49.stderr:dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
</pre>

Ordinarily this would have been addressed by the following dependency chain:

  1. apt-get updates "ceph" to a newer version with objectstore-tool present.
  2. With the Replaces: and Breaks:" changes in #11376, the new "ceph" .deb depends on a newer version of "ceph-test" with the objectstore-tool removed, so apt updates that as well.
  3. The dbg packages depend on the newer versions of ceph and ceph-test, so apt updates them as well.

The problem is with that third step. This Teuthology test uncovered the fact that ceph-test-dbg did not have a specific dependency on ceph-test. When apt updated ceph-test, it did not know it also needed to update ceph-test-dbg as well.

The explicit dependencies between -dbg packages and main subpackages are already present for a lot of the ceph packages that we ship (like ceph itself with ceph-dbg, or ceph-mds and ceph-mds-dbg, etc), but two newer subpackages are missing the explicit dependency: ceph-test-dbg and rest-bench-dbg.


Related issues 2 (0 open2 closed)

Copied to devops - Backport #11733: Debian: ceph-test and rest-bench debug packages should require their respective binary packagesResolvedLoïc Dachary05/18/2015Actions
Copied to devops - Backport #11734: Debian: ceph-test and rest-bench debug packages should require their respective binary packagesResolvedLoïc Dachary05/18/2015Actions
Actions #1

Updated by Ken Dreyer about 9 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Ken Dreyer about 9 years ago

(I wonder if lintian would have caught this. https://lintian.debian.org/tags/dbg-package-missing-depends.html)

Actions #3

Updated by Ken Dreyer about 9 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to hammer,firefly

This bug is present in both Hammer and Firefly (although #11376 was only backported to Hammer, so Teuthology is only going to catch it in Hammer.)

Actions #4

Updated by Yuri Weinstein about 9 years ago

Still in hammer release
Run:http://pulpito-rdu.front.sepia.ceph.com/teuthology-2015-05-19_23:20:01-upgrade:client-upgrade-master-distro-basic-typica/
Job: 21453

Actions #5

Updated by Yuri Weinstein about 9 years ago

  • Severity changed from 3 - minor to 1 - critical
Actions #6

Updated by Yuri Weinstein about 9 years ago

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

Updated by Nathan Cutler about 9 years ago

  • Description updated (diff)
Actions #8

Updated by Nathan Cutler about 9 years ago

  • Description updated (diff)
Actions #9

Updated by Nathan Cutler about 9 years ago

  • Description updated (diff)
Actions #10

Updated by Loïc Dachary almost 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF