noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

Azure NS: We don't support MD5 calculation correct in multipart upload

Open jackyalbo opened this issue 1 year ago • 0 comments

Environment info

  • NooBaa Version: master

Actual behavior

  1. trying to use s3cmd client with mutlipart in this way: s3cmd put oc.tar.gz -c ~/.cloud --no-check-certificate s3://blabla/ocx upload: 'oc.tar.gz' -> 's3://blabla/ocx' [part 1 of 4, 15MB] [1 of 1] 15728640 of 15728640 100% in 8s 1899.69 KB/s done WARNING: MD5 Sums don't match!
  2. It seems we don't support the md5 calculation we return const hex_etag = Buffer.from(block_id_base64, 'base64').toString('hex');

Expected behavior

  1. It should pass like with normal put (not multipart):
  2. s3cmd put oc.tar.gz -c ~/.cloud --no-check-certificate --disable-multipart s3://blabla/oc2 upload: 'oc.tar.gz' -> 's3://blabla/oc2' [1 of 1] 49726037 of 49726037 100% in 38s 1254.74 KB/s done

Steps to reproduce

  1. use the above commands

More information - Screenshots / Logs / Other output

jackyalbo avatar Jun 07 '23 12:06 jackyalbo