Description of problem: After putting a lifecycle expiration rule with prefix 'a' on a bucket,HEAD or GET on objects in this bucket will allways return x-amz-expiration header,whether the object key starts with an 'a' or not. Version-Release number of selected component (if applicable): ceph version ceph-12.2.12-74.el7cp luminous How reproducible: Every time Steps to Reproduce: 1.Install ceph-12.2.12-74 2.Create a bucket and inside the bucket put an object whose key is 'b.txt' 3.Put lifecycle configuration on this bucket,with an expiration rule whose prefix is 'a' 4.Make an HEAD request on 'b.txt' Actual results: x-amz-expiration header included in response Expected results: x-amz-expiration header not included in response 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 5.0 bug fix and enhancement), 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-2021:3294
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days