Bug 1390336 - rgw: json encode/decode of RGWBucketInfo missing index_type field
Summary: rgw: json encode/decode of RGWBucketInfo missing index_type field
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 2.2
Assignee: Matt Benjamin (redhat)
QA Contact: Hemanth Kumar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-31 17:56 UTC by Yehuda Sadeh
Modified: 2022-02-21 18:17 UTC (History)
8 users (show)

Fixed In Version: RHEL: ceph-10.2.5-17.el7cp Ubuntu: ceph_10.2.5-10redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-14 15:46:11 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 17755 0 None None None 2016-10-31 17:56:08 UTC
Red Hat Product Errata RHBA-2017:0514 0 normal SHIPPED_LIVE Red Hat Ceph Storage 2.2 bug fix and enhancement update 2017-03-21 07:24:26 UTC

Description Yehuda Sadeh 2016-10-31 17:56:08 UTC
Description of problem:

When dumping metadata of a bucket instance, the index_type param does not show. We also don't parse that field when setting bucket instance metadata (via radosgw-admin or through command line on existing buckets).


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


How reproducible:
always

Steps to Reproduce:
1.

$ radosgw-admin metadata get bucket.instance:<bucket>:<bucket-id>

Actual results:

should show index_type field

Expected results:

does not show


Additional info:


In order to completely test feature (once fixed), need to do the following:

$ radosgw-admin metadata get bucket.instance:<bucket>:<bucket-id> > buck.json

.. modify index_type in buck.json , switch it from 0 to 1

$ radosgw-admin metadata put bucket.instance:<bucket>:<bucket-id> < buck.json


$ radosgw-admin metadata get bucket.instance:<bucket>:<bucket-id>

.. verify that index_type has been set correctly

Comment 6 Ken Dreyer (Red Hat) 2017-01-25 03:01:09 UTC
Matt, is https://github.com/ceph/ceph/pull/11759 ready to merge?

Comment 11 Hemanth Kumar 2017-02-08 13:58:44 UTC
Verified.. index_type  is getting changed as expected..

Comment 13 errata-xmlrpc 2017-03-14 15:46:11 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


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