moby / moby/buildkit

OpenStack Swift S3 campatible cache

Open
#5,804 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/question
Dominant language
Go
Stars
10.3k
Forks
1.5k
Avg merge
1d 23h
Merged PRs (30d)
48

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the S3 cache/export configuration and its AWS SDK setup; the issue names no file or test. Compare the shown required v4auth and forcepathstyle settings with the current options, then verify that Swift-compatible S3 cache export no longer produces the reported SignatureDoesNotMatch error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.