RGW : Setting Lifecycle policy on a bucket, for expiration day=0 results with an error

Solution In Progress - Updated -


  • If a lifecycle policy on a bucket is set along with configuration parameters Expiration Days or NoncurrentDays with the value of 0, it results in an error . For example :
# vim policy.xml

# s3cmd setlifecycle /tmp/policy.xml s3://test-bucket-lifecycle-policy
ERROR: S3 error: 400 (InvalidArgument)


Red Hat Ceph Storage 3.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In