noobaa-core
noobaa-core copied to clipboard
Azure NS: We don't support MD5 calculation correct in multipart upload
Environment info
- NooBaa Version: master
Actual behavior
- 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!
- It seems we don't support the md5 calculation we return
const hex_etag = Buffer.from(block_id_base64, 'base64').toString('hex');
Expected behavior
- It should pass like with normal put (not multipart):
- 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
- use the above commands