Bug 2270738

Summary: [rgw/lc]:s3cmd getlifecycle shows 'ObjectSizeGreaterThanw' instead of 'ObjectSizeGreaterThan'
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vidushi Mishra <vimishra>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Chaithra <ckulal>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.1CC: akraj, ceph-eng-bugs, cephqe-warriors, ckulal, vereddy
Target Milestone: ---   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.1.0-31 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-25 09:00:56 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:
Bug Depends On:    
Bug Blocks: 2317218    

Description Vidushi Mishra 2024-03-21 15:37:20 UTC
Description of problem:


s3cmd getlifecycle for 'ObjectSizeGreaterThan' filter has a typo error.

s3cmd getlifecycle shows 'ObjectSizeGreaterThanw' instead of 'ObjectSizeGreaterThan'

---------------- s3cmd getlifecycle shows 'ObjectSizeGreaterThanw' ------------

(venv) [root@ceph-pri-vim-3way-q1spqr-node4 s3cmd]# s3cmd getlifecycle s3://test-lc-1
<?xml version="1.0" ?>
<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
	<Rule>
		<ID>Test LC expiration at archive zone</ID>
		<Filter>
			<And>
				<Prefix>tax</Prefix>
				<ObjectSizeGreaterThanw>500</ObjectSizeGreaterThanw>
				<ObjectSizeLessThan>64000</ObjectSizeLessThan>
			</And>
		</Filter>
		<Status>Enabled</Status>
		<NoncurrentVersionExpiration>
			<NoncurrentDays>3</NoncurrentDays>
		</NoncurrentVersionExpiration>
	</Rule>
</LifecycleConfiguration>

(venv) [root@ceph-pri-vim-3way-q1spqr-node4 s3cmd]#

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 errata-xmlrpc 2024-11-25 09:00:56 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 (Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), 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-2024:10216