Cannot create a usable website bucket over s3 #742
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#742
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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