Cannot create a usable website bucket over s3 #742
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#742
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I make a bucket with
aws s3 mb
, it is assigned a local alias to my key, but the global name for the bucket is some long string. Specifically, when I runaws s3 mb s3://test-bucket
, and thenaws s3 website s3://test-bucket
, I can't accesshttps://test-bucket.blah.com
because the bucket I made is not namedtest-bucket
.This is an expected limitation of Garage in its current form. You should use an admin command to create a global alias with the same name for your bucket. Maybe in future versions we will allow CreateBucket to create global bucket aliases, but for now we do not allow it due to possible name conflicts that are not handled internally by Garage and could put the system in an inconsistent state.
Discussion is in #649