Bug 2310381
| Summary: | [s3-object-restore]: head-object does not return Restore status and StorageClass headers for objects | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vidushi Mishra <vimishra> |
| Component: | RGW | Assignee: | Shreyansh Sancheti <ssanchet> |
| Status: | CLOSED ERRATA | QA Contact: | Vidushi Mishra <vimishra> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | akraj, ceph-eng-bugs, cephqe-warriors, jthottan, skoduri, ssanchet, tserlin |
| Target Milestone: | --- | ||
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-19.2.0-16.el9cp | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-11-25 09:09:01 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 | ||
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 |
Description of problem: While attempting to retrieve the metadata of a restored object, the Restore status and StorageClass headers are not returned as expected. These headers are important for understanding the storage class of an object (depends on temporary/permanent restore) and the restoration progress of objects. headers requested in the response are : "x-amz-storage-class": "x-amz-restore": currently we have the below response # aws --endpoint http://ceph-pri-tfa-vim-toraoc-node4:80 s3api head-object --bucket testcloud-1 --key file-30 { "AcceptRanges": "bytes", "LastModified": "Tue, 03 Sep 2024 10:38:30 GMT", "ContentLength": 0, "ETag": "\"\"9023071056a8a2a7cc8b188fbfd7d523\"\"", "ContentType": "text/plain", "Metadata": {}, "StorageClass": "CLOUDAWS" } Version-Release number of selected component (if applicable): ceph version 19.1.0-71.el9cp How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: