Project

General

Profile

Actions

Bug #58535

open

orch/cephadm/upgrade: staggered upgrade test failing due to no "osd" entry in "ceph versions" output

Added by Adam King over 1 year ago. Updated about 1 year ago.

Status:
In Progress
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The staggered upgrade test check the "ceph versions" output in order to verify it has upgraded only the expected set of daemons. For example part way through the test we try to upgrade only a subset of the mon daemons, which gets"ceph versions" output like

{
    "mon": {
        "ceph version 16.2.0 (0c2054e95bcd9b30fdd908a79ac1d8bbc3394442) pacific (stable)": 2,
        "ceph version 18.0.0-1762-gcb17f286 (cb17f286272f7ae9dbdf8117ca7b077b0a5cf650) reef (dev)": 1
    },
    "mgr": {
        "ceph version 18.0.0-1762-gcb17f286 (cb17f286272f7ae9dbdf8117ca7b077b0a5cf650) reef (dev)": 2
    },
    "osd": {
        "ceph version 16.2.0 (0c2054e95bcd9b30fdd908a79ac1d8bbc3394442) pacific (stable)": 8
    },
    "mds": {},
    "rgw": {
        "ceph version 16.2.0 (0c2054e95bcd9b30fdd908a79ac1d8bbc3394442) pacific (stable)": 2
    },
    "overall": {
        "ceph version 16.2.0 (0c2054e95bcd9b30fdd908a79ac1d8bbc3394442) pacific (stable)": 12,
        "ceph version 18.0.0-1762-gcb17f286 (cb17f286272f7ae9dbdf8117ca7b077b0a5cf650) reef (dev)": 3
    }
}

For whatever reason, later in the test when we try to upgrade just 2 of the OSDs, the "ceph versions" output isn't reporting versions for some of the daemon types. The output comes out like

{
    "mon": {
        "ceph version 18.0.0-1762-gcb17f286 (cb17f286272f7ae9dbdf8117ca7b077b0a5cf650) reef (dev)": 3
    },
    "rgw": {
        "ceph version 16.2.0 (0c2054e95bcd9b30fdd908a79ac1d8bbc3394442) pacific (stable)": 2
    },
    "overall": {
        "ceph version 16.2.0 (0c2054e95bcd9b30fdd908a79ac1d8bbc3394442) pacific (stable)": 2,
        "ceph version 18.0.0-1762-gcb17f286 (cb17f286272f7ae9dbdf8117ca7b077b0a5cf650) reef (dev)": 3
    }
}

With no "osd" entry in the output at all, the check fails.

Verified the issue exists in a main branch build with no additional commits

https://pulpito.ceph.com/adking-2023-01-13_05:56:45-orch:cephadm-main-distro-default-smithi/7140915
https://pulpito.ceph.com/adking-2023-01-13_05:56:45-orch:cephadm-main-distro-default-smithi/7140916

Actions #1

Updated by Adam King over 1 year ago

  • Translation missing: en.field_tag_list set to test-failure
Actions #2

Updated by Adam King about 1 year ago

  • Pull request ID set to 50508
Actions #3

Updated by Adam King about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Adam King
Actions

Also available in: Atom PDF