Repository: libcloud Updated Branches: refs/heads/trunk a47a51e14 -> dcb4cd998
V4 authenticaion and multipart_upload currently fails with "InvalidCreds" error. Disabled the upload using mutlipart uploads. Disabled upload_object_via_stream from using multipart uploads which allows V4 Auth uploads to complete. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/f4f284c1 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f4f284c1 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f4f284c1 Branch: refs/heads/trunk Commit: f4f284c1ca25711a81a3d366c759e6d048ede3aa Parents: 8abdc22 Author: Luke Morfitt <[email protected]> Authored: Mon Jul 11 13:46:22 2016 +0100 Committer: Anthony Shaw <[email protected]> Committed: Sat Jul 16 10:53:05 2016 +1000 ---------------------------------------------------------------------- libcloud/storage/drivers/s3.py | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/f4f284c1/libcloud/storage/drivers/s3.py ---------------------------------------------------------------------- diff --git a/libcloud/storage/drivers/s3.py b/libcloud/storage/drivers/s3.py index b5cf00c..169f704 100644 --- a/libcloud/storage/drivers/s3.py +++ b/libcloud/storage/drivers/s3.py @@ -961,6 +961,8 @@ class S3CNNorthStorageDriver(S3StorageDriver): connectionCls = S3CNNorthConnection ex_location_name = 'cn-north-1' region_name = 'cn-north-1' + # v4 auth and multipart_upload currently do not work. + supports_s3_multipart_upload = False class S3EUWestConnection(S3Connection): @@ -1016,6 +1018,8 @@ class S3APNE2StorageDriver(S3StorageDriver): connectionCls = S3APNE2Connection ex_location_name = 'ap-northeast-2' region_name = 'ap-northeast-2' + # v4 auth and multipart_upload currently do not work. + supports_s3_multipart_upload = False class S3SAEastConnection(S3Connection):
