Hello,
I have uploaded a large object to swift using s3cmd (multipart-upload).
But when I tried to delete the bucket(object recursively), the object is not
getting deleted:
s3cmd del --recursive --force s3://bucketname
This returns that the objects are deleted, but actually, the objects are not
deleted.
DEBUG: format_uri(): /bucketname/?delete
DEBUG: Sending request method_string='POST', uri='/bucketname/?delete',
headers={'content-type': 'application/xml', 'Authorization': 'AWS hidden',
'x-amz-date': 'Wed, 06 Jun 2018 20:55:48 +0000', 'content-md5': 'hidden'},
body=(96 bytes)DEBUG: Response: {'status': 200, 'headers': {'content-length':
'159', 'x-amz-id-2': 'tx5e61bcccea464480b4cc7-005b184a52', 'x-amz-request-id':
'tx-hidden', 'x-trans-id': 'tx-hidden', 'date': 'Wed, 06 Jun 2018 20:55:47
GMstorageT', 'content-type': 'text/html; charset=UTF-8'}, 'reason': 'OK',
'data': '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<DeleteResult
xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Deleted><Key>objectname</Key></Deleted></DeleteResult>'}
s3cmd rb -r --force s3://bucketnameWARNING: Bucket is not empty. Removing all
the objects from it first. This may take some time...delete:
's3://bucketname/objectname'ERROR: S3 error: 409 (BucketNotEmpty): The bucket
you tried to delete is not empty
s3cmd version 1.6.1
OS: Ubuntu 14.04.3 LTS
I am not sure what am I missing. Any pointers?
Regards,Bhaskar
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general