Project

General

Profile

Actions

Fix #54321

open

osd/OSDMap: OSDMap CRC inconsistence with incremental

Added by Aliaksei Makarau about 2 years ago. Updated almost 2 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
OSDMap
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
54320
Reviewed:
Affected Versions:
ceph-qa-suite:
smoke
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Operation of CEPH in a mixed cluster consisting of little and big endian nodes triggers CRC inconsistency during OSDMap incremental update in
OSD::handle_osd_map().
Initial check revealed that the OSDMap::crc is not equal to the OSDMap::Incremental::full_crc
and the OSDMap::crc is not properly calculated in the "void OSDMap::encode(ceph::buffer::list& bl, uint64_t features) const" function.
A typical warning message "failed to encode map" is logged (see the screensot in the attach).


Files

failed_to_encode.png (202 KB) failed_to_encode.png Aliaksei Makarau, 02/22/2022 08:01 AM

Related issues 1 (1 open0 closed)

Is duplicate of Ceph - Bug #54320: osd/OSDMap: OSDMap CRC inconsistence with incrementalNew

Actions
Actions #1

Updated by Laura Flores about 2 years ago

Hello, I don't see a screenshot. Can you try re-attaching it?

Actions #2

Updated by Laura Flores about 2 years ago

  • Pull request ID set to 45095
Actions #3

Updated by Laura Flores about 2 years ago

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

Updated by Aliaksei Makarau about 2 years ago

Dear Laura,please find the screenshot.
This issue we found originally for octopus (please see the issue 54320) and this fix is relevant to the master too.

Actions #5

Updated by Aliaksei Makarau about 2 years ago

Dear Laura,

this fix (originally found) is related to the octopus release:
https://tracker.ceph.com/issues/54320
the commit is here:
https://github.com/ibm-s390-cloud/ceph/commit/89153177a360d6b2f0bf91ba3df5c0f527c02ae2

Thank you!

Actions #6

Updated by Laura Flores about 2 years ago

  • Is duplicate of Bug #54320: osd/OSDMap: OSDMap CRC inconsistence with incremental added
Actions #7

Updated by Ilya Dryomov almost 2 years ago

  • Target version deleted (v16.2.8)
Actions

Also available in: Atom PDF