Project

General

Profile

Actions

Bug #8175

closed

Some values of target_max_objects for tiering will crash OSDs

Added by David Zafman about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

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

Description

ceph osd pool set cache target_max_objects 10

It looks like a value below 1024 will cause x/1024 == 0 which will be used for division.

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fffe2ef3700 (LWP 51408)]
0x0000000000829087 in ReplicatedPG::agent_choose_mode (this=0x1cdc000) at osd/ReplicatedPG.cc:11129
11129 (pool.info.target_max_objects / divisor);
(gdb) bt
#0 0x0000000000829087 in ReplicatedPG::agent_choose_mode (this=0x1cdc000) at osd/ReplicatedPG.cc:11129
#1 0x00000000007c9c33 in ReplicatedPG::agent_setup (this=0x1cdc000) at osd/ReplicatedPG.cc:10734
#2 0x00000000007de447 in ReplicatedPG::on_activate (this=0x1cdc000) at osd/ReplicatedPG.cc:9121
#3 0x000000000074a521 in PG::RecoveryState::Active::react (this=0x19da2c0, evt=...) at osd/PG.cc:6423
#4 0x00000000007af2c0 in react<PG::RecoveryState::Active, boost::statechart::event_base, void const*> (evt=..., stt=..., eventType=<optimized out>)
at /usr/include/boost/statechart/custom_reaction.hpp:42

Actions #1

Updated by Samuel Just about 10 years ago

  • Priority changed from Normal to High
Actions #2

Updated by David Zafman almost 10 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to David Zafman
Actions #3

Updated by David Zafman almost 10 years ago

  • Status changed from Fix Under Review to Resolved

f47f867952e6b2a16a296c82bb9b585b21cde6c8

Actions #4

Updated by David Zafman almost 10 years ago

  • Status changed from Resolved to Pending Backport
Actions #5

Updated by David Zafman almost 10 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF