AWS s3: move to virtual style URI (also known as V2)

Description

AWS have announced that they no longer will support path-style (also known as V1) URI requests after 30th of September 2020, link to announcement:

https://forums.aws.amazon.com/ann.jspa?annID=6776

has confirmed that we indeed use path-style (also known as V1),

I checked this by running a deployment on a client and can confirm that we really use s3 v1 URI style (//s3.amazonaws.com/<bucketname>/key).

May 06 08:47:56 qemux86-64 mender[198]: time="2019-05-06T08:47:56Z" level=info msg="Correct request for getting image from: https://s3.amazonaws.com/hosted-mender-artifacts/5afc25ce73448800011b7004/57c7b84b-6559-4d75-a3a0-75a2fc5ebaa9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAJPM7F57C2TJCEZRA%2F20190506%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190506T084756Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-type=application%2Fvnd.mender-artifact&X-Amz-Signature=73ce3689a04f5eab6c7b393d6dc3b4063c4841f5fbf477f6499855a52f0465a8 [name: release-1_1.7.0; devices: [qemux86-64]]" module="client_update"

Affects versions

None

Environment

None

Checklist

Activity

Show:

eystein.maloy.stenbergMarch 23, 2020 at 5:08 PM

thumbs up

Fabio TranchitellaMarch 23, 2020 at 7:18 AM

We have to change true to false here: https://github.com/mendersoftware/deployments/blob/master/s3/filestorage.go#L84
If we are lucky and the tests pass, then we're done slightly smiling face

Let's be optimistic and set 2 SP.

eystein.maloy.stenbergMarch 17, 2020 at 5:22 PM

could you please share your thoughts on this, especially timing?

Alex MiliukovJanuary 22, 2020 at 6:34 PM

I have no idea, but to me it sounds like it should.

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Days in progress

0

Sprint

Backlog

yes

Zendesk Support

Checklist

Created May 6, 2019 at 10:44 AM
Updated June 29, 2020 at 6:32 PM
Resolved May 6, 2020 at 1:05 PM

Flag notifications