Bug #49020
openrados subcommand rmomapkey does not report error when key provided not found
0%
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
- 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
- Backport changed from octopus,nautilus to nautilus
KS Updated by Konstantin Shalygin over 2 years ago
- Backport deleted (
nautilus)
AP Updated by Abraham Perez 22 days ago
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
- Status changed from New to Fix Under Review
LF Updated by Laura Flores 21 days ago
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
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
- Target version changed from v17.0.0 to v22.0.0
- Source set to Community (dev)
- Pull request ID set to 73743