OpenStack Swift S3 campatible cache
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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