Project

General

Profile

Actions

Bug #69814

closed
PD NM

messages: MOSDOpReply does not encode/decode error result codes correctly for clients without CEPH_FEATURE_PGID64

Bug #69814: messages: MOSDOpReply does not encode/decode error result codes correctly for clients without CEPH_FEATURE_PGID64

Added by Patrick Donnelly almost 2 years ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Category:
Correctness/Safety
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-4148-gbcde113c98
Released In:
v21.2.0~1694
Upkeep Timestamp:
2026-10-24T02:19:03+00:00

Description

https://github.com/ceph/ceph/blob/6a194b760f440c28a6b25899db15bd1b58446fe2/src/messages/MOSDOpReply.h#L186

Unless there is other magic here I don't see: the result code from OSDOpReply::result is not converted to the on-the-wire representation using the errorcode32_t::encode method. It is instead raw assigned which is not correct.

Be aware the CephFS is doing some cleanup of its own here: https://github.com/ceph/ceph/pull/60286


Related issues 2 (0 open — 2 closed)

Copied to RADOS - Backport #73849: tentacle: messages: MOSDOpReply does not encode/decode error result codes correctly for clients without CEPH_FEATURE_PGID64ResolvedNitzan Mordechai

Actions
Copied to RADOS - Backport #73850: squid: messages: MOSDOpReply does not encode/decode error result codes correctly for clients without CEPH_FEATURE_PGID64ResolvedNitzan Mordechai

Actions

NM Updated by Nitzan Mordechai about 1 year ago Actions #1

  • Status changed from New to Fix Under Review
  • Assignee set to Nitzan Mordechai

NM Updated by Nitzan Mordechai about 1 year ago Actions #2

  • Pull request ID set to 65962

PD Updated by Patrick Donnelly about 1 year ago Actions #3

  • Backport set to tentacle,squid

RZ Updated by Radoslaw Zarzynski about 1 year ago Actions #4

scrub note: approved.

RZ Updated by Radoslaw Zarzynski about 1 year ago ยท Edited Actions #5

scrub note: undergoes QA.

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

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to bcde113c98610b3f5bb687fc5d005ca47cedfe4c
  • Fixed In set to v20.3.0-4148-gbcde113c98
  • Upkeep Timestamp set to 2025-11-13T23:47:10+00:00

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

  • Copied to Backport #73849: tentacle: messages: MOSDOpReply does not encode/decode error result codes correctly for clients without CEPH_FEATURE_PGID64 added

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

  • Copied to Backport #73850: squid: messages: MOSDOpReply does not encode/decode error result codes correctly for clients without CEPH_FEATURE_PGID64 added

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

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #11

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-13T23:47:10+00:00 to 2026-08-27T18:23:09+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #12

  • Status changed from Backporting to Resolved
  • Upkeep Timestamp changed from 2026-08-27T18:23:09+00:00 to 2026-10-21T01:21:52+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #13

  • Released In set to v21.2.0~1694
  • Upkeep Timestamp changed from 2026-10-21T01:21:52+00:00 to 2026-10-24T02:19:03+00:00
Actions

Also available in: PDF Atom