Project

General

Profile

Actions

Bug #24000

closed

mon: snap delete on deleted pool returns 0 without proper payload

Added by Jason Dillaman almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Correctness/Safety
Target version:
-
% Done:

0%

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

Description

It can lead to an abort in the client application since an empty reply w/o an error code is constructed in the monitor and the decode of the reply isn't wrapped with a try/catch block.

2018-05-03 18:58:44.207 7f9a28b11700 10 mon.a@0(leader).osd e104 attempt to operate on non-existent pool id 2

http://pulpito.ceph.com/jdillaman-2018-05-03_14:25:40-rbd-wip-rbd-mirror-policy-distro-basic-smithi/2471988


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #24103: mimic: mon: snap delete on deleted pool returns 0 without proper payloadResolvedKefu ChaiActions
Actions #1

Updated by Jason Dillaman almost 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #2

Updated by Greg Farnum almost 6 years ago

  • Subject changed from Potential race with creating self-managed snapshot and pool deletion to mon: snap delete on deleted pool returns 0 without proper payload
  • Category set to Correctness/Safety
  • Status changed from Fix Under Review to 12
  • Component(RADOS) Monitor added

Jason put a client-side handler in, but we should change the monitor as well so that we don't break older clients (or tell lies!).

Actions #3

Updated by Greg Farnum almost 6 years ago

  • Assignee deleted (Jason Dillaman)
Actions #4

Updated by Josh Durgin almost 6 years ago

  • Status changed from 12 to 7
Actions #5

Updated by Kefu Chai almost 6 years ago

  • Status changed from 7 to Pending Backport
  • Backport set to mimic
Actions #6

Updated by Kefu Chai almost 6 years ago

  • Copied to Backport #24103: mimic: mon: snap delete on deleted pool returns 0 without proper payload added
Actions #7

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF