Swift S3 API is not working

Bug #1805660 reported by Christian Schwede
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Christian Schwede

Bug Description

Despite using correct credentials, the S3 endpoint for Swift is not working and returns errors like this (in this case with s3cmd):

ERROR: S3 error: 403 (SignatureDoesNotMatch): The request signature we calculated does not match the
signature you provided. Check your key and signing method.

Turns out the internal endpoint in the configuration is not correct, it's missing the "v3" suffix at the end.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/620650

Changed in tripleo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/622296

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/620650
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=8980b5756d8ac9522de2bc689a0cba7a6631ff29
Submitter: Zuul
Branch: master

commit 8980b5756d8ac9522de2bc689a0cba7a6631ff29
Author: Christian Schwede <email address hidden>
Date: Wed Nov 28 17:14:25 2018 +0100

    Fix Swift S3 API configuration

    The endpoint must use the v3 suffix, otherwise authentication fails.

    Closes-Bug: 1805660
    Change-Id: I878abbeb9c0c2dc146692403b32002a4798f25f0

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/622296
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=bf4d94a28303098409626f2bdb08ce0cf98c2d5b
Submitter: Zuul
Branch: stable/rocky

commit bf4d94a28303098409626f2bdb08ce0cf98c2d5b
Author: Christian Schwede <email address hidden>
Date: Wed Nov 28 17:14:25 2018 +0100

    Fix Swift S3 API configuration

    The endpoint must use the v3 suffix, otherwise authentication fails.

    Closes-Bug: 1805660
    Change-Id: I878abbeb9c0c2dc146692403b32002a4798f25f0
    (cherry picked from commit 8980b5756d8ac9522de2bc689a0cba7a6631ff29)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.2.0

This issue was fixed in the openstack/tripleo-heat-templates 9.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.3.0

This issue was fixed in the openstack/tripleo-heat-templates 10.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.