Project

General

Profile

Actions

Bug #49020

open
JI

rados subcommand rmomapkey does not report error when key provided not found

Bug #49020: rados subcommand rmomapkey does not report error when key provided not found

Added by J. Eric Ivancich almost 6 years ago. Updated 21 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Due date:
% Done:

0%

Source:
Community (dev)
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

In the following command, the object exists in the pool, but there is no omap key "waldo". When the following is run:

rados rmomapkey -p default.rgw.buckets.index .dir.81c100a9-fec5-40d3-9d74-31eccd432eb3.4137.1.0 waldo
echo $?

No error message is produced on either stdout or stderr, and the exit status is 0.

JI Updated by J. Eric Ivancich almost 6 years ago Actions #1

  • Target version set to v17.0.0
  • Backport set to octopus,nautilus
  • Affected Versions v17.0.0 added

KS Updated by Konstantin Shalygin over 2 years ago Actions #2

  • Backport changed from octopus,nautilus to nautilus

KS Updated by Konstantin Shalygin over 2 years ago Actions #3

  • Backport deleted (nautilus)

AP Updated by Abraham Perez 22 days ago Actions #4

Opened a PR: https://github.com/ceph/ceph/pull/73743 - 'rados rmomapkey' now looks the key up first and fails with 'No such key' (exit 1) when it is missing, instead of silently exiting 0 (verified on a vstart cluster; test_rados_tool.sh test_omap extended and passing).

KS Updated by Kamoltat (Junior) Sirivadhna 21 days ago Actions #5

  • Status changed from New to Fix Under Review

LF Updated by Laura Flores 21 days ago Actions #6

Thanks @Abraham Perez! Can you please make an account for yourself in https://tracker.ceph.com/ so we can assign the ticket to you?

AP Updated by Abraham Perez 21 days ago Actions #7

Thanks Laura! I actually already have a tracker account: username abrahamperz (same as my GitHub handle). Happy to be added to RADOS if useful - does being a member actually matter, or not really?

KS Updated by Konstantin Shalygin 21 days ago Actions #8

  • Target version changed from v17.0.0 to v22.0.0
  • Source set to Community (dev)
  • Pull request ID set to 73743
Actions

Also available in: PDF Atom