Bug 2100967

Summary: [rfe] translate radosgw-admin 2002 to ENOENT (POSIX); was: radosgw-admin bucket stats returns Unknown error 2002
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vikhyat Umrao <vumrao>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 4.3CC: akraj, cbodley, ceph-eng-bugs, cephqe-warriors, fandrieu, gjose, jansingh, kbader, kkeithle, mbenjamin, mhackett, mkasturi, tserlin, uboppana, vumrao
Target Milestone: ---Keywords: AutoVerified, FutureFeature
Target Release: 5.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.7-63.el8cp Doc Type: Bug Fix
Doc Text:
.Result code 2002 of `radosgw-admin` commands is explicitly translated to 2 Previously, a change in the S3 error translation of i1nternal `NoSuchBucket` result inadvertently changed the error code from the `radosgw-admin bucket stats` command causing the the programs checking the shell result code of those `radosgw-admin` commands to see a different result code. With this fix, the result code 2002 is explicitly translated to 2 and users can see the original behaviour.
Story Points: ---
Clone Of: 2089220 Environment:
Last Closed: 2022-08-09 17:39:10 UTC Type: ---
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: 2089220    
Bug Blocks: 2100966, 2102272    

Comment 10 errata-xmlrpc 2022-08-09 17:39:10 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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement Update), 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/RHSA-2022:5997