Project

General

Profile

Actions

Bug #45250

closed

check-generated.sh finds error in ceph-dencoder

Added by Willem Jan Withagen almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

[~/master36] > build/bin/ceph-dencoder type bluestore_bdev_label_t select_test 1 encode export /tmp/typ-yFISvjvgj
[~/master36] > hexdump C !$
hexdump -C /tmp/typ-yFISvjvgj
00000000 62 6c 75 65 73 74 6f 72 65 20 62 6c 6f 63 6b 20 |bluestore block |
00000010 64 65 76 69 63 65 0a 30 30 30 30 30 30 30 30 2d |device.00000000
|
00000020 30 30 30 30 2d 30 30 30 30 2d 30 30 30 30 2d 30 |0000-0000-0000-0|
00000030 30 30 30 30 30 30 30 30 30 30 30 0a 02 01 28 00 |00000000000...(.|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 70 74 03 04 00 00 00 00 00 00 00 00 00 00 |..pt............|
00000060 00 00 00 00 00 00 00 00 00 00 |..........|
0000006a

[~/master36] > build/bin/ceph-dencoder type bluestore_bdev_label_t select_test 1 encode decode encode export /tmp/typ-MjWXdCpzJ
[~/master36] > hexdump C !$
hexdump -C /tmp/typ-MjWXdCpzJ
00000000 62 6c 75 65 73 74 6f 72 65 20 62 6c 6f 63 6b 20 |bluestore block |
00000010 64 65 76 69 63 65 0a 30 30 30 30 30 30 30 30 2d |device.00000000
|
00000020 30 30 30 30 2d 30 30 30 30 2d 30 30 30 30 2d 30 |0000-0000-0000-0|
00000030 30 30 30 30 30 30 30 30 30 30 30 0a 02 01 28 00 |00000000000...(.|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 73 64 00 00 00 00 00 00 00 00 00 00 00 00 |..sd............|
00000060 00 00 00 00 00 00 00 00 00 00 |..........|
0000006a

Fixed by correctly initializing the base structure in the ctor.
#29968 fixed this for master, octopus


Related issues 1 (0 open1 closed)

Copied to bluestore - Backport #45330: nautilus: check-generated.sh finds error in ceph-dencoderResolvedNathan CutlerActions
Actions #1

Updated by Greg Farnum almost 4 years ago

  • Project changed from Ceph to bluestore
Actions #2

Updated by Igor Fedotov almost 4 years ago

  • Status changed from New to Pending Backport
Actions #3

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #45330: nautilus: check-generated.sh finds error in ceph-dencoder added
Actions #4

Updated by Nathan Cutler almost 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF