Project

General

Profile

Actions

Bug #67758

closed
AK AK

cephadm: cephadm staggered upgrade tests fail as rgw versions in `ceph versions` aren't updated by the time they're checked

Bug #67758: cephadm: cephadm staggered upgrade tests fail as rgw versions in `ceph versions` aren't updated by the time they're checked

Added by Adam King over 2 years ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-5662-gfb02706dcb
Released In:
v20.2.0~1755
Upkeep Timestamp:
2026-08-27T18:18:43+00:00

Description

In the staggered upgrade test the rgw daemons are upgraded with

ceph orch upgrade start --image quay.ceph.io/ceph-ci/ceph:$sha1 --services rgw.foo

and once that is complete, it is checked that all RGW daemons are on the same and correct version with

ceph versions | jq -e '.rgw | length == 1'
ceph versions | jq -e '.rgw | keys' | grep $sha1

Recently, this check sometimes fails (the length == 1 check specifically, in which case the check against the sha never happens). Doing an interactive rerun and checking on the node after the test failed this way it was seen that all the rgw daemons were on the same and correct version

[ceph: root@smithi018 /]# ceph versions
{
    "mon": {
        "ceph version 19.3.0-4531-g3dc2903c (3dc2903ce54642862afb4be96c1cf5ecd2d381c6) squid (dev)": 3
    },
    "mgr": {
        "ceph version 19.3.0-4531-g3dc2903c (3dc2903ce54642862afb4be96c1cf5ecd2d381c6) squid (dev)": 2
    },
    "osd": {
        "ceph version 19.3.0-4531-g3dc2903c (3dc2903ce54642862afb4be96c1cf5ecd2d381c6) squid (dev)": 8
    },
    "rgw": {
        "ceph version 19.3.0-4531-g3dc2903c (3dc2903ce54642862afb4be96c1cf5ecd2d381c6) squid (dev)": 2
    },
    "overall": {
        "ceph version 19.3.0-4531-g3dc2903c (3dc2903ce54642862afb4be96c1cf5ecd2d381c6) squid (dev)": 15
    }
}
[ceph: root@smithi018 /]# ceph versions | jq -e '.rgw | length == 1'
true
[ceph: root@smithi018 /]# echo $?
0

which leads me to believe this is just a timing issue between when the test sees the upgrade is complete and checks the `ceph versions` output, and when the `ceph versions` actually gets the updated information on the rgw daemons' versions


Related issues 2 (1 open — 1 closed)

Copied to Orchestrator - Backport #68646: squid: cephadm: cephadm staggered upgrade tests fail as rgw versions in `ceph versions` aren't updated by the time they're checkedNewAdam King

Actions
Copied to Orchestrator - Backport #68647: reef: cephadm: cephadm staggered upgrade tests fail as rgw versions in `ceph versions` aren't updated by the time they're checkedResolvedAdam King

Actions

AK Updated by Adam King over 2 years ago Actions #1

  • Pull request ID set to 59470

AK Updated by Adam King about 2 years ago Actions #2

  • Status changed from In Progress to Pending Backport

UB Updated by Upkeep Bot about 2 years ago Actions #3

  • Copied to Backport #68646: squid: cephadm: cephadm staggered upgrade tests fail as rgw versions in `ceph versions` aren't updated by the time they're checked added

UB Updated by Upkeep Bot about 2 years ago Actions #4

  • Copied to Backport #68647: reef: cephadm: cephadm staggered upgrade tests fail as rgw versions in `ceph versions` aren't updated by the time they're checked added

UB Updated by Upkeep Bot about 2 years ago Actions #5

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Merge Commit set to fb02706dcb668f44aad383ff11f5684dacf77173
  • Fixed In set to v19.3.0-5662-gfb02706dcb6
  • Upkeep Timestamp set to 2025-07-08T18:45:26+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • Fixed In changed from v19.3.0-5662-gfb02706dcb6 to v19.3.0-5662-gfb02706dcb66
  • Upkeep Timestamp changed from 2025-07-08T18:45:26+00:00 to 2025-07-14T15:45:46+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Fixed In changed from v19.3.0-5662-gfb02706dcb66 to v19.3.0-5662-gfb02706dcb
  • Upkeep Timestamp changed from 2025-07-14T15:45:46+00:00 to 2025-07-14T21:10:03+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #9

  • Released In set to v20.2.0~1755
  • Upkeep Timestamp changed from 2025-07-14T21:10:03+00:00 to 2025-11-01T01:02:34+00:00

UB Updated by Upkeep Bot 3 months ago Actions #10

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:02:34+00:00 to 2026-08-27T18:18:43+00:00
Actions

Also available in: PDF Atom