Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1357001 - [rbd-cli] - No error message when tried to delete a meta key that doesn't exists
Summary: [rbd-cli] - No error message when tried to delete a meta key that doesn't exists
Status: POST
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RBD
Version: 2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 4.0
Assignee: Jason Dillaman
QA Contact: ceph-qe-bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2016-07-15 13:05 UTC by Vasishta
Modified: 2019-04-11 07:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 16990 None None None 2016-08-10 19:29:45 UTC

Description Vasishta 2016-07-15 13:05:24 UTC
Description of problem:
While trying to delete image-meta key that doesn't exist, there is no error message getting displayed.

Version-Release number of selected component (if applicable):
ceph version 10.2.2-15.el7cp

How reproducible:

Steps to Reproduce:
1. Try to delete a image-meta key that doesn't exist
( sudo rbd image-meta remove <image-spec> random_key )

# rbd image-meta get test_rbd/test_image06 random_key
failed to get metadata random_key of image : (2) No such file or directory
rbd: getting metadata failed: (2) No such file or directory

# rbd image-meta remove test_rbd/test_image06 random_key


Actual results:
command exits without any message.

Expected results:
there should be an error message displayed

Note You need to log in before you can comment on or make changes to this bug.