Project

General

Profile

Backport #11806

ceph / ceph-dbg steal ceph-objecstore-tool from ceph-test / ceph-test-dbg

Added by Loic Dachary over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
Release:
hammer


Related issues

Related to devops - Bug #12149: "error processing /var/cache/apt/archives/ceph-dbg_0.94.2-12-g78d894a-1precise_amd64.deb (--unpack)" Duplicate 06/24/2015
Copied from devops - Bug #11546: ceph / ceph-dbg steal ceph-objecstore-tool from ceph-test / ceph-test-dbg Resolved 05/06/2015

Associated revisions

Revision 356bd2c6 (diff)
Added by Loic Dachary over 3 years ago

debian: ceph-dbg steals ceph-objectstore-tool from ceph-test-dbg (take 2)

968573b8930a7c8485bf53e3a989ce2f7d0a2fff incorrectly backported
6f11fbf41fab10924b1e0e41fcf27864779d4073. It should instead reflect that
ceph-dbg in 0.94.2 and above will break ceph-test-dbg in all versions
prior to 0.94.2.

In other words, 0.94-XXXX being lower than 0.94.1, upgrading from
0.94.1 to 0.94.2 will not notice that ceph-dbg breaks ceph-test-dbg.

$ dpkg --compare-versions 0.94-XXXX lt 0.94.1 && echo yes || echo no
yes
$ dpkg --compare-versions 0.94.2 lt 0.94.1-xxx && echo yes || echo no
no

http://tracker.ceph.com/issues/11806 Fixes: #11806

Signed-off-by: Loic Dachary <>

History

#1 Updated by Loic Dachary over 3 years ago

  • Status changed from New to In Progress

#2 Updated by Loic Dachary over 3 years ago

  • Description updated (diff)

#3 Updated by Loic Dachary over 3 years ago

same validation as http://tracker.ceph.com/issues/11546#note-22

./virtualenv/bin/teuthology-suite --filter="upgrade:firefly-x/parallel/{0-cluster/start.yaml 1-firefly-install/firefly.yaml 2-workload/{ec-rados-parallel.yaml rados_api.yaml rados_loadgenbig.yaml test_rbd_api.yaml test_rbd_python.yaml} 3-upgrade-sequence/upgrade-mon-osd-mds.yaml 4-final-workload/{rados-snaps-few-objects.yaml rados_loadgenmix.yaml rados_mon_thrash.yaml rbd_cls.yaml rbd_import_export.yaml rgw_swift.yaml} distros/ubuntu_14.04.yaml}" --priority 50 --suite upgrade/firefly-x --suite-branch master --machine-type plana,burnupi,mira --distro ubuntu --email loic@dachary.org --ceph wip-11806-hammer

http://pulpito.ceph.com/loic-2015-05-28_21:08:52-upgrade:firefly-x-wip-11806-hammer---basic-multi/

#5 Updated by Loic Dachary over 3 years ago

  • Release set to hammer

#6 Updated by Loic Dachary over 3 years ago

  • Status changed from Resolved to In Progress
  • Target version changed from v0.94.2 to v0.94.3

Replace 0.94-1322 with 0.94.1 which is after 0.94-1322 according to

$ dpkg --compare-versions 0.94-1322 lt 0.94.1-1precise && echo yes
yes

although the intent was to write that it also breaks / prelace 0.94.1.

#7 Updated by Loic Dachary over 3 years ago

  • Status changed from In Progress to Need Review

take two, fixing the incorrect backport https://github.com/ceph/ceph/pull/5069

#8 Updated by Loic Dachary over 3 years ago

I incorrectly tested the fix using a firefly -> hammer upgrade test. When doing that kind of fix the upgrade test must be with the latest version that needs to be replaced

#9 Updated by Loic Dachary over 3 years ago

The failed test is re-run with

teuthology-suite --priority 101 -v -c wip-11806-hammer -m vps -s upgrade/hammer --filter 'upgrade:hammer/older/{0-cluster/start.yaml 1-install/v0.94.1.yaml 2-workload/rbd.yaml 3-upgrade-sequence/upgrade-osd-mon-mds.yaml 4-final/{monthrash.yaml osdthrash.yaml testrados.yaml} distros/ubuntu_12.04.yaml}' --suite-branch wip-11570 -e loic@dachary.org

  • failed sepia lab because it did not pick the wip-11806-hammer branch, it picked the hammer branch

#10 Updated by Loic Dachary over 3 years ago

https://github.com/ceph/ceph-qa-suite/pull/465/files is a sequence upgrade from v0.94 to v0.94.1 to the tip of hammer (older directory). The problem will only remain for v0.94.1 upgrades to v0.94.2. If you contemplate testing this, ceph-test-dbg must be removed prior to the upgrade or it will fail and we have no way around it. There are no such upgrade tests at the moment.

#11 Updated by Loic Dachary over 3 years ago

teuthology-suite --priority 101 -v -c wip-11806-hammer -m vps -s upgrade/hammer --filter 'upgrade:hammer/older/{0-cluster/start.yaml 1-install/v0.94.1.yaml 2-workload/rbd.yaml 3-upgrade-sequence/upgrade-osd-mon-mds.yaml 4-final/{monthrash.yaml osdthrash.yaml testrados.yaml} distros/ubuntu_12.04.yaml}' --suite-branch wip-11570 -e loic@dachary.org

#12 Updated by Loic Dachary over 3 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF