Created attachment 1555462 [details] lc.py Objects in RGW bucket expires even after setting status as disabled in lifecycle configuration Adding "rgw lc debug interval = 300" for testing purposes (5 mins) (this will set expiration to 5 mins if expiration days is set to 1 day) Ceph Version: ceph version 12.2.8-116.el7cp OS: RHEL 7.6 Steps: using boto3 1. create a bucket, 2. upload object 3. put bucket lifecycle configuration, using expiration day as "1" and add status as "Enabled", 4. now set the disable the configuration by setting status as "Disabled", the response says 200 ok. 5. now get the bucket life cycle configuration and check for the status, it shows "Enabled" 6. check if the object is expired after 5 mins -- the object does not exist Expected: After disabling the lifecycle configuration, the object should not get deleted I have used the attached script to set the lifecycle, for enabling and disabling.
*** This bug has been marked as a duplicate of bug 1708650 ***