Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1508615

Summary: [RH Ceph3.0] list bucket which enable versioning get wrong result when user marker
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasu Kulkarni <vakulkar>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Vasu Kulkarni <vakulkar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.0CC: cbodley, ceph-eng-bugs, hnallurv, kbader, kdreyer, mbenjamin, owasserm, sweil
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.1-37.el7cp Ubuntu: ceph_12.2.1-39redhat1xenial Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:49:35 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 Vasu Kulkarni 2017-11-01 19:15:47 UTC
Description of problem:

Not sure if we have a existing bz, but this is needed for rgw regression runs to be in green state, During my discussion with Casey he said the fix exists upstream and is pending backport to luminous, we will need this here as well

https://github.com/ceph/ceph/pull/18569


2017-11-01T14:22:51.257 INFO:teuthology.orchestra.run.clara008.stderr:test_realistic.TestFileValidator.test_new_file_is_valid_on_several_calls ... ok
2017-11-01T14:22:51.257 INFO:teuthology.orchestra.run.clara008.stderr:test_realistic.TestFileValidator.test_new_file_is_valid_when_size_is_1 ... ok
2017-11-01T14:22:51.572 INFO:teuthology.orchestra.run.clara008.stderr:test_realistic.TestFiles.test_random_file_valid ... ok
2017-11-01T14:22:51.574 INFO:teuthology.orchestra.run.clara008.stderr:
2017-11-01T14:22:51.574 INFO:teuthology.orchestra.run.clara008.stderr:======================================================================
2017-11-01T14:22:51.575 INFO:teuthology.orchestra.run.clara008.stderr:FAIL: s3tests.functional.test_s3.test_bucket_list_marker_versioning
2017-11-01T14:22:51.575 INFO:teuthology.orchestra.run.clara008.stderr:----------------------------------------------------------------------
2017-11-01T14:22:51.575 INFO:teuthology.orchestra.run.clara008.stderr:Traceback (most recent call last):
2017-11-01T14:22:51.576 INFO:teuthology.orchestra.run.clara008.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
2017-11-01T14:22:51.576 INFO:teuthology.orchestra.run.clara008.stderr:    self.test(*self.arg)
2017-11-01T14:22:51.576 INFO:teuthology.orchestra.run.clara008.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/test_s3.py", line 909, in test_bucket_list_marker_versioning
2017-11-01T14:22:51.576 INFO:teuthology.orchestra.run.clara008.stderr:    eq(names, ['foo'])
2017-11-01T14:22:51.577 INFO:teuthology.orchestra.run.clara008.stderr:AssertionError: [u'baz', u'foo'] != ['foo']
2017-11-01T14:22:51.577 INFO:teuthology.orchestra.run.clara008.stderr:-------------------- >> begin captured logging << --------------------

Comment 8 Vasu Kulkarni 2017-11-03 20:52:25 UTC
Verified in 12.2.1-39.el7cp

Comment 11 errata-xmlrpc 2017-12-05 23:49:35 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://access.redhat.com/errata/RHBA-2017:3387