Skip to content

OpenStack Swift S3 campatible cache #5804

@shcherbak

Description

@shcherbak

Description

config example (works with Zot Registry, utilizing go sdk)

        "storageDriver": {
            "name": "s3",
            "region": "us-east-1",
            "bucket": "gitlab",
            "secure": false,
            "skipverify": true,
            "accesskey": "gitlab:gitlab",
            "secretkey": "REDACTED",
            "regionEndpoint": "http://127.0.0.1:8090",
            "encrypt": false,
            "v4auth": true,
            "forcepathstyle": true
        }

v4auth and forcepathstyle are mandatory for swift s3 support, but they can not be set

error is:

#4 ERROR: error writing manifest: REDACTED: operation error S3: PutObject, https response error StatusCode: 403, RequestID: txb2669c58fce04c8893d80-0067c5dc0c, HostID: txb2669c58fce04c8893d80-0067c5dc0c, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
------
 > exporting cache to Amazon S3:
------
ERROR: failed to solve: error writing manifest: REDACTED: operation error S3: PutObject, https response error StatusCode: 403, RequestID: txb2669c58fce04c8893d80-0067c5dc0c, HostID: txb2669c58fce04c8893d80-0067c5dc0c, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions