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:
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