Malformed CompleteMultipartUpload request can 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I was testing out some MPU workflows and got a bunch of 500s when I ran
aws s3api complete-
--upload-id $UPLOADID --multipart-upload "Parts=
Trouble was that I didn't have ETAG set, but that still should be better-handled:
Jun 11 19:48:48 saio proxy-server: object of type 'NoneType' has no len():
Traceback (most recent call last):
File "/vagrant/
resp = self.handle_
File "/vagrant/
res = handler(req)
File "/vagrant/
return func(self, req)
File "/vagrant/
return func(self, req)
File "/vagrant/
if len(etag) != 32 or any(c not in '0123456789abcdef'
TypeError: object of type 'NoneType' has no len() (txn: tx0c49744540444
Changed in swift: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/openstack /swift/ +/865348 /opendev. org/openstack/ swift/commit/ 4cba97d7b66d326 7a3e899ce332989 c897ae15a8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4cba97d7b66d326 7a3e899ce332989 c897ae15a8
Author: Ashwin Nair <email address hidden>
Date: Tue Nov 22 15:22:50 2022 -0800
Malformed CompleteMultipa rtUpload request should 400
Closes-Bug: #1883172 07c27bd175c5f56 c9b0bd04fe0
Change-Id: Ie44288976ac5a5