Bug 1400915

Summary: provide method to remove binary string keys from rbd_children omap
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Harald Klein <hklein>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: high Docs Contact: Bara Ancincova <bancinco>
Priority: high    
Version: 2.1CC: ceph-eng-bugs, hnallurv, jdillama, pnataraj, vumrao
Target Milestone: rc   
Target Release: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.5-7.el7cp Ubuntu: ceph_10.2.5-3redhat1xenial Doc Type: Enhancement
Doc Text:
.The rados utility now supports the --omap-key-file option With this update, the `rados` command-line utility supports the `--omap-key-file` option. You can use this option to specify the path to a file containing the binary key for `omap` key-values pairs. The following commands take `--omap-key-file`: * `getomapval` * `setomapval` * `rmomapkey`
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-14 15:47:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1412948    

Description Harald Klein 2016-12-02 09:56:59 UTC
Description of problem:

Need a way to remove a key/value pair from the rbd_children omap by specifying the binary string key (containing 0 characters). This is required to clean up a stale reference caused by https://bugzilla.redhat.com/1400884

Version-Release number of selected component (if applicable):

2.1

How reproducible:

n/a

Actual results:

binary strings can't be specified in "rados rmomapkey"

Expected results:

add a method to remove a binary string key

Comment 1 Jason Dillaman 2016-12-06 00:08:29 UTC
Upstream, master branch PR: https://github.com/ceph/ceph/pull/12286

Comment 7 Hemanth Kumar 2017-02-07 10:51:37 UTC
Verified the cli command and it working as expected..

Comment 12 errata-xmlrpc 2017-03-14 15:47:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0514.html