Project

General

Profile

Bug #13221

rbd-replay: cryptic error when 'rbd' pool does not exist

Added by Josh Durgin about 7 years ago. Updated about 7 years ago.

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

0%

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

Description

By default rbd-replay tries to use the 'rbd' pool. It should print a better error message when the pool doesn't exist or is otherwise inaccessible. Currently it reports:

Unable to create IoCtx: -2

Associated revisions

Revision 4f436e10 (diff)
Added by Jason Dillaman about 7 years ago

rbd-replay: improve error messages

Fixes: #13221
Backport: hammer
Signed-off-by: Jason Dillaman <>

Revision e7406fcb (diff)
Added by Jason Dillaman about 7 years ago

rbd-replay: improve error messages

Fixes: #13221
Backport: hammer
Signed-off-by: Jason Dillaman <>
(cherry picked from commit 4f436e10802d7b3c3949b592fec238c189a02c50)

History

#1 Updated by Jason Dillaman about 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#2 Updated by Jason Dillaman about 7 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Jason Dillaman about 7 years ago

  • Status changed from Fix Under Review to Resolved

#4 Updated by Ken Dreyer about 7 years ago

For reference, the fix for this issue is being backported to Hammer as a part of the patch series in #13460. See https://github.com/ceph/ceph/pull/6286 , specifically this commit:

rbd-replay: improve error messages

Fixes: #13221
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4f436e10802d7b3c3949b592fec238c189a02c50)

Also available in: Atom PDF