libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (LIBCLOUD-833) China s3 requires V4 authentication
Date Mon, 11 Jul 2016 13:00:13 GMT


ASF GitHub Bot commented on LIBCLOUD-833:

GitHub user lmorfitt opened a pull request:

    [LIBCLOUD-833] and [LIBCLOUD-834](workaround)

    ## Changes Title (replace this with a logical title for your changes)
    ### Description
    [LIBCLOUD-833] - The AWS China region requires V4 authentication. Set the auth version
to v4 allowing the region to function.
     [LIBCLOUD-834](workaround) - With V4 auth enabled the upload_via_stream function does
not work and fails with an "InvalidCreds" error. This work around disables the supports_s3_multipart_upload
section allow files to be uploaded to V4 regions.
    For more information on contributing, please see [Contributing](
    section of our documentation.
    ### Status
    Replace this: describe the PR status. Examples:
    -  ready for review
    ### Checklist (tick everything that applies)
    - [X] [Code linting](
(required, can be done after the PR checks)
    - [ ] Documentation
    - [ ] [Tests](
    - [ ] [ICLA](
(required for bigger changes)

You can merge this pull request into a Git repository by running:

    $ git pull trunk

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #839
commit ee0914d4cc5727542168eccc30cab5ce1204e9f7
Author: Luke Morfitt <lukemorfitt@lukes-macbook-pro.local>
Date:   2016-07-11T12:43:04Z

    China requrest v4 authentication

commit 62d0c4b824af8f47e872bf25570d5fd308c6d801
Author: Luke Morfitt <lukemorfitt@lukes-macbook-pro.local>
Date:   2016-07-11T12:46:22Z

    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.


> China s3 requires V4 authentication
> -----------------------------------
>                 Key: LIBCLOUD-833
>                 URL:
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Storage
>         Environment: Production
>            Reporter: Luke Morfitt
>            Priority: Blocker
> Versions 1.1.0
> The china region requires v4 authentication in order to function as v2 is not supported
in the region.
> This is currently blocking us from using libcloud with the AWS China region.

This message was sent by Atlassian JIRA

View raw message