Delete Multiple Objects API won't able to delete multipart objects

Bug #1705409 reported by Charles Hsu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Swift3
New
Undecided
Unassigned

Bug Description

When I issue a request to delete a multipart object with Delete Multiple Objects API(http://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html). I got 200 ok, but I still able to see the manifest and segments on the container and segment container.

Full logs from all nodes.

Jul 20 08:28:28 demo25 proxy-server: Calling Swift3 Middleware (txn: tx9c21f8be6a89492c9bdbd-00597069ac) (client_ip: 192.168.190.1)
Jul 20 08:28:28 demo25 proxy-server: {'access_key': 'demo', 'account': None, '_timestamp': 1500539308.00000_0000000000000000, 'user_id': None, 'slo_enabled': True, 'signature': 'W4I/fmDMB08cuI+hmVcbECUnI9Q=', 'string_to_sign': 'POST\n7PLl0xKn05CoVK290oNg2w==\n\nThu, 20 Jul 2017 08:28:28 GMT\n/mtttt/?delete', '_params_cache': {'delete': ''}, 'headers': <swift.common.swob.HeaderEnvironProxy object at 0x7f25d53eab50>, 'object_name': '', 'bucket_in_host': None, 'environ': {'HTTP_AUTHORIZATION': 'AWS demo:W4I/fmDMB08cuI+hmVcbECUnI9Q=', 'wsgi.multiprocess': False, 'SCRIPT_NAME': '', 'swift.proxy_access_log_made': True, 'REQUEST_METHOD': 'POST', 'swift3.auth_details': {'access_key': 'demo', 'check_signature': <bound method Request.check_signature of <swift3.request.Request object at 0x7f25d53d7650>>, 'string_to_sign': 'POST\n7PLl0xKn05CoVK290oNg2w==\n\nThu, 20 Jul 2017 08:28:28 GMT\n/mtttt/?delete', 'signature': 'W4I/fmDMB08cuI+hmVcbECUnI9Q='}, 'PATH_INFO': '/mtttt/', 'SERVER_PROTOCOL': 'HTTP/1.0', 'QUERY_STRING': 'delete=', 'CONTENT_LENGTH': '68', 'HTTP_USER_AGENT': 'Minio (darwin; amd64) minio-go/2.0.4 mc/2017-06-15T03:38:43Z', 'eventlet.posthooks': [], 'RAW_PATH_INFO': '/mtttt/', 'REMOTE_ADDR': '192.168.190.1', 'eventlet.input': <eventlet.wsgi.Input object at 0x7f25d53c2c90>, 'wsgi.url_scheme': 'http', 'HTTP_ETAG': 'ecf2e5d312a7d390a854adbdd28360db', 'SERVER_PORT': '80', 'headers_raw': (('Host', '192.168.190.25'), ('User-Agent', 'Minio (darwin; amd64) minio-go/2.0.4 mc/2017-06-15T03:38:43Z'), ('Content-Length', '68'), ('Authorization', 'AWS demo:W4I/fmDMB08cuI+hmVcbECUnI9Q='), ('Content-Md5', '7PLl0xKn05CoVK290oNg2w=='), ('Date', 'Thu, 20 Jul 2017 08:28:28 GMT'), ('Accept-Encoding', 'gzip')), 'swift.leave_relative_location': True, 'HTTP_DATE': 'Thu, 20 Jul 2017 08:28:28 GMT', 'HTTP_HOST': '192.168.190.25', 'wsgi.multithread': True, 'wsgi.input': <swift.common.utils.InputProxy object at 0x7f25d53d7850>, 'wsgi.version': (1, 0), 'SERVER_NAME': '192.168.190.25', 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'swift.cache': <swift.common.memcached.MemcacheRing object at 0x7f25d53806d0>, 'REMOTE_PORT': '57448', 'swift.trans_id': 'tx9c21f8be6a89492c9bdbd-00597069ac', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_CONTENT_MD5': '7PLl0xKn05CoVK290oNg2w==', 'CONTENT_TYPE': None, 'wsgi.errors': <swift.common.utils.LoggerFileObject object at 0x7f25d53ea110>}, 'token': None, 'container_name': 'mtttt'}
Jul 20 08:28:28 demo25 object-server: 192.168.190.25 - - [20/Jul/2017:08:28:28 +0000] "HEAD /d13/27130/AUTH_demo/mtttt/16mb" 200 477 "HEAD http://192.168.190.25/v1/AUTH_demo/mtttt/16mb" "tx9c21f8be6a89492c9bdbd-00597069ac" "proxy-server 27632" 0.0016 "-" 24710 0
Jul 20 08:28:28 demo25 proxy-server: - - 20/Jul/2017/08/28/28 HEAD /v1/AUTH_demo/mtttt/16mb HTTP/1.0 200 - Minio%20%28darwin%3B%20amd64%29%20minio-go/2.0.4%20mc/2017-06-15T03:38:43Z%20SLO%20MultipartGET demo%2Cs3 - 477 - tx9c21f8be6a89492c9bdbd-00597069ac Host:%20192.168.190.25%0AX-Auth-Token:%20demo%2Cs3%0AUser-Agent:%20Minio%20%28darwin%3B%20amd64%29%20minio-go/2.0.4%20mc/2017-06-15T03:38:43Z%20SLO%20MultipartGET%0AX-Trans-Id:%20tx9c21f8be6a89492c9bdbd-00597069ac%0AX-Backend-Storage-Policy-Index:%200 0.0118 SLO - 1500539308.495110035 1500539308.506942987 0
Jul 20 08:28:28 demo25 proxy-server: 192.168.190.1 192.168.190.1 20/Jul/2017/08/28/28 POST /mtttt/%3Fdelete%3D HTTP/1.0 200 - Minio%20%28darwin%3B%20amd64%29%20minio-go/2.0.4%20mc/2017-06-15T03:38:43Z - 68 102 ecf2e5d312a7d390a854adbdd28360db tx9c21f8be6a89492c9bdbd-00597069ac Authorization:%20AWS%20demo:W4I/fmDMB08cuI%2BhmVcbECUnI9Q%3D%0AUser-Agent:%20Minio%20%28darwin%3B%20amd64%29%20minio-go/2.0.4%20mc/2017-06-15T03:38:43Z%0AEtag:%20ecf2e5d312a7d390a854adbdd28360db%0ADate:%20Thu%2C%2020%20Jul%202017%2008:28:28%20GMT%0AHost:%20192.168.190.25%0AContent-Md5:%207PLl0xKn05CoVK290oNg2w%3D%3D%0AAccept-Encoding:%20gzip%0AContent-Length:%2068%0AContent-Type:%20None 0.0815 - - 1500539308.438900948 1500539308.520437002 -
Jul 20 08:28:28 demo21 container-server: 192.168.190.25 - - [20/Jul/2017:08:28:28 +0000] "HEAD /d2/26916/AUTH_demo/mtttt" 204 - "HEAD http://192.168.190.25/v1/AUTH_demo/mtttt" "tx9c21f8be6a89492c9bdbd-00597069ac" "proxy-server 27632" 0.0021 "-" 31704 0
Jul 20 08:28:28 demo21 object-server: 192.168.190.25 - - [20/Jul/2017:08:28:28 +0000] "GET /d0/27130/AUTH_demo/mtttt/16mb" 200 477 "GET http://192.168.190.25/v1/AUTH_demo/mtttt/16mb" "tx9c21f8be6a89492c9bdbd-00597069ac" "proxy-server 27632" 0.0008 "-" 32241 0

Revision history for this message
Charles Hsu (charles0126) wrote :

Swift version: 2.9.0
Swift3 version: 1.11

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.