Hi,
We have a bucket that we are trying to empty. Versioning and lifecycle was
enabled. We deleted all the objects in the bucket. But this left a whole
bunch of Delete Markers.
aws s3api delete-object --bucket B --key K --version-id V is not deleting the
delete markers.
Any ideas? We want to delete the bucket so we can reuse the bucket name.
Alternatively, is there a way to delete a bucket that still contains delete
markers?
$ aws --profile=owner s3api list-object-versions --bucket bucket --prefix
0/0/00fff6df-863d-48b5-9089-cc6e7c5997e7
{
"DeleteMarkers": [
{
"Owner": {
"DisplayName": "bucket owner",
"ID": "owner"
},
"IsLatest": true,
"VersionId": "ZB8ty9c3hxjxV5izmIKM1QwDR6fwnsd",
"Key": "0/0/00fff6df-863d-48b5-9089-cc6e7c5997e7",
"LastModified": "2018-09-17T16:19:58.187Z"
}
]
}
$ aws --profile=owner s3api delete-object --bucket bucket --key
0/0/00fff6df-863d-48b5-9089-cc6e7c5997e7 --version-id
ZB8ty9c3hxjxV5izmIKM1QwDR6fwnsd
returns 0 but the delete marker remains.
This bucket was created in 12.2.2, current version of ceph is 12.2.7 via 12.2.5
Thanks,
Sean
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com