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

Also available in: Atom PDF