Bug 1479949 - ‘radosgw-admin bucket check –fix’ deletes indices for valid objects as well
‘radosgw-admin bucket check –fix’ deletes indices for valid objects as well
Status: ON_QA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
2.3
x86_64 Linux
unspecified Severity high
: rc
: 2.4
Assigned To: Matt Benjamin (redhat)
ceph-qe-bugs
:
Depends On:
Blocks: 1473436
  Show dependency treegraph
 
Reported: 2017-08-09 15:39 EDT by Benjamin Schmaus
Modified: 2017-09-14 16:03 EDT (History)
13 users (show)

See Also:
Fixed In Version: RHEL: ceph-10.2.7-33.el7cp Ubuntu: ceph_10.2.7-34redhat1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 18470 None None None 2017-08-09 15:39 EDT

  None (edit)
Description Benjamin Schmaus 2017-08-09 15:39:30 EDT
Description of problem:

Running the following command: radosgw-admin bucket check –fix

In builds of Jewel >= 10.2.7 results in valid objects being removed as well.

Upstream master has been fixed but we need a fix for Ceph 2.4.

http://tracker.ceph.com/issues/18470

https://github.com/ceph/ceph/pull/16856
	
Version-Release number of selected component (if applicable):
2.3

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 2 Ian Colle 2017-08-16 17:42:38 EDT
Moving to 2.5 until post 2.4 release.
Comment 3 shilpa 2017-09-11 03:52:35 EDT
@matt, @orit,

Could you please suggest a reproducer for this?
Comment 6 Orit Wasserman 2017-09-11 05:39:32 EDT
(In reply to shilpa from comment #3)
> @matt, @orit,
> 
> Could you please suggest a reproducer for this?

This is bug caused bucket check to remove non multipart entries.
You can try creating a bucket, adding objects.
Upload a multipart objects at least one that is not commited.
Run bucket check --fix see all the objects are there
Comment 7 shilpa 2017-09-11 05:48:26 EDT
(In reply to Orit Wasserman from comment #6)
> (In reply to shilpa from comment #3)
> > @matt, @orit,
> > 
> > Could you please suggest a reproducer for this?
> 
> This is bug caused bucket check to remove non multipart entries.
> You can try creating a bucket, adding objects.
> Upload a multipart objects at least one that is not commited.
> Run bucket check --fix see all the objects are there

Thanks Orit. Do you mean initiate a multipart upload that is incomplete without doing a complete_upload?
Comment 8 Orit Wasserman 2017-09-11 06:38:43 EDT
(In reply to shilpa from comment #7)
> (In reply to Orit Wasserman from comment #6)
> > (In reply to shilpa from comment #3)
> > > @matt, @orit,
> > > 
> > > Could you please suggest a reproducer for this?
> > 
> > This is bug caused bucket check to remove non multipart entries.
> > You can try creating a bucket, adding objects.
> > Upload a multipart objects at least one that is not commited.
> > Run bucket check --fix see all the objects are there
> 
> Thanks Orit. Do you mean initiate a multipart upload that is incomplete
> without doing a complete_upload?

yes

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