Bug 1479801

Summary: "radosgw-admin reshard list" shows empty list after sometime, while dynamic bucket resharding is still in progress.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vidushi Mishra <vimishra>
Component: RGWAssignee: Orit Wasserman <owasserm>
Status: CLOSED NOTABUG QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.0CC: cbodley, ceph-eng-bugs, hnallurv, kbader, mbenjamin, owasserm, sweil
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-06 06:21:30 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:

Description Vidushi Mishra 2017-08-09 12:23:19 UTC
Description of problem:
To monitor the dynamic bucket resharding, use "radosgw-admin reshard list" to list the number of shards for a bucket with large number of objects.
However, after sometime it shows empty even though the resharding is in process.

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


How reproducible:
always

Steps to Reproduce:
1.create a bucket with large number of objects say (100k or more) enable dynamic bucket resharding in the ceph.cong file.
2. monitor resharding list by entering "radosgw-admin reshard list"
3. radosgw-admin reshard list
[
    {
        "time": "xxxx-xx-xx",
        "tenant": "",
        "bucket_name": "",
        "bucket_id": "",
        "new_instance_id": "",
        "old_num_shards": 1,
        "new_num_shards": 8
    }
]

Actual results:
it shows empty list after sometime.

Expected results:
Should not show empty till the resharding is in progress

Additional info: