Bug 1327729

Summary: Setting Image Metadata for an Image is accepting number, where it should accept only String (True/False)
Product: Red Hat Ceph Storage Reporter: Tanay Ganguly <tganguly>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Tanay Ganguly <tganguly>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, jdillama, kdreyer, kurs, nlevine, tchandra, tganguly, vakulkar
Target Milestone: rc   
Target Release: 2.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.2-1.el7cp Ubuntu: ceph_10.2.2-3redhat1xenial Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 19:36:33 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:

Description Tanay Ganguly 2016-04-15 18:24:04 UTC
Description of problem:
Setting Image Metadata for an Image is accepting number, where it should accept only String

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

How reproducible:
NA

e.g.

rbd image-meta set Tanay-RBD/CLOOONE1 rbd_cache_writethrough_until_flush 512
rbd image-meta set Tanay-RBD/CLOOONE1 rbd_cache 1024

rbd_cache_writethrough_until_flush and rbd_cache should accept only True and False, rather it is accepting numeric value as well.

Comment 2 Ken Dreyer (Red Hat) 2016-04-26 21:09:03 UTC
Jason, would you be able to land a fix in jewel upstream a week from now (May 2nd)?

Comment 3 Jason Dillaman 2016-04-26 22:00:50 UTC
Ken: highly unlikely to land next week.

Comment 4 Ken Dreyer (Red Hat) 2016-04-27 00:02:21 UTC
Ok, I recommend we re-target to RHCS 2.1. Neil/Federico?

Comment 5 Neil Levine 2016-05-06 20:07:41 UTC
+1

Comment 6 Jason Dillaman 2016-05-27 19:23:23 UTC
Upstream PR: https://github.com/ceph/ceph/pull/9280

Comment 11 Jason Dillaman 2016-06-12 23:58:31 UTC
Merged, upstream Jewel PR: https://github.com/ceph/ceph/pull/9554

Comment 19 errata-xmlrpc 2016-08-23 19:36:33 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-2016-1755.html