I am trying to apply a bucket lifecycle rule to clean up incomplete multipart uploads.

This is my request (in Go) using the AWS Go SDK (v2):

    req := s3Client.PutBucketLifecycleConfigurationRequest(&s3.PutBucketLifecycleConfigurationInput{
        Bucket: aws.String("somebucket"),
        LifecycleConfiguration: &s3.BucketLifecycleConfiguration{
            Rules: []s3.LifecycleRule{
                {
                    ID: aws.String("remove-incomplete-multipart-uploads"),
                    Prefix: aws.String(""),
                    Status: s3.ExpirationStatusEnabled,
                    AbortIncompleteMultipartUpload: &s3.AbortIncompleteMultipartUpload{
                        DaysAfterInitiation: aws.Int64(2),
                    },
                },
            },
        },
    })

I am receiving this error from RGW:

Error putting bucket lifecycle: MalformedXML: status code: 400, request id: tx000000000000000001f7f-005a95e7fa-1009-default, host id:

Is there a more comprehensive list of the supported bucket lifecycles in ceph? According to http://docs.ceph.com/docs/master/radosgw/s3/#features-support , bucket lifecycles are supported. However, from the remarks, I am not sure whether it only supports removing of expired files or other types of lifecycles.

Thanks,

Francis

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to